Re: Replacement for "Akua Sweets" in OSX
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.