Setting Frontmost to False
Setting Frontmost to False
- Subject: Setting Frontmost to False
- From: Jeffrey Berman <email@hidden>
- Date: Tue, 06 Aug 2002 21:24:14 -0500
I've been having difficulty setting the frontmost of an application process
to false. For example, if Terminal is the foreground process, the following
commands do not change the frontmost status:
tell application "System Events"
set frontmost of application process "Terminal" to false
end tell
I discovered I can change the frontmost status to false if I toggle the
visible of the process, as in:
tell application "System Events"
set visible of application process "Terminal" to false
set visible of application process "Terminal" to true
end tell
Anyone know why the first example does not work and if there is a more
direct way to change the frontmost status of the foreground process?
-Jeffrey Berman
_______________________________________________
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.