Re: Scripting Adobe PhotoShop CS5
Re: Scripting Adobe PhotoShop CS5
- Subject: Re: Scripting Adobe PhotoShop CS5
- From: William Adams <email@hidden>
- Date: Wed, 10 Nov 2010 15:03:20 -0500
I wrote:
> Is anyone having any luck with this?
>
> I'm trying a very basic script:
>
> tell application "Adobe Photoshop CS5"
> set this_image to current document
> tell this_image
> resize image width 600 height 776 resolution 150 resample method bicubic
> end tell
> end tell
>
> and get a bogus warning about being out of swap space:
>
> error "Adobe Photoshop CS5 got an error: General Photoshop error occurred. This functionality may not be available in this version of Photoshop.
> - Could not complete the command because the scratch disks are full." number 8800
>
> Is it something I'm doing wrong, or has scripting PhotoShop been broken?
It turns out that image width and height is in inches by default.... anyone have an example of how to use other measurements?
Or how to get the path to the current document in PhotoShop?
William
--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.
_______________________________________________
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