I am currently scripting Adobe Photoshop 7 on Mac OS X 10.4 to manipulate images to be used in magazines.
Being a Carbon application Photoshop 7 can run both in Classic and Mac OS X. Now I explicitly need to address/activate the Classic version of the application, not the Mac OS X version.
Is there a possibility to do this?
Thanks so much for your help in advance!
P.S.: Yes, I already told my colleagues to upgrade to a Classic-less workflow…
How about running Classic from Apple. The software that lets your Mac boot in a Classic Environment. Just like OS 9.
(Mac OS X.5 does not have Classic)
You can activate a specific version of an app by telling the Finder to open the relevant application file. Once the app’s up and running (you may have to use a delay while it starts up), it should respond to the commands from your script ” provided that the other version isn’t open at the same time. I don’t recall that there is a sure-fire way to distinguish between two versions when they’re both open, but I’ve a vague idea that changing the name of one of them might work.
Hope the family is doing well!
I had the same issue when scripting Quark with versions 6.5 and 7 on the same machine. I used a full path to the version I wanted to script. You might give it a try.
Here is an example targeting Mail using full path.
tell application "HD:Applications:Mail.app"
Thanks for your answers!
After encountering a lot of problems with using the Classic environment in our workflow, we finally convinced the management to move the whole process to Mac OS X only Nevertheless the described methods worked out great
Best regards from Berlin,
P.S.: Family life is great, my daughter currently begins to speak and that is just so much fun! Wuff wuff! Daddy, mommy! Mooooooo! Dada! :lol: