Jump to content
r.erhart

Full Screen Safari

Recommended Posts

Hi,

I am a total newbie. Does anybody know how to create a workflow to open Safari in Full Screen mode when Google searching?

I'd appreciate your solution. Thanks!

Share this post


Link to post

Hi,

I am a total newbie. Does anybody know how to create a workflow to open Safari in Full Screen mode when Google searching?

I'd appreciate your solution. Thanks!

 

Hi,

 

I've added to the Google Searches workflow from Vero a "Run Scrip" item, including this:

set SafariFullscreenStatus to ""
tell application "System Events"
	try
		set SafariFullscreenStatus to (value of attribute "AXFullScreen" of first window of application process "Safari")
	end try
end tell
if SafariFullscreenStatus is false then
	tell application "Safari" to activate
	tell application "System Events" to keystroke "f" using {command down, control down}
end if

It's UI scripting though, but it works like a charm.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...