• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AS asking for application on every occasion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: AS asking for application on every occasion
      • From: Thierry Lavallée <email@hidden>
    • Re: AS asking for application on every occasion
      • From: Thierry Lavallée <email@hidden>
  • Prev by Date: Re: AS asking for application on every occasion
  • Next by Date: Re: Lack of Applescript cgi support in Panther
  • Previous by thread: Re: AS asking for application on every occasion
  • Next by thread: Re: AS asking for application on every occasion
  • Index(es):
    • Date
    • Thread