-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm using Google Chrome with this workflow, and it works great, but recently it started opening Safari in the background as well as creating the Hangout in Chrome. Running the Applescript outside of Alfred does not do this. It's only when in Alfred. Also, I tried deleting the "Open URL" part of the workflow, and added this to the top of the Applescript:
do shell script "open https://plus.google.com/hangouts/_"...but this had the same result. So, I'm assuming it's an issue with Alfred itself running an Applescript?
Anyways, in case anyone else is experiencing this, I solved the problem for now by commenting out the Safari parts of the Applescript:
delay 1.5
tell application "System Events"
set browser_apps to the name of every process whose visible is true
# if "Google Chrome" is in browser_apps then
tell application "Google Chrome"
set hangout to URL of active tab of front window
end tell
# else if "Safari" is in browser_apps then
# tell application "Safari"
# set hangout to URL of current tab of front window
# end tell
# end if
end tell
set the clipboard to hangoutMetadata
Metadata
Assignees
Labels
No labels