history state with PhotScripter error
history state with PhotScripter error
- Subject: history state with PhotScripter error
- From: "chung chung" <email@hidden>
- Date: Fri, 07 Jun 2002 06:16:24 +0000
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!G
http://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.