Jump to content

Thoro

Member
  • Posts

    1
  • Joined

  • Last visited

Thoro's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I think SBScriptingBridge and a little python would do the trick Here's a little code to get you started: from Foundation import * from ScriptingBridge import * #http://www.mugginsoft.com/html/kosmictask/ScriptingBridgeDox/Google/Google-Chrome/OS-X-10.7/Google-Chrome-19.0.1084.56/html/_google-_chrome_8h_source.html chrome = SBApplication.applicationWithBundleIdentifier_("com.google.chrome") newWindow = chrome.classForScriptingClass_("window").alloc().init() chrome.windows().addObject_(newWindow) firstTab = newWindow.tabs().objectAtIndex_(0) firstTab.setURL_("http://www.alfredforum.com") newTab = chrome.classForScriptingClass_("tab").alloc().init() newWindow.tabs().addObject_(newTab) newTab.setURL_("http://www.google.com")
×
×
  • Create New...