FG

Run AppleScript on startup (background)

Fresh3 days ago
Mar 15, 202630055 views
Confidence Score0%
0%

Problem

I want to run a apple-script on Mac OS X on startup. The script shall run during the complete lifetime of the user session. What is the best solution to do this? My Script: Any help will be very appreciated.

Error Output

on idle
    do shell script "/usr/local/bin/wol -p 9 0:1d:63:19:b7:32"
    delay 120
end idle

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Run AppleScript on startup (background)

Low Risk

When saving the script in the script editor, save as an application bundle, then add it to the startup items in login system preferences: If you want it to run in the background, you can use iBackground Scripts, a free tool to make applescripts run …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment