You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setdockplistpathto"~/Library/Preferences/com.apple.dock.plist"tellapplication"System Events"tellpropertylistfile dockplistpath
tellcontentssetdockishiddento value ofpropertylistitem"autohide"end tellend tellend tellif dockishidden thenelsetellapplication"System Events"tell dock preferences tosetautohidetonot autohide
end tellend if
This skript will read the current state of the user's dock settings for the "autohide" setting first and only toggle via simulating the keystroke if it is visible. 👌
Hi,
This is easy thing to do, but there're two questions:
Simplest way that I can think of
The text was updated successfully, but these errors were encountered: