Skip to content

Instantly share code, notes, and snippets.

@khurshid-alam
Created January 16, 2025 19:46
Show Gist options
  • Save khurshid-alam/faed73d8167b7d702409786b111909bc to your computer and use it in GitHub Desktop.
Save khurshid-alam/faed73d8167b7d702409786b111909bc to your computer and use it in GitHub Desktop.
Applescript: Start an app in background
-- 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