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



This is a pretty easy way to do it:

tell application "Finder" to set visible of every process whose name is "iTunes" to false

- Ken

On Nov 30, 2003, at 7:38 PM, Ed wrote:

What is the best way to hide an application at the end of running a script? For example, I have built a script that will launch iTunes, select and start playing a specific playlist but I then want to add a line that will hide iTunes. Much of the information I have seen regarding hiding applications seems to have a fair amount of unneccessary work in them; i.e. going to the finder, etc.
_______________________________________________
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: 
 >Hiding Application after running script (From: Ed <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.