Re: Toolbar visible script
Re: Toolbar visible script
- Subject: Re: Toolbar visible script
- From: Yvan KOENIG via AppleScript-Users <email@hidden>
- Date: Mon, 25 May 2020 22:27:23 +0200
Enhanced version:
my hideToolBar()
delay 2
my showToolBar()
on hideToolBar()
tell application "Finder"
activate
set hideToolbar_loc to localized string "FV1"
end tell
tell application "System Events" to tell process "Finder"
set frontmost to true
tell menu bar 1 to tell menu bar item 5 to tell menu 1
if exists menu item hideToolbar_loc then click menu
item hideToolbar_loc
end tell
end tell
end hideToolBar
on showToolBar()
tell application "Finder"
activate
set showToolbar_loc to localized string "FV2"
end tell
tell application "System Events" to tell process "Finder"
set frontmost to true
tell menu bar 1 to tell menu bar item 5 to tell menu 1
if exists menu item showToolbar_loc then click menu
item showToolbar_loc
end tell
end tell
end showToolBar
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) lundi 25
mai 2020 22:27:15
_______________________________________________
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