Excuse my ignorance: I've never used Applescripts apart from just double-clicking them in Finder and running them. In Alfred 1 I set up a hotkey to take the current URL in an open Safari browser window and open it in Chrome. All I did was to choose the hotkey, then browse to the .scpt file (previously downloaded and saved in ~/Library/Scripts/Safari) and select it.
In Alfred 2 there doesn't appear to be a similar capability. You only seem to be able to actually write a script, rather than just point to one that has already been created and saved as a .scpt file. I have tried setting up a workflow, and pasting the script into the 'run script' action window, but that doesn't work.
What am I supposed to do. Is there a way of just pointing to the .scpt file and running it, like before?
Any help gratefully received.
Thanks, Kevan
PS: here's the actual script, for what it's worth:
property theURL : ""
tell application "Safari"
set theURL to URL of current tab of window 1
end tell
tell application "Google Chrome"
if (count of (every window where visible is true)) is greater than 0 then
tell front window
make new tab
end tell
else
make new window
end if
set URL of active tab of front window to theURL
activate
end tell