Re: Hiding Application Processes
Re: Hiding Application Processes
- Subject: Re: Hiding Application Processes
- From: Andrew Oliver <email@hidden>
- Date: Mon, 12 Jan 2004 21:11:19 -0800
On 1/12/04 7:51 PM, "Bruce" <email@hidden> wrote:
>
"... but I can`t find any mention anywhere about the "set visible"
>
command"
That's because there *is* no "set visible" command.
As far as System Events is concerned, 'visible' is a property of an
application object. Therefore you manipulate this property in the same way
you would manipulate any other object properties or script variable.
The problem here, of course, is that every application can have its own idea
of what properties are appropriate for any object, so if you look at any
other application's dictionary you'll see a different set of properties.
This makes it very difficult to document in an all-encompassing format.
Andrew
:)
>
Thank you Walter Ian Kaye and Emmanuel for the heads up on hiding
>
application processes:
>
>
> tell app "System Events"
>
> set visible of process "Mail" to false
>
> end tell
>
>
I didn`t realize it was a "System Event" command. Thanks. This works
>
great. It`s amazing how one clear example like the above can get you
>
going with your own situation. I wish there was a book etc. that had a
>
clear example like the above for every command, process etc. involved
>
with apple script. I`ve got OReilly`s "AppleScript : The Definitive
>
Guide" but I can`t find any mention anywhere about the "set visible"
>
command, let alone an example of how to use it. I guess I`ll have to
>
get some more reference material.
>
>
By the way, I`ve got the funniest problem that I`m sure is just
>
limited to my system. In one of my scripts I use the:
>
>
> set volume 7 --Apparently "set volume" works for values 1~7
>
>
but I can only get the system volume to go up to around 2/3rds the
>
total volume. If I push the total volume manually to the limit and then
>
do the "set Volume 7" command again, it drops back down to 2/3rds the
>
volume. I can change it in the menu bar or the system sound
>
preferences, but after running the "set volume command" it always drops
>
back down. Even if I set it for something outrageous like "100" it
>
still drops down to 2/3rds total volume. This happens on both my 800mhz
>
dual and iBook. It`s a little thing but it drives me crazy. Can someone
>
please try "set volume 7" and let me know whether or not it is just my
>
system?
>
>
Thanks in advance
>
>
Bruce Whitred
>
Follow Your Dreams
>
_______________________________________________
>
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.
_______________________________________________
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.