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 20:32:35 +0200
> Le 25 mai 2020 à 20:15, iKel via AppleScript-Users
> <email@hidden> a écrit :
>
> 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!
>
May you check in the Finder's dictionary ?
As far as I remember, toolbar visible is not a property of the Finder but a
property of a Finder window.
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) lundi 25
mai 2020 20:31:53
_______________________________________________
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