• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Thanks! but I not understand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thanks! but I not understand


  • Subject: Re: Thanks! but I not understand
  • From: Paul Skinner <email@hidden>
  • Date: Fri, 7 Jun 2002 14:17:38 -0400

Ok.

In PhotoShop make a new file.

Get a painting tool and make a bunch of dots. This ensures that you have many history states to choose from.

In the'Actions' palette, click the circle (record button) to record a new action. Name it 'History State -1'. It will start to record your actions.

In the History palette, choose the previous history state.

Stop the action from recording.

Look at your action palette.

It will contain a new action. it should be named 'History State -1'.

The action should contain 1one command. 'Select History State -1'

In your script. When you want to go back by one in the history palette, just use the code...

tell application "Photoshop"
do script "History State -1"
end

This will make PS step back one history state. You could call it multiple times to step back two or three states. You could also make other actions for stepping back two or more states.

Was that better?

On Friday, June 7, 2002, at 11:53 AM, chung chung wrote:

To :Paul Skinner

Thanks your solution, but I not understand "Make a folder of action" meaning.
Have I need create the folder at the finder and save every change to here,
and the applescript source code add the do script "history state -4" sorry, I'm understand it.

Please email to :email@hidden

Thanks!

PhotoScripter doesn't support the history states at all. Make an action that goes back the number of history states that you want and call that. You might just want to make a folder of actions with go back one, go back two etc. up to maybe -10 and then you can call the appropriate one.
do script "history state -4"
--
Paul Skinner
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Thanks! but I not understand (From: "chung chung" <email@hidden>)

  • Prev by Date: Re: hmmm... did I ask too many questions?
  • Next by Date: Thanks! PhotoScripter!
  • Previous by thread: Thanks! but I not understand
  • Next by thread: Thanks! PhotoScripter!
  • Index(es):
    • Date
    • Thread