Created
January 16, 2025 19:46
-
-
Save khurshid-alam/faed73d8167b7d702409786b111909bc to your computer and use it in GitHub Desktop.
Applescript: Start an app in background
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Try to start an app in Background | |
set thisApp to "Keep it Shot" | |
startUnseen for "Keep it Shot" | |
on startUnseen for thisApp | |
if running of application thisApp is false then tell application thisApp to activate | |
delay 0.1 | |
tell application id "sevs" to set visible of application process thisApp to false | |
end startUnseen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment