Toolbar visible script
Toolbar visible script
- Subject: Toolbar visible script
- From: iKel via AppleScript-Users <email@hidden>
- Date: Mon, 25 May 2020 13:15:22 -0500
Greetings All!
I get this error when trying to run...
"A property can’t go after this identifier.”
Perhaps this is not a sound way of doing it. Partly, just want to understand
property values.
Perhaps the use of set is better?
My attempt to get a script to toggle toolbar visible on and off:
property toolbarToggle: toolbar visible of application "Finder"
#the use of ‘set’ may be better here rather than the use of ‘property’.
tell application "Finder"
--toggle Boolean value
if (toolbarToggle = false) then
set toolbarToggle of the front Finder window to true
else if (toolbarToggle = true) then
set toolbarToggle of the front Finder window to false
end if
end tell
I appreciate it, as always!
Live your life as an exclamation rather than an explanation. -Sir Isaac Newton
-Kell
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