Applescript to Launch Chrome (with specifics) Applescript to Launch Chrome (with specifics) google-chrome google-chrome

Applescript to Launch Chrome (with specifics)


I didn't find any way to hide the toolbar in Chrome, but try something like these scripts:

tell application "Google Chrome"    open location "http://example.com"    tell window 1 to enter presentation modeend tell
tell application "Google Chrome"    tell (make new window)        set URL of active tab to "http://example.com"        set bounds to {0, 22, 1200, 900}    end tell    activateend tell
tell application "Safari"    make new document with properties {URL:"http://example.com"}    tell window 1        set bounds to {0, 22, 1200, 900}    end tell    activateend telltell application "System Events" to tell process "Safari"    tell menu "View" of menu bar 1        if exists menu item "Hide Toolbar" then click menu item "Hide Toolbar"        if exists menu item "Hide Status Bar" then click menu item "Hide Status Bar"        if exists menu item "Hide Tab Bar" then click menu item "Hide Tab Bar"        if exists menu item "Hide Bookmarks Bar" then click menu item "Hide Bookmarks Bar"    end tellend tell