Go Back   RetouchPRO > Tools > Software > Photoshop Scripting
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read

Photoshop Scripting Learning and sharing for all platforms

rules of third script or action?

Thread Tools
Old 02-15-2005, 02:11 AM
Lasse Lasse is offline
Join Date: Dec 2004
Location: Europe
Posts: 54
rules of third script or action?

Is it posible to make an action that positions the layercontent within a selection by the rules of third?
Like if i write some text and then makes a custom selection that i whants the rule of thirds to be used within. Making guidelines dosent work since they are positioned after the hole paper size.
Can this be done in some clever way in eather an action or script and if its going to be a script is there anyone out there with the time and skill that would like to give it a try?

Reply With Quote top
Old 02-15-2005, 02:18 AM
Lasse Lasse is offline
Join Date: Dec 2004
Location: Europe
Posts: 54
It could might be done by making a transform of the selection that the user have made before runing the script/action and then use the arow to position it acording to the selection.
I think it needs to be a script since i cant get an action to record the positioning.

Reply With Quote top
Old 08-17-2005, 08:38 PM
Klaatu Baradda's Avatar
Klaatu Baradda Klaatu Baradda is offline
Join Date: Jul 2005
Location: Recently moved to a condo on Omicron Persii 8
Posts: 44
What A Great Idea!!!

Originally Posted by Lasse
Is it posible to make an action that positions the layercontent within a selection by the rules of third?
Greetings Lasse,
It seems that no one in all this time had an answer for your question and perhaps you solved it on your own already. However, if you haven't then Good News! The simple answer to your question is, "YES!"

However, each of the 4 positions of the Rule of Thirds will have to be a separate Action. Certainly, this can be made more sophisticated through a Script but the Actions work well enough on their own (especially in Button Mode).

You're right about using the Transform Selection function. However, you will also need to Insert Menu Item(s) from the Actions flyout menu.

Here's how to create one for the Upper Left position:

1) Make your selection (over your layer object)
2) Go to Select>Transform Selection...
3) In the Options Bar on the left, click on the Reference Point Location (the small grid of squares) in the Upper Left Corner to anchor your transformation from here.
4) In the Width box enter 66.666% and do the same for the Height box then press Enter twice.
5) Now, go to Layer>Arrange Layers To Selection and choose Vertical Centers and then go here again and choose Horizontal Centers. These two commands will need to be the Insert Menu Item(s) for your Action (two steps).

If you want to finesse your Action so that your original selection remains after the Action is finished, start by making an Alpha Channel of the selection FIRST, then as the last 2 steps, make the Alpha Channel a selection and delete the channel (this way the original selection stays if you want to do anything else with it, like run another Action that moves it to a different position).

The other Rule of Thirds positions are simply copies of this Action with the Transform Selection choosing a different Reference Point Location corner.

This was a great idea! We had fun trying to figure out how to accomplish this. Hope it's still useful to you.
Reply With Quote top

  RetouchPRO > Tools > Software > Photoshop Scripting

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Actions skydog Software 9 03-29-2007 02:42 PM
CS 2 Action Script extrememc Photoshop Help 1 08-03-2006 02:30 AM
Action or script to save 2 output files bouloss Photoshop Scripting 1 05-13-2006 09:51 PM
A gratitude post for a great action script RalphBenmurgia Photo-Based Art 3 02-20-2005 02:43 PM
Script or action for 50% guides Doug Nelson Photoshop Scripting 11 01-04-2005 10:56 PM

All times are GMT -6. The time now is 06:33 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved