I want to do two things when my Mac boots up:
1) Run an app
2) Click a button on that app
Any suggestions for how I can accomplish this?
FWIW, this is app I haven't written so I can't change source or pass in command line params.
macmacosstartup
I want to do two things when my Mac boots up:
1) Run an app
2) Click a button on that app
Any suggestions for how I can accomplish this?
FWIW, this is app I haven't written so I can't change source or pass in command line params.
Best Answer
Save a script like this as
~/Library/Scripts/test.scpt
in AppleScript Editor:Save this as ~/Library/LaunchAgents/test.plist:
More information about UI scripting and launchd:
man launchd.plist