Re: AS asking for application on every occasion
Re: AS asking for application on every occasion
- Subject: Re: AS asking for application on every occasion
- From: Peter Bunn <email@hidden>
- Date: Fri, 9 Jul 2004 13:14:32 -0500
Thierry:
Is it possible you need something like the old 'Double Tell' call?
(Below.)
I'm pretty sure this will work through OS 9... but I haven't tested it in
Classic. (Yet 'using terms from' _ought_ to work there...)
Note that the 'list acceptable' chevrons bracketing 'class psn ' below
should be replaced by 'option + |' and 'shift + option + |', where '|' is
the pipe symbol... and yes, there's a space following 'psn'.
Peter B.
----------
tell application "Finder"
if application file id "GKON" exists then
set target_app to the name of application file id "GKON"
open application file id "GKON"
set target_process to application process target_app as <<class psn >>
tell target_process
--activate
--GC commands here
end tell
end if
end tell
----------
_______________________________________________
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.