Help getting a Photoshop CS4 script to work with PS CS5?

I don't know AppleScript, but have a script for Photoshop CS4 that saves to the currently open image as a .png file on the desktop
try
tell application "Adobe Photoshop CS4"
activate
--get the current document name
set myDoc to the current document
set currentName to name of myDoc
--remove .psd extension
set docBaseName to (items 1 thru ((length of currentName) - 4) of currentName) as string
--write the temporary file
set theFile to "~/Desktop/" & docBaseName & ".png"
--save the temp document
save myDoc in theFile as PNG with options {class:PNG save options} appending lowercase extension with copying
end tell
end try
Now that Photoshop CS5 is out I tried changing the script above from
+tell application "Adobe Photoshop CS5"+
to
+tell application "Adobe Photoshop CS5"+
But this doesn't work. Is there any way of changing it to get it to work with Photoshop CS5?

Not able to help but I have seen problems posted with CS5 & AppleScript already at Adobe's forums…
See link:
http://forums.adobe.com/thread/632681?tstart=0

Similar Messages

  • Need help getting my LaserJet 3390 scanner to work with my (iMac) Apple OS X version 10.9.4

    About two months ago i kept getting a message that my printer was not connected. When I got that fixed my scanner no longer worked and I haven't been able to find the settings to make it work. This is an excellent printer, in fine condition. Can someone please help?

    Hello dcguy,
    Welcome to the HP Support Forums!
    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial LaserJet Forums.
    The support page for your product may be helpful in the meantime: HP LaserJet 3390 All-in-One Printer
    I hope this helps!
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • How do I get an epson scanner 1680 to work with photoshop cs4 on an iMac running 10.7.5?

    How do I get an epson scanner 1680 to work with photoshop cs4 on an iMac running 10.7.5?

    I've tried updating with the USB cord, updating wirelessly, downloading the drivers manually, installing them manually and every concieveable combination of the above. This is getting extremely frustrating and i'm ready to toss this macbook into a wall.
    TLDR;
    This is my first experience with a macbook and so far i'm finding the whole experience extremely difficult and disapointing. I felt that because of the hype, that macs were top of the line but i'm seriously considering ditching the mac and heading back to pc if this issue can't be resolved.

  • My Photoshop CS4 has stopped working - Error 148:3 (Licensing has stopped working).....help!

    My Photoshop CS4 has stopped working - Error 148:3 (Licensing has stopped working).....help please?
    I've not changed anything since the last time I used it but it's just refusing to work.

    Ed,
    It seems that there might be some gremlin in the licensing module. The PS CS4 board has several similar instances. I do not know exactly what the problem is, but this should be an easy reset by Adobe. It has worked for the PS users and requires one free telephone call. I am with Harm on this. I doubt that many, if any, users can be of much help. The installation issues *used* to be simple and quick, but I have not had to make that call, since Illustrator 3. Have your S/N handy. If you purchased from the Adobe Store, a receipt # might come in handy too. Once your product has been verified, you'll probably be asked to enter a key, and away you go.
    Good luck,
    Hunt

  • Adobe Photoshop CS4 has Stopped Working on Windows 7

    Hey guys and girls. I recently got a new computer running Windows 7 64bit. I still have good ol photoshop cs4 and wanted to use it on this new computer. The install process was completed and as I started the program, I get the "Adobe Photoshop CS4 has stopped working" box. I've looked through some forums, and a lot of them mention the wacom tablet issue, which is not the issue since I've yet to install the drivers for my tablet. Has anyone come across this problem at all? This is what shows up when I get that error box.
    C:\Users\Administrator\AppData\Local\Temp\WERCA9F.tmp.WERInternalMetadata.xml
      C:\Users\Administrator\AppData\Local\Temp\WERE1B8.tmp.appcompat.txt
      C:\Users\Administrator\AppData\Local\Temp\WERE246.tmp.mdmp
    Please help, thanks in advance

    The first thing that I would do is insure that you have the latest video driver installed (but do keep any older ones, just in case you must roll-back - newest is not always the best).
    If that does not help, then open Even Viewer, and check for all warning, or error messages in System and Application tabs, for the time that PS crashed. If you find any with links, follow those links - be patient, as some might take a few moments to send data to MS, and then for MS to process it, to open the proper page for that link plus the data gathered. This ARTICLE goes into a bit more detail, and I do not think that it is too Adobe Premiere-centric.
    Good luck,
    Hunt

  • "Adobe Photoshop CS4 has stopped working" error in Win7?

    Hi All,
    I’m getting the following error message when ever I try to use the Phtoshop and the program gets close.
    “Adobe Photoshop CS4 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available”
    Please see the following error event.
    Problem signature:
      Problem Event Name             :APPCRASH
      Application Name                  :Photoshop.exe
      Application Version               :11.0.0.0
      Application Timestamp         :48d3882e
      Fault Module Name              :KERNELBASE.dll
      Fault Module Version           :6.1.7601.17651
      Fault Module Timestamp     :4e211319
      Exception Code                    :c00000fd
      Exception Offset                   :0000e49d
      OS Version:                            :6.1.7601.2.1.0.768.3
      Locale ID:                                 :1057
    Please advise what is the problem..?
    my notebook spesification :
    Cpu intel core i5 3210m.
    Memory 4GB.
    OS Windows 7 home premium 64 bit ( 6.1 build 7610 ).
    Vga NVIDIA GeForce GT 630M 2GB.
    please help, thank you...

    Run the Creative Suite Cleaner Tool, reinstall the program. Make sure to run it with sufficient user privileges.
    Mylenium

  • Photoshop CS4 has stopped working--importing video frames to layers

    Whenever I get the part of the video selected that I want and hit okay I get a message saying:
    "Adobe Photoshop CS4 has stopped working"
    How can I fix this?
    Thanks

    Also, you can make sure your system is 64 bit capable by:
       Open Performance Information and Tools by clicking the Start button , clicking Control Panel, clicking System and Maintenance, and then clicking Performance Information and Tools. 
    Click View and print details. 
    In the System section, you can see what type of operating system you're currently running under System type. Under 64-bit capable, you can see whether you can run a 64-bit version of Windows. (If your computer is already running a 64-bit version of Windows, you won't see the 64-bit capable listing.) 

  • How to get this script to work with different browser

    Do you guys know how to get this script to work with mozilla firefox? 
    do shell script "open -a safari 'https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx'"
    tell application "Safari"
      activate
              tell document 1
                        repeat until ((do JavaScript "location.host") is "login.binck.nl")
                                  delay 1
                        end repeat
      do JavaScript"document.getElementById('ctl00_Content_Gebruikersnaam').value='sim';document.ge tElementById('ctl00_Content_Wachtwoord').value='password';window.open(document. g etElementById('ctl00_Content_LoginButton').href, '_self', 'true');"
              end tell
    end tell
    Thank you so much in advance:)

    That isn't possible. Firefox's AppleScript dictionary doesn't contain anything which can be used to manage JavaScripts.
    (63741)

  • How can I get my hp Laserjet 1012 to work with Windows 7?

    How can I get my hp Laserjet 1012 to work with Windows 7?

    Here is a list of products that are not supported in the win7 OS. This product is listed there.
    Products not supported in win7
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • I have a iPod touch and i installed it on my other laptop until i had just got another one it says unable to connect to iTunes and i forgot my password and i delete the email and i don't know how i can get my i pod touch to work with my new one email

    I have a iPod touch and i installed it on my other laptop until i had just got another one it says unable to connect to iTunes and i forgot my password and i delete the email and i don't know how i can get my i pod touch to work with my new one email.
    I JUST NEED HELP

    I would contact Apple under your warranty.  I doubt you received a new iPod since Apple's policy is to give you a refurbished iPod. 

  • [svn:osmf:] 13494: Update build script to work with Flex 4 SDK.

    Revision: 13494
    Revision: 13494
    Author:   [email protected]
    Date:     2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010)
    Log Message:
    Update build script to work with Flex 4 SDK.
    Modified Paths:
        osmf/branches/flex4/build/build.xml

    No, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
    ./mxmlc MyFlexApp.mxml
    If you are building an AIR application, you will use amxmlc
    ./amxmlc MyAIRFlexApp.mxml
    Then, launch your AIR application using adl
    ./adl.exe MyAIRFlexApp-app.xml
    Hope this helps,
    Joan

  • I have a Nikon 300S. It is set to NEF(RAW) + JPEG fine. When I import to Lightroom I get message "There was an error working with the photo? Does anyone know why or how to correct?

    Nikon 300S. It is set to NEF(RAW) + JPEG fine. When I import to Lightroom I get message "There was an error working with the photo? Does anyone know why or how to correct?

    I don't know the answer, personally, because I don't use Lightroom. This is the Camera Raw forum.
    Someone here might answer your question, as there are a lot of clever people here, but, if not, you might try here:
    Photoshop Lightroom

  • Is there a way to get a creative cloud license that works with both Mac and PC platforms?

    Is there a way to get a creative cloud license that works with both Mac and PC platforms?

    Hi there
    A Creative Cloud membership gives you access to both the Mac & Win versions of the desktop applications.
    Please check the FAQ for more information: Creative Cloud Help | Creative Cloud / Common Questions
    Kind regards
    Bev

  • My mac get very hot when I'm working with it is it normal??

    my mac get very hot when I'm working with it is it normal??

    When posting in Apple Communties/Forums/Message Boards.......It would help us to know which MBP model you have, which OS & version you're using, how much RAM, etc. You can have this info displayed on the bottom of every post by completing your system profile and filling in the information asked for.
    ***This will help in providing you with the proper and/or correct solutions.***
    ============
    Please detail ALL you have done so far in the way of troubleshooting?   Need this info to avoid the been there done that scenarios.

  • I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

Maybe you are looking for