Re: history state with PhotScripter error
Re: history state with PhotScripter error
- Subject: Re: history state with PhotScripter error
- From: Paul Skinner <email@hidden>
- Date: Fri, 7 Jun 2002 06:38:28 -0400
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"
On Friday, June 7, 2002, at 02:16 AM, chung chung wrote:
I'm using the PhotoScripter extension v1.0.2 with PhotoShop 5.0.
I want to write the Automatic application with AppleScript.
Please email : email@hidden
My Source is :
01. tell application "PhotoShop5.0"
02. activate
03. adjust the current document changing 04. the image
size to {height:3000 as pixels,
05. constraining proportions:true, interpolation
method:bicubic}
06.
07. adjust current document changing 08. canvas size to
{width:1600 as pixels, vertical location:center}
09.
10. adjust current document changing 11. canvas size to
{height:1180 as pixels, vertical location:top}
12. 13. adjust the current document changing 14. the
image size to {height:707 as pixels, width:505 as pixels,
15. cnstraining proportions:false, interpolation
method:bicubic}
16.
17. select history state -2 of the current document
18. 19. adjust current document changing 20. canvas size
to {height:1180 as pixels, vertical location:bottom}
21. 22.
23. end tell
Runtime and an error at Line 17
Adobe Photoshop 5.0 got an error: Can't get history state -2 of current
document.
Question :
1. I prefer the line 22 process can be back to history line 07. Why
doesn't appear an error!
2. How to fix it?
Thanks!
_________________________________________________________________
(O%N%~2y3L&h$H(O%N*:9q$l6l%s*A0H MSN Hotmail!Ghttp://www.hotmail.com
_______________________________________________
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.
--
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.