Skip to main content
Known Participant
May 12, 2014
Question

Open File in Photoshop CC with AppleScript

  • May 12, 2014
  • 2 replies
  • 1507 views

Hi,

I'm unable to open an file vial AS in PS CC.

Also the example in the Refeference:

"tell application "Adobe Photoshop CC"

set myFilePath to alias "...."

open myFilePath as Camera RAW with options ¬

{class:Camera RAW open options, bits per channel:eight, ¬

color noise reduction:20, temperature:4200, white balance:cloudy

end tell"

doesn't work.

Any tipps what to do. Is AS in PS CC broken?

Thank'S

Ishan

This topic has been closed for replies.

2 replies

Inspiring
May 12, 2014

Since CS5 Photoshop has been fussy over Finder's File Alias… Try change your myFilePath variable to a string…

Known Participant
May 13, 2014

Muppet Mark wrote:

Since CS5 Photoshop has been fussy over Finder's File Alias… Try change your myFilePath variable to a string…

Interesting. Thank's for your hint.

The code is 1:1 from the Adobe AS reference! I used a string definition without success. But I give it a next try. I'm a newbee.

c.pfaffenbichler
Community Expert
Community Expert
May 12, 2014

Could you work with JavaScript instead?

AppleScript is not particularly popular for Photoshop automation.

In any case the code you posted does not seem to contain a file path.

Known Participant
May 13, 2014

c.pfaffenbichler wrote:

Could you work with JavaScript instead?

AppleScript is not particularly popular for Photoshop automation.

In any case the code you posted does not seem to contain a file path.