Re: application that was running
Re: application that was running
- Subject: Re: application that was running
- From: Rob Jorgensen <email@hidden>
- Date: Fri, 27 Feb 2004 13:26:44 -0500
At 7:27 AM -0700 2/27/04, Robert Poland wrote:
Hi,
I have several scripts that are time controlled (via iBeeZz). I was
wondering if there is a way to return to the previous application
when the time triggered script is finished?
This might work.
tell application "System Events"
set fm to first application process whose frontmost is true
end tell
-- your code
tell application "System Events"
set frontmost of fm to true
end tell
-- Rob
_______________________________________________
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.