Re: set visible of every application process
Re: set visible of every application process
- Subject: Re: set visible of every application process
- From: Bruce Carter <email@hidden>
- Date: Wed, 8 Dec 2004 10:37:55 -0500
I don't believe you can make every application invisible. At least one
GUI has to be up on the screen (Finder, if nothing else). Try doing
this manually from the menus, when you get to the last app, it won't
let you hide it.
On Dec 8, 2004, at 10:12 AM, Robert Poland wrote:
Hi,
Here's a simple script that doesn't work as I would expect. As you can
see I want all applications to end up not visible. Neither of the last
lines do that. "set visible of every application process whose visible
is true to false" leaves one of the applications visible when the
script is done. I notice that a Command-H is often grayed out in the
application.
Am I missing some key ingredient here?
-- Begin Script
ignoring application responses
tell application "Eudora" to activate
end ignoring
ignoring application responses
tell application "Safari" to activate
end ignoring
ignoring application responses
tell application "NetNewsWire Lite" to activate
end ignoring
delay 3
tell application "System Events"
set visible of every application process to false
set visible of every application process whose visible is true to
false
end tell
-- end Script
Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
--
Bruce Carter, ACTC, MacCSE, MCP http://www.nd.edu/~bcarter/
Senior Systems Engineer mailto:email@hidden
Riley Hall of Art, Room 217 AIM:bcarteratnd
University of Notre Dame +1 574 631 2967 Voice
Notre Dame, IN 46556 +1 574 631 8201 FAX
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden