Re: Photoshop errors caused by "timeout"
Re: Photoshop errors caused by "timeout"
- Subject: Re: Photoshop errors caused by "timeout"
- From: Stan Cleveland <email@hidden>
- Date: Mon, 11 Mar 2013 15:30:32 -0700
On Mar 11, 2013, at 2:51 PM, Shane Stanley wrote:
> It's a long shot, but maybe the latter [delay command] was involved somehow. Easy enough to test...
Hi Shane,
Actually, it's not so easy to test. The problem was always intermittent. And, after simplifying the code to just the save commands with the 'delay' and/or 'with timeout' commands, it refuses to error.
tell application "Adobe Photoshop CS5"
tell current document
delay 1
with timeout of 300 seconds
save in file filePath as TIFF with options {class:TIFF save options, byte order:IBM PC, embed color profile:true, image compression:LZW, interleave channels:true, layer compression:RLE, save alpha channels:false, save annotations:false, save image pyramid:false, save layers:true, save spot colors:false, transparency:true} with copying
end timeout
end tell
end tell
So I'm left with the possibility that the problem occurs only when preceded with some as-yet-undetermined Photoshop operation (and there are many being used). And then, only sometimes. I'll have to hold off investigating further until work slows down a bit.
Thanks,
Stan C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden