oorbx Posted December 30, 2022 Share Posted December 30, 2022 Hey there I try to make my first workflow. Issue is simple. I would like to press hotkey and open safari. But if safari is not running app then open safari and make fullscreen If safari is running app then just activate the safari But if i use equal to and not equal to, then it cannot decide and every time is using only one way branch. Anybody can help ? Link to comment
vitor Posted December 30, 2022 Share Posted December 30, 2022 You’ve set up the Hotkey to only trigger when Safari is in focus, so it’ll never work if it isn’t running. Plus, the focused app variable is incorrect because it needs to match the bundle identifier of the app, not the name (this is explained in the setting). What you need to do is set up a Hotkey which works with any app, then use an Automation Task to check if Safari is running (in the macOS group). Link to comment
oorbx Posted December 30, 2022 Author Share Posted December 30, 2022 Hey vitor, thanks for help. I setup trigger opposite, means when safari is focused then do not work shortcut. I will try automation task. I hear for the first time. Thanks Link to comment
oorbx Posted December 30, 2022 Author Share Posted December 30, 2022 Okay i tried it, but anyhow its still going only one branch. And it cannot be decided go to diferent branch Link to comment
oorbx Posted December 30, 2022 Author Share Posted December 30, 2022 okay solved finally! Just small change inside conditional box -- Now works : 1. If safari is not opened, then open in fulscreen 2. if safari is opened and not active, just move to safari (no change window size, just activate) 3. if safari is actived, do nothing. If somebody would like to share, please let me know. Link to comment
oorbx Posted February 19 Author Share Posted February 19 Hey there, Yesterday i update to MAC OS ventura 13.3 beta and "is app running" stopped working. Anyhow i will use there : safari, or com.apple.safari or full path "/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app" (in ventura is path changed like this" is not functional. Dont you know what could be problem ? If i will bypass "is app running" other commands works correctly. 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