• 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
set visible of every application process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set visible of every application process


  • Subject: set visible of every application process
  • From: Robert Poland <email@hidden>
  • Date: Wed, 8 Dec 2004 08:12:59 -0700

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/
_______________________________________________
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


  • Follow-Ups:
    • Re: set visible of every application process
      • From: Bruce Carter <email@hidden>
    • Re: set visible of every application process
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Super slow finder alias create
  • Next by Date: Re: set visible of every application process
  • Previous by thread: Super slow finder alias create
  • Next by thread: Re: set visible of every application process
  • Index(es):
    • Date
    • Thread