• 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: Replacement for "Akua Sweets" in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacement for "Akua Sweets" in OSX


  • Subject: Re: Replacement for "Akua Sweets" in OSX
  • From: Barbara Mueller <email@hidden>
  • Date: Sun, 24 Nov 2002 12:35:19 +0100

tell application "Finder"
open application file id "CARO"
end tell

-- replace << and >> with real deal in next line
if <<class CARO>> is not in (creator type of every process) then
set theAppliName to name of (open application file id "CARO")
set activated to true -- finder opened the app, so it's active
else
set theAppliName to name of first process whose creator type is "CARO"
set activated to false -- it's already open, but is not active
end if

Thanks for all answers!
Everything is working fine now.

Barbara
_______________________________________________
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.

  • Prev by Date: Re: FileMaker Pro, get image by reference
  • Next by Date: List of windows in various appllications
  • Previous by thread: Re: Replacement for "Akua Sweets" in OSX
  • Next by thread: Optional Parameter in Handler
  • Index(es):
    • Date
    • Thread