How do I script "Hide Toolbar" in Finder
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.