applescript - open new tab in chrome and go to url in clipboard
Hi there,
I'm just getting started with applescript.
I want to open a new tab in chrome, and browse to the url that is in clipboard.
I have tried this:
tell application "Google Chrome"
set the clipboard tomyVar
set myTab to make new tab at end of tabs of window 1
set URL of myTab to myVar
end tell
but alas no joy, can anyone help me out please?
Thanks in advance,
Nick