Re: Mysterious Target App Switch
Re: Mysterious Target App Switch
- Subject: Re: Mysterious Target App Switch
- From: bryan <email@hidden>
- Date: Fri, 15 Feb 2002 13:37:11 -0500
There is one kludge that you may have already thought of and that is to check to see if PS6 is running and to quit it if it i; before attempting to launch PS5.
Alternative, (and reasonable only for a non portable script) you may have to hard code the path to PS5 into the script and tell the finder to open the file path. You will then have to be able to distinguish between the two running apps. If the names of the apps are the same in the Application Switcher, you will have to get to the level of application number, which will require further code, that escapes me at the moment, but I know exists. If you encounter this situation, let me know and I will see if I can find it.
Bryan Kaufman
John Jones wrote:
>
Hello All,
>
>
I've got a script which calls Photoshop 5 to do some image processing, then quits it and launches Photoshop 6 to do some different things. The script complies and runs just fine as a classic application. The problem is that if the app happens to launch when PS 6 is already running, the reference to PS 5 is changed to refer to PS 6. My assumption is that since AS compiles at runtime that it's identifying the running application as the target, but this is obviously a problem. Anyone know of a way to work around this?
>
>
Thanks,
>
>
John J.
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.