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: Finder 'show all'



LOL

While GUI scripting is less than elegant it can come in handy!

On Jun 28, 2007, at 3:29 PM, Luther Fuller wrote:

I wouldn't touch GUI scripting with a proverbial 10 foot pole. But, I wondered if, perhaps, it could be done another way. My revulsion yielded the following ...

tell application "System Events" to
set visible of every application process whose visible is false and background only is false to true

On Jun 28, 2007, at 2:42 PM, James Nierodzik wrote:

Ahh!

Well here is how to do it via GUI scripting

activate application "Finder"
tell application "System Events"
tell process "Finder"
click menu item "Show All" of menu 1 of menu bar item "Finder" of menu bar 1
end tell
end tell

On Jun 28, 2007, at 2:37 PM, Russell McGaha wrote:

James;
Ahh; no.  I was speaking of the Finders 'Finder'  Menu item 'Show All' that shows all hidden App.'s .

Russell

On Jun 28, 2007, at 2:22 PM, James Nierodzik wrote:

Do you mean the ability to show hidden and system files?

If you do the command is

defaults write com.apple.Finder AppleShowAllFiles YES

Just throw that into a do shell script command if you want to script it.


On Jun 28, 2007, at 2:16 PM, Russell McGaha wrote:

Guys/Gals;
Could anyone give me an example of how to mimic [or use the real thing], the functionality of the Finder's 'Show All'??

TIA
Russell
_______________________________________________
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

James Nierodzik
System Administrator

FireStar Communications
211 E Ontatrio, Suite 700
Chicago, IL 60611

tel:  312.649.0900 ext. 134
fax: 312.649.9180
www.firestarcom.com





James Nierodzik
System Administrator

FireStar Communications
211 E Ontatrio, Suite 700
Chicago, IL 60611

tel:  312.649.0900 ext. 134
fax: 312.649.9180
www.firestarcom.com



 _______________________________________________
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

_______________________________________________
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

James Nierodzik
System Administrator

FireStar Communications
211 E Ontatrio, Suite 700
Chicago, IL 60611

tel:  312.649.0900 ext. 134
fax: 312.649.9180
www.firestarcom.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Finder 'show all' (From: Russell McGaha <email@hidden>)
 >Re: Finder 'show all' (From: James Nierodzik <email@hidden>)
 >Re: Finder 'show all' (From: Russell McGaha <email@hidden>)
 >Re: Finder 'show all' (From: James Nierodzik <email@hidden>)
 >Re: Finder 'show all' (From: Luther Fuller <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.