"open file" Not working with Photoshop CS2

System
MAc Pro Dual Quad 3Ghz, OS X 10.5.2
I have a script that I wrote a while ago to take a series of individual bitmaps and compile them into a strip for access inanothe application. Script used to work well....
I tried to use the script today but ran into a brick wall when trying to open files from within the script.
below is an example of a script that will not work at all,
tell application "Adobe Photoshop CS2"
open file "AV:logo:rot0001.png"
end tell
I normally pass the function a variable for the filenames...but the above script should work fine.. but flatly refuses to !
Below is the Error returned.
Adobe Photoshop CS2 got an error: General Photoshop error occurred.
- The object “current document” is not currently available.
Arghhhh Help !!
Rgds
Chris

Hello
Perhaps your script used to work under pre-OSX10.5 (AppleScript 1.x) but now fails under OSX10.5 (AppleScript 2.x)?
If so, the most likely cause is the drastic change in internal text handling between them. In AS2.x, internal text is Unicode only, which might prevent PSCS2 from resolving 'file path_string' descriptor (when path_string is assumed to be plain 'string', not Unicode text).
Try the following code instead -
tell application "Adobe Photoshop CS2"
open ("AV:logo:rot0001.png" as alias)
end tell
Or -
set a to "AV:logo:rot0001.png" as alias
tell application "Adobe Photoshop CS2"
open a
end tell
Hope this may help,
H

Similar Messages

  • Apple Symbols font not working with Photoshop CS2...

    This seems rather strange to me, but only a few characters will type....I've tried 'option+key' - 'control+key' - shift+key and 'apple+key' ....and the ones that show up, I do not even see in the font book display of this font. I have done a search and found a document about "special characters and symbols", but could not find the described character palette in PS.
    Should I be using some other key - like an F key or something?

    Hello
    Perhaps your script used to work under pre-OSX10.5 (AppleScript 1.x) but now fails under OSX10.5 (AppleScript 2.x)?
    If so, the most likely cause is the drastic change in internal text handling between them. In AS2.x, internal text is Unicode only, which might prevent PSCS2 from resolving 'file path_string' descriptor (when path_string is assumed to be plain 'string', not Unicode text).
    Try the following code instead -
    tell application "Adobe Photoshop CS2"
    open ("AV:logo:rot0001.png" as alias)
    end tell
    Or -
    set a to "AV:logo:rot0001.png" as alias
    tell application "Adobe Photoshop CS2"
    open a
    end tell
    Hope this may help,
    H

  • Can't open file--"not compatible with this version"

    I can not open a photoshop file, although it was saved with the same version. "The file is not compatible with this version" can someone help me.
    thanks

    hi kirsti
    I use windows 7 and photoshop cs5
    thank you
    Am 02.05.2012 19:06, schrieb Kirsti Aho:
    >
          Re: Can't open file--"not compatible with this version"
    created by Kirsti Aho <http://forums.adobe.com/people/Kirsti-CA> in
    /Community Help Application/ - View the full discussion
    <http://forums.adobe.com/message/4374618#4374618

  • My operating system windows XP not working with photoshop cloud, why not?

    I need to add 2 more licences for photoshop cloud and I'm being told my operating system windows XP does not work with Photoshop cloud. We already have 2 pcs using it in our office so why not?
    Please help
    Roy

    Do you have the latest version of iTunes?  If not, get it at:
    http://www.apple.com/itunes

  • Camera Raw not working with Photoshop and Bridge CS6

    Hi guys,
    Had a hard-drive meltdown the other week and lost everything. I have re-downloaded and installed most of my important software, including the CS6 suite. I used to use camera raw alot with my .CR2 files and it worked fine for ages, now though, it doesn't work at all.
    I have run an update and everything is up to date now, i've purged the cache and it's still not working, no preview on bridge or anything.
    I have also tried going through the Camera raw updates on the Adobe website. I have tried deleting the plug in and redownloading it altogether too, no help.
    Furthermore, when i try to open a .CR2 file through bridge into photoshop i get a message window:
    My Camera Raw Version:
    My photoshop version:
    No preview of files in Bridge:
    Any help would be greatly appreciated!
    Chris

    Hi Benjamin,
    Yes I have tried that, my OS doesnt run it. I'm on:
    Chris

  • CS3 file not compatible with Photoshop CS4?

    My son uses Photoshop CS3 at college. He worked all day on an image (120MB), and saved it on a USB stick. When opening at home with Photoshop CS4, the "Reading Photoshop format" appears, then an error message "Could not complete your request because the file is not compatible with this version of Photoshop."
    He has been burned before by a USB stick, but all the other files seem OK.
    Is there a solution to this?

    ^First thing I did was make a copy.
    QuickTime Picture Viewer (which seems to open other PSD files) says it is corrupted.
    Adobe Bridge can read the metadata, gives no preview, and won't open the file.
    Any other thoughts?

  • Listener.8li plugin not working with PS CS2 ?

    Dear forum,
    I tried to compile (Win 2000 / VC7.1 aka Visual Studio.NET 2003) and run the Listener plugin supplied with the PhotoShop CS2 SDK. I opened with VC7.1 the solution file (Listener.sln) and built it. As described in the "Automation tutorial.pdf", I then made a shortcut to "Listener.8li" in the PhotoShop CS2 "/Plug-Ins" folder, started PhotoShop and selected the new menu "File / Automate / Listener...". Photoshop then gives me an error messagebox :
    "Adobe PhotoShop
    Could not complete the Listener command because of a program error.
    OK"
    I also tried to copy the file directly to the /"Plug-Ins" folder, but the result is the same. I also tried to copy either the shortcut or the file itself to a subfolder of "/Plug-Ins", same behavior.
    Then I exit PhotoShop and I get a GPF :
    "Adobe PhotoShop: Photoshop.exe - Application Error.
    the instruction at "0x08ab4f05" referenced memory at "0x08ab4f05". The memory could not be "read".
    Click on OK to terminate the program
    Click on CANCEL to debug the program
    OK Cancel"
    The question is very simple : Am I doing something wrong ?
    Is "listener.8li" functionnal "out-of-the-box" compiled with VC 7.1 on Win 2000 with PhotoShop CS 2 ? Or is some patching needed ?
    Thanks

    Spent more time debugging this and I found the cause (and a workaround):
    The cause is that an empty action palette causes the global gActionSet pointer to remain null (uninitialized), as ReadScriptParams() finds a null descriptor when called and returns immediately. Later call to DoUI() invoke DialogBoxParamA() and this in turn causes the dialog box window proc to be called for WM_INITDIALOG message. When processing this message, PIActionComboBox::Init()is called and attempts to do the following :
    error = PIUActionsGetName((char*)(gActionSet->c_str()),...).
    This means that the gActionSet pointer is dereferenced regardless of its value, and when null, the exception occurs...
    When a non-empty action palette is present, gActionSet is not null, and the crash does not occur. However, I could not find any hint in the documentation that this was a pre-condition for using listener.8li...

  • Calendar Alarm Open FIle not working in Mountain Lion

    Recently upgraded my mac mini server to 10.8.2 Mountain Lion. I need it to open a particular Filemaker file every morning, and close the application every night. Used to have a simple alarm in iCal set to do this with Open File and then a very simple Automator script to close the program at a scheduled time, also in iCal. Worked fine. Now, in trying to recreate this, it doesn't work - I make the scripts, and if I set them for a time I can test them (ie. 5 minutes from now), they work as planned, but they will not function on their own at the scheduled time. I thought it might be going to sleep, so I set Energy Saver to Never go to sleep, unchecked "Put hard disks to sleep when possible", and checked "Wake for network access". Still not working. Any thoughts? Any idea how to even troubleshoot this?

    I thought I was on to something, but then I re-read your post and saw that you've successfully tested your scripts in Calendar.  So, all I've got left to offer is a silly question: has the calendar been set to ignore alerts?  I ask because just within the last few days I created an Automator calendar alarm, tested it successfully (in the same fashion as you), and set it off to run on its merrily-scheduled way, only to discover it wasn't firing on its own.  Like you, I double-checked my Energy Saver settings and it looked like things should work just fine.  What I finally found was that at some point during all my testing and fiddling I'd ticked the "Ignore alerts" box for the calendar,  and that's what was keeping my script from firing.

  • Why is iCal "Open File" not working?

    I have created an Automator application called "MyActions" that works correctly when I click on it in my Application section.
    I am trying to get this application to run once a week using the iCal "Open File" alert.
    I have set up an event that repeats every Monday at 7:30am and I have set up an alert that opens the file "MyActions" 1 minute after the event, but it does not appear as though the application runs.
    Help appreciated.
    Regards,
    -jP

    It appeared that it just took some time before Calendar actually got around to the event that had the "Open File" instruction.
    I did confirm that I created an application and not a workflow.  Thanks for the sanity check.
    -Jp

  • Edge Reflow CC (Preview) does not work with Photoshop CC (2014)

    I mean, I'm not sure if that how it is or if I'm facing some sort of compatibility problem with Reflow (version 0.47.17127).
    I just can't get it to work with the newest Photoshop CC (2014). It only works on Photoshop CC.

    Hi, I'm having the same problem. Please advise, thanks.

  • Some filters not working in photoshop cs2

    The bas relief, charcoal, graphic pen, halftone pattern, photocopy, plaster, reticulation, stamp and torn edges filters are not working working for me for some reason.
    I checked the image mode and it is set to 8 bit RGB like it is supposed to be, but for some reason it just makes the images Black and does nothing else.
    Here is a example.
    I put in a normal jpeg image just like this one.
    But when I put try and put one of those filter's on it the image comes out like this.
    The image just turns plain black. Ive tried restarting photoshop but it doesn't fix the problem

    Try resetting your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.

  • Keyboard Shortcuts not working in Photoshop CS2

    I'm using an apple 17" powerbook. 1 G RAM. OSX 10.4.3 . The Space Bar and other keys don't allow for the hand too or pen tips to change. It worked before. Anyone have a quick fix. I tried deleting my Photoshop Prefs in my User folder.

    I'm having problems as well.
    1. My brush decrease and increase shortcuts are not working and when I try to edit them in preferences I get a foreign language.
    2. If I type and try to arrow back or delete I get key strokes such as : or %.
    3. I can not nudge my objects the software is not responding.
    4. I can not simply copy and paste a layer, I have to duplicate it first.
    When I loaded CS2 onto my computer I picked North American English as the language, I checked my computer to see if anything would be prompting the foreign language and everything is set for english. Please help as this is very annoying and I have to do all edits the old fashioned way which is what I was trying to avoid by purchasing CS2 in the first place.
    Thank you

  • Nik Collection does not work with Photoshop CC 64-bit but with 32-bit

    Hi,
    though the Nik-Collection-Filters are listed (and installed) in PS CC 64, they do not work properly. The first visible difference is, that the "panel" of the various filters is not displayed when I start PS, but it is in the 32 bit version.
    Even if I want to apply an Nik-Filter on an image nothing changes, but it does in 32 bit mode.
    Is there a solution for this problem?
    Thanks!

    Hello, I found a Post. I tried this and it works perfectly, you don't have to re-install CC or install CS6   all you have to do is that you install the Nik Collection in Photoshop CC (32bit) (plug ins)   then you copy the "Google" File and that is the important one !!
    into:
    Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\Panels\ ...........
    it works perfectly. 
    Thanks to Mr. Peter Beckett from NIKONIANS.org
    http://www.nikonians.org/forums/dcboard.php?az=show_topic&forum=319&topic_id=11486&mode=fu ll
    regards from AUSTRIA

  • Reading the EDI X12 file not working with the patch 8233048

    Hi
    I have installed the latest path 8233048 on my windowsXP system, now I am not able to see the File being polled and processed.
    In b2b.log I can see the last message as "oracle.tip.adapter.b2b.data.MsgListener:run start listening on message" after that no log.
    In b2b_dc_transport.log, I can see only
    2009.02.07 at 20:35:45:236: B2BStarter thread: (DEBUG) TransportProperties.TransportProperties():http.receiver.registry_port=5110;smtp.receiver.protocol=imap;PROTOCOL_ENDPOINT=null;file.receiver.polling_interval=30;polling_interval=30;http.receiver.instance_name=IP;
    2009.02.07 at 20:35:45:266: B2BStarter thread: (DEBUG) initialize TransportReceiver: [IRIS_Transport_Server < file > < IRIS >]
    2009.02.07 at 20:35:45:266: B2BStarter thread: (DEBUG) FileReceiver.init() started ....
    2009.02.07 at 20:35:45:287: B2BStarter thread: (DEBUG) FileReceiver.init() completed.
    Could you please tell me if I need to do any changes.
    This is working on b2b with only patch: 5907304 which is installed in another windows XP system.
    The same configuration with the latest patch is not working.
    Edited by: Praveena Paruchuru on Mar 7, 2009 7:56 AM

    Hi Dheeraj,
    I have restarted my system many times, not only B2B.
    I have taken the print out of both the tip.properties and compared line by line and wanted to check out which line was making it not to function.
    I added the mismatching lines one by one by one, it was working for all teh updates. Finally I changed it to my new tip.properties.
    Then surprisingly it is working.

  • FCP Quicktime movie files not working with iDVD

    I have been using iDVD for years with no issues. Now, whenever I export a QT file from FCP 7 and use it in iDVD, I get a blank screen with audio and no video.
    I am able to work around the problem by using "Export Using Qucktime Conversion" and creating a smaller file, but I've never had to do that before. What in the world am I missing here? Shouldn't I be able to export as a QT movie, as long as the file is not gigantic? (the most recent one I used and had this problem occur was only about 500mb). Thanks for any help...
    Ben

    Hmmm,
    Well this is helpful information but unfortunately didn't solve my problem. The movie in question is only 5 1/2 minutes long. When I export it as a QT movie, iDVD "acts" like everything is fine; I can preview it within iDVD, etc.But when I burn the disc, it comes out blank. I then went back to FCP and exported it using QT conversion, and the DVD burned just fine. (I exclusively use Taiyo Yuden media and have never had a bad disc).
    This is just a simple 16:9 movie, shot at 720/30p on a Canon DSLR. I ingested with Log and Transfer using ProRes422, then dropped it onto the timeline, added a music track, rendered, and exported as Quicktime movie. It looks great on my desktop using the QT player, but it simply will not work in iDVD.  Still stuck here...
    Ben

Maybe you are looking for