Re: Open Safari in fullscreen and hide toolbar script
Re: Open Safari in fullscreen and hide toolbar script
- Subject: Re: Open Safari in fullscreen and hide toolbar script
- From: Christopher Stone <email@hidden>
- Date: Sat, 01 Aug 2015 00:28:21 -0500
however every time it runs it hides the toolbar, but on second run it shows the toolbar. So now I have to figure out if its already checked and if so then uncheck it. ______________________________________________________________________
You'll want to do something like this:
-------------------------------------------- tell application "System Events" tell application process "Safari" set frontmost to true
tell menu bar item "View" of menu bar 1 tell menu item "Hide Toolbar" of menu 1 if it exists then click it end if end tell end tell
end tell end tell --------------------------------------------
-- Best Regards, Chris
|
_______________________________________________
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