book345 Posted June 23, 2021 Share Posted June 23, 2021 Hello, I am trying to make a seemingly simple workflow but the solution is evading me. I already use a workflow that opens a new window of safari in the current desktop, regardless of whether there are already open safari windows or not. It is a pretty simple 'run this script with this keyword' type workflow, and the script I use for safari is: tell application "Safari" make new document activate end tell Replicating this with firefox used instead does not seem to get the results I want, and I have tried multiple variations to no avail: make new window instead of document, tell firefox to activate first, etc. Any help is much appreciated, thanks. Link to comment
book345 Posted June 23, 2021 Author Share Posted June 23, 2021 11 minutes ago, giovanni said: this might be helpful: Yeah I did read through that, but even if the scriptability of firefox is fairly limited, I feel like the task I mentioned should still be doable. I have gotten variations of it to work (open new window if firefox is already active, etc.). I appreciate the response giovanni 1 Link to comment
deanishe Posted June 23, 2021 Share Posted June 23, 2021 This shell command opens a new Firefox window: /Applications/Firefox.app/Contents/MacOS/firefox-bin --browser Maichu 1 Link to comment
Maichu Posted March 30, 2023 Share Posted March 30, 2023 yes deanishe - thank you so much! this followed by a script to tell application "Terminal.app" to quit works fine for me. Link to comment
deadSoldier Posted January 23 Share Posted January 23 (edited) just get rid of the "-bin" at the end before "--browser" to get this working again. my functionality was broken after mac os sonoma. Only problem i got is that it switches to an existing window of firefox, this is somewhat annoying. Edited January 23 by deadSoldier Adding Context 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