Hi
I have a script which has worked!?!? but now throws an error in the resize canvas command. Nothing else has changed!?
tell application "Adobe Photoshop CS3"
set ruler units of settings to pixel units
set type units of settings to pixel units
create contact sheet from files thesefiles with options {class:contact sheet options, resolution:200.0, height:1000, width:1400, column count:3, row count:2, font size:10, flatten final:true}
resize canvas current document width 1540 height 1100
resize image current document width 1400 height 1000
end tell
Can any one see why this script is flakey?
Regards
I had the same probleme, try this:
tell application "Adobe Photoshop CS3"
set ruler units of settings to pixel units
set type units of settings to pixel units
create contact sheet from files thesefiles with options {class:contact sheet options, resolution:200, height:1000, width:1400, column count:3, row count:2, font size:10, flatten final:true}
tell current document
resize canvas width 1540 height 1100
resize image width 1400 height 1000
end tell
Thanks
But I got round it with creating an action in CS4 and calling it with applescript
tell application "Adobe Photoshop CS4"
set ruler units of settings to pixel units
set type units of settings to pixel units
do action "contact sheet" from "Script Actions"
resize canvas current document width 1540 height 1100
resize image current document width 1400 height 1000
BLAH BLAH BLAH
end tell