jshin593 Posted March 30, 2015 Share Posted March 30, 2015 (edited) It is quite basic to open an app with the preset workflow setting. However, is it possible to create a hotkey workflow so that a new window of Safari can be popped up, instead of just opening Safari app (which leads to opening previously opened Safari window)? If anyone knows how to solve this issue, I would appreciate your help very much. Edited March 30, 2015 by jshin593 Link to comment
jdfwarrior Posted March 31, 2015 Share Posted March 31, 2015 It is quite basic to open an app with the preset workflow setting. However, is it possible to create a hotkey workflow so that a new window of Safari can be popped up, instead of just opening Safari app (which leads to opening previously opened Safari window)? If anyone knows how to solve this issue, I would appreciate your help very much. To make a new window in Safari, you could do the following... Make a new workflow, add a hotkey, add a run script, set the language to osascript and enter the following code. tell application "Safari" activate make new document end tell jshin593 1 Link to comment
jshin593 Posted April 2, 2015 Author Share Posted April 2, 2015 To make a new window in Safari, you could do the following... Make a new workflow, add a hotkey, add a run script, set the language to osascript and enter the following code. tell application "Safari" activate make new document end tell Whoa, this works great! Thanks a lot! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now