Re: Hiding Apps
Re: Hiding Apps
- Subject: Re: Hiding Apps
- From: Christopher Nebel <email@hidden>
- Date: Tue, 12 Feb 2002 16:51:54 -0800
On Wednesday, February 6, 2002, at 04:50 PM, Nigel Garvey wrote:
Paul Berkowitz wrote on Wed, 06 Feb 2002 09:42:54 -0800:
(with regard to activating the Finder before setting the visible of
every
process whose visible is true to false):
Thanks. Mine is working without "activate". I wonder what would be the
problem with just saying:
set visible of every process to false
Too much wasted time checking all the background processes, maybe?
It's some sort of bug or 'feature' that trying to set the 'visible'
property
of a process to false when it's already false can result in an error,
hence
the need of a whose clause to operate just on those processes whose
visible
is true. Did you try it without? You'll see for yourself.
There's no particular reason that this shouldn't work without the
"whose", and it appears to on Mac OS X 10.1.2, barring the difficulty
that you can't really hide everything -- something's got to be visible.
(Setting the visible property of a background-only process to true could
be considered an error, but isn't -- it just doesn't do anything.)
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.