• 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
How do I script "Hide Toolbar" in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I script "Hide Toolbar" in Finder


  • Subject: How do I script "Hide Toolbar" in Finder
  • From: Greg Spence <email@hidden>
  • Date: Tue, 18 Feb 2003 20:04:55 -0600

Is it possible to script the visibility of a Finder window's Toolbar,
Status
bar, etc.? This is a script from Apples website on GUI scripting

http://www.apple.com/applescript/GUI/#1004

try
tell application "Finder"
activate
select Finder window 1
end tell
tell application "System Events"
tell process "Finder"
click (the first button of the front window whose subrole is
"AXToolbarButton")
end tell
end tell
on error error_message number error_number
tell application "Finder"
display dialog error_message buttons {"OK"} default button 1
end tell
end try
_______________________________________________
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.

  • Prev by Date: applescript presenter
  • Next by Date: Re: posix path conversion
  • Previous by thread: Re: How do I script "Hide Toolbar" in Finder
  • Next by thread: Using applescript to back up to iDisk
  • Index(es):
    • Date
    • Thread