• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder 'show all'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder 'show all'


  • Subject: Re: Finder 'show all'
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 28 Jun 2007 15:29:46 -0500

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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
Archives: http://lists.apple.com/archives/applescript-users


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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
Archives: http://lists.apple.com/archives/applescript-users


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: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Finder 'show all'
      • From: James Nierodzik <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>)

  • Prev by Date: time formatting
  • Next by Date: Re: time formatting
  • Previous by thread: Re: Finder 'show all'
  • Next by thread: Re: Finder 'show all'
  • Index(es):
    • Date
    • Thread