Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding Application after running script



On 11/30/03 5:32 PM, "Graff" <email@hidden> wrote:

> This is a pretty easy way to do it:
>
> tell application "Finder" to set visible of every process whose name
> is "iTunes" to false

How many processes called iTunes do you expect to find?

tell application "System Events"
if exists process "iTunes" then set visible of process "iTunes" to
false
end tell

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Re: Hiding Application after running script (From: Graff <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.