Changes to Photoshop CS5 and Applescript

Looks like there are some major Applescript changes to CS5, which is unwelcome for anyone with existing scripts. From what I can see, the difference (that affect me anyway) are
a) PSCS5 seems to dislike referring to files with "as alias" and removing this from my scripts helps them to work, whereas other apps need it, as did previous
b) apparently script support for referring to the currently document has changed. "if visible layer of current document is true then..." no longer works, nor do document 0, document 1, etc. Anyone know how to refer to the current document?
c) support for history doesn't seem to be there anymore. I cannot seem to use AS commands like, "set myState to history states as list" or "set current history state to history state newState" were awesome for my workflow, but are they impossible to achieve now?
d) One more. The important "set docref to make new document with properties {height: 150, width: 150}" is also broken. How would one make a new document in Applescript?
I'd appreciate any help you could give me in updating my scripts

I just found the AppleScript documentation in /Applications/Adobe Photoshop CS5/Scripting/Documents/. But I don't think it's even accurate. Here's a very simple sample they give:
tell application "Adobe Photoshop CS5"
     filter current layer of the current document using lens blur with options {class:lens blur, radius:13}
end tell
If I enter this in AppleScript Editor and try to compile it, it selects the word "current" and tells me "Expected end of line but found identifier." It doesn't even recognize "filter" as a command. If I just change that 5 to a 4, it works fine in CS4.
Here's one way to run a JavaScript file from AppleScript:
tell application "Adobe Photoshop CS5" to open file "Path:to:file.jsx"
Of course there's no way to pass any arguments this way, so that greatly limits its usefulness. But perhaps this will be helpful to some people. I'm assuming the JavaScript stuff all works fine, as that seems to be their focus these days.
The really strange thing is that certain things seem to work fine in AppleScripts that are already compiled (using CS4). But if I try to re-save those scripts with CS5 installed, I get errors.

Similar Messages

  • Crashes with Photoshop CS5 and Pages, Numbers etc and OS 10.6.4

    Has anyone found a solution to the crash that happens with using Photoshop CS5 and 10.6.4 Snow Leopard. I just bought a Macbook Pro --changed from a PC and have problems with CS5 and Pages, Numbers crash all the time. So far I am not impressed with the MAC

    Thank you, Todd.
    Actually, just found the answer here: http://forums.adobe.com/thread/638307
    I don't know why I didn't think of trashing the preferences, but it worked.
    (For those looking for how to trash prefs, just go to Users/XXXYOUR_LOGIN_NAMEXXX/Library
    /Preferences/Adobe/After Effects/10.0/  and delete the file there (or rename if you'd rather) AE will rebuild it on startup.)

  • Nvidia Quadro 600, GeForce GTX 560 Ti or cheaper for Photoshop CS5 and Lightroom 3?

    Hello,
    I am a professional photographer and I am setting up a new PC (i7, Windows 7 64bit). But I have some troubles to choose the graphic card.
    I use Lightroom and Photoshop CS5 3, no video editing.
    Between the Open GL, Open CL, CUDA accelerations etc ... professional graphic cards models and consumer ones I am lost!
    The Nvidia GeForce GTX 560 Ti seems more powerful and more versatile but I tell myself that if Nvidia has professional range there must be a reason.
    So in Photoshop CS5 and Lightroom 3 what would be the best: GeForce GTX 560 Ti or Nvidia Quadro 600?
    http://www.geforce.com/Hardware/GPUs/geforce-gtx-560ti/specifications
    http://www.nvidia.com/object/product-quadro-600-us.html
    Any reason to get a Quadro 2000?
    http://www.nvidia.com/object/product-quadro-2000-us.html
    Or the graphic card doesn’t matter much and I should take an entry-level GeForce to enjoy the HDMI and the silence? Which one then?
    Does the Quadro 600 manages 10bits display 10bits? And the Geforce?
    Any change announced with Photoshop CS6 and Ligthroom4?
    The only 3D application I use is Google Earth in 3D mode, does it make any difference?
    Thank you for your help.

    You say "no video editing"...  If that's going to be the case, and you won't use the Mercury engine in the Adobe Premiere Pro package, which needs the nVidia Cuda subsystem, then I recommend you consider the ATI brand over nVidia.
    Why?
    Because while neither brand's developers (ATI or nVidia) always release perfect drivers, I find ATI display drivers to be of consistently higher quality than that of nVidia releases.  What this means to you is generally fewer crashes or quirks.  ATI has also traditionally supported older cards into the future better than nVidia - this might matter to you in a few years.
    People ask me what video card I would recommend, and right now that would be a VisionTek ATI Radeon HD 6670 1 GB GDDR5 card.  I like this particular card because:
    I've had 100% success with VisionTek cards in a number of different systems, not only initially but they have all run as long as I have used them, without ever breaking down.
    The 6670 model uses very little power (under 70 watts) and as such doesn't stress your computer's power supply, need a separate power connection, nor make a lot of fan noise. 
    It's not the fastest card made for 3D gaming, but it's inexpensive and excellent for Photoshop.  No matter what you choose, you should get a card that scores over 500 on the Passmark GPU benchmark, ideally over 1000:  http://www.videocardbenchmark.net/
    The ATI Catalyst display driver implementations for the 4670/5670/6670 line of cards have been good and solid.
    1 GB of on-card memory seems to be a good size, even for editing a lot of images, and GDDR5 memory provides faster access than DDR3.
    You should know that besides using Photoshop heavily, I also develop OpenGL-based software as well, so I have some additional insight into driver implementations.
    -Noel

  • HI, I just bought Photoshop CS5 and I have a problem with HDR pro

    HI, I just bought Photoshop CS5 and I have a problem with HDR pro . when I am trying to mount 3 images together it act in a strange way ( the images appear and disappear many times) then when the window with the result appear and I say ok it open up in photoshop as a single image ( in the layers there is just 1 photo) and when I am trying to work it up with the Plug in/filter HDR Effex Pro (Nik softwear) a pop up window appear saying that the file is missing and the operation it is not possible. Why and what is happening ? Someone can help me ?

    This is normal operation. The output from HDR pro does not produce a layered file. You make all your adjustments in the Nik Plug-in. Once Nik has finished you then make any rinal changes in Photoshop. Trying to use NIK again on the image in Photoshop is not the way to do this.
    When HDR pro comes up do you see all the presets and controls? Presets on the left and controls on the right
    MK

  • I have Photoshop CS5 and am trying to download the Camera Raw plug in which will enable me to look at RAW images from a Nikon D800 . The download appears in my " Downloads " folder but when I try to open a RAW image I get a message up which says it can't

    I have Photoshop CS5 and am trying to download the Camera Raw Plug in that will allow me to open images taken with a D800 camera .
    It appears the download has been successful when I look in my " Downloads " Folder but I still get a message up saying the installed version of Camera RAW won't support the Camera model ( i.e. D800 ) . What am I missing ??
    Tony Fletcher

    You need to download and install Camera Raw 6.7.1 for CS5. Once you have downloaded it, you need to install it while CS5 is closed.
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Camera Raw 6.7.1 Update
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Camera Raw 6.7.1 Update
    Once downloaded, unzip/unpack the file, and run the executable to start the update, following the instructions.

  • I have Photoshop CS5, and use windows XP.  I cannot open Bridge from photoshop, whichI have done for years. When I am in Photoshop,when it opens, I always click on the bridge icon at the bottom of the screen, and it puts me into bridge. This is not happen

    I have Photoshop CS5, and use windows XP. I cannot open bridge from photoshop, which I have done for years.  When I am in Photoshop, when it opens, I always click on the bridge icon at the bottom of the screen and it puts me into bridge. This is not happening, the small wheel at the bottom of the screen just keeps spinning. Its like its stuck or caught in a loop. I can't get into bridge. I tried shutting down and starting up again but  the problem remains. Looking for help.  Dan

    Thanks for your response, I was able to open bridge from File-Browse in Bridge.  This worked, but was not able to go back to the way I always opened Bridge.  At least I could get to Bridge and go into Camera Raw. I never tried to open Bridge from the Start menu.  The odd thing about this is, it has happened before, and to get it "unstuck" and working again, I would shut down and restart again in a few minutes, and things would go back to normal.  This time it did not go back to normal after several attempts.  I shut down for about 3-4 hours, restarted, and it seems to be back to normal again. I am not sure if it's a problem that is getting worse each time it happens.       And yes I am using Mini Bridge in photoshop CS5.  Thank you for your help.  Dan

  • I'm using Photoshop CS5 and there is no PNG listed under format in save as.

    I'm using Photoshop CS5 and there is no PNG listed under format in save as.    

    PNG files can only be RGB - they are intended for screen viewing. If your intention is to produce a CMYK file for printing, you must use a different format, like tiff.

  • My student has been using Lightroom 4 with Photoshop CS5 on her Mac for well over a year. Because of the difference between the Camera raw version available to her in Photoshop CS5 and the raw process in Lightroom 4, she has been exporting her raw images

    Any ideas?

    My student has been using Lightroom 4 with Photoshop CS5 on her Mac for well over a year. Because of the difference between the Camera raw version available to her in Photoshop CS5 and the raw process in Lightroom 4, she has been exporting her raw images from Lightroom and choosing the "Render using Lightroom option when it popped up in the dialogue box. She has been doing this for over a year and a half without any problem. Today when she hit Command E no dialogue box appeared and the image just opened in Photoshop. I'm concerned that all of her Lightroom edits are not being rendered to Photoshop. Anyone have an idea as to how we can get the "Render using Lightroom" dialogue back?

  • I redownloaded my Photoshop CS5 and Camera Raw will not accept my RAW files nor will the Adobe Bridge display the picture view of these files. A message displays saying it doesn't support this camera.  I have a Nikon 5100 DSLR Camera.  It always displayed

    I redownloaded my Photoshop CS5 and Camera Raw will not accept my RAW files nor will the Adobe Bridge display the picture view of these files. A message displays saying it doesn't support this camera.  I have a Nikon 5100 DSLR Camera.  It always displayed them in the past.  How can I get it to display these photos in Bridge and open them in RAW?

    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Camera Raw 6.7 Update
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Camera Raw 6.7 Update
    Benjamin

  • I have Photoshop CS5 and my image processor and batch tool are gone. How do I get them back?

    I have Photoshop CS5 and my image processor and batch tool are gone. How do I get them back?
    I went into edit preference and all the start up scrips are selected so what else is there?

    When you installed CS5, you have a chance to register it. If you do, your serial number is on file under your Adobe (My Products). If you did not, you have no serial number on file and even worse, no proof you own it.
    You do not have your serial number copied down anywhere? Hard to believe you tossed the dvd box and all the documents away.
    So Help > Register might give you a chance to do this without you knowing the number.
    If not, you may want to consider the Photography Plan. Creative Cloud Photography plan | Adobe Creative Cloud

  • I have Photoshop CS5 and a Nikon D 810 camera.  I have downloaded Camera Raw 8.8 & DNG converter.  I can neither open the raw files (.nef), nor process them with the DNG converter. What is going wrong?

    I have Photoshop CS5 and a Nikon D 810 camera.  I have downloaded Camera Raw 8.8 & DNG converter.  I can neither open the raw files (.nef), nor process them with the DNG converter. What is going wrong?  Thanks!

    This is the last paragraph from my very first response to you, post #1 in this thread:
    …Additionally, you need to install the DNG Converter, not just "download" it, and you need to launch it and run it on each folder of NEFs you wish to convert to raw DNGs.  [emphasis added]

  • Adobe Photoshop CS5 and Epson wf 35-20 version 9.04. Photoshop quits. OS 10.9.3.

    Running Adobe Photoshop CS5 and when I try and print using Epson wf 35-20 version 9.04, Photoshop quits.  Have OS 10.9.3.  Any advice sincerely appreciated....

    Hi Chris thanks for emailing. I originally emailed Epson about this issue and they said it is something you should contact Adobe about!
    When I hit print, the colour wheel turns and then the application quits.   then get the following:
    Problem Report for Photoshop
    Click Reopen to open the application again.  This report will be sent to Apple automatically
    I open the comments tab and it says in faded grey:  Provide any steps necessary to reproduce the problem.
    The details say the following:
    Process:         Adobe Photoshop CS5
    Path:            /Applications/Adobe Photoshop CS5/Adobe Photoshop CS5.app/Contents/MacOS/Adobe Photoshop CS5
    Identifier:      com.adobe.Photoshop
    Version:         12.0 (12.0x20100407.r.1103] [12.0)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd
    Responsible:     Adobe Photoshop CS5
    User ID:         501

  • Cannot open camera RAW images from Sony DSC-RX100M3 camera.  Working on a Mac in Photoshop CS5 and have camera raw 6.7.

    Cannot open camera RAW images from Sony DSC-RX100M3 camera.  Working on a Mac with Photoshop CS5 and Camera Raw 6.7?

    Bruce,
    When I made the transition to digital some 8 years ago, I had tremendous help from a number of well documented websites, among which:
    http://www.luminous-landscape.com
    I think a lot of stuff there to get you seriously going. Another one is:
    http://www.computer-darkroom.com
    I sold all my film based stuff, except a Nikon F3 and a handful of lenses and a Paterson developing tank.
    The Nikon suspiciously smells like foam mirror damping strips chemically decaying.
    I sold my enlarger over the internet. The word "enlarger" caused me to be on SpamCops blacklist for a while.
    I'm in this since the seventies, and I think you'll be as amazed as I was at the possibilities and control you have. And no more bags with $300 worth of film that's consumed in one shoot.
    Jump in both feet! you won't be sorry. And these forums are the best help you can get.
    Good luck,
    Rob

  • Raw images in Photoshop CS5 and download of 7.3 plug-in

    I am unable to open my Raw images from a Nikon D600 using CS 5. Also unable to download the 7.3 raw plug-in. Help wou;l be greatly appreciated. Thanks

    Thanks, i will upgrade to CS6, make life easier!
    Date: Wed, 5 Dec 2012 11:33:29 -0700
    From: [email protected]
    To: [email protected]
    Subject: Raw images in Photoshop CS5 and download of 7.3 plug-in
        Re: Raw images in Photoshop CS5 and download of 7.3 plug-in
        created by John Waller in Downloading, Installing, Setting Up - View the full discussion
    Camera Raw 7+ is only compatible with Photoshop CS6+ CS5's compatibility stopped with Raw 6.7 http://helpx.adobe.com/x-productkb/global/camera-raw-compatible-applic ations.html If you don't upgrade Photoshop, your next best option is to convert your D600 Raw files to DNG and work on the DNGshttp://www.adobe.com/products/photoshop/extend.displayTab2.htmlhttp://www.adobe.com/suppor t/downloads/detail.jsp?ftpID=5486
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4898876#4898876
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4898876#4898876
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4898876#4898876. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I have Photoshop CS5 and a Epson 3880 . The print setting dialogue box won't open when selecting color output PRINTER MANAGES COLORS

    I have Photoshop CS5 and a Epson 3880 . The print setting dialogue box won't open when selecting color output PRINTER MANAGES COLORS
    It does ope when selecting PHOTOSHOP MANAGES COLOURS . This is first time in 7 year this has happened.
    Any one with ideas/

    What is your screen resolution?
    What operating system?

Maybe you are looking for