B4J Question How to add an application to autostart on Mac by code

ThRuST

Well-Known Member
Licensed User
Longtime User
I want to do these steps through code to make my application autostart on Mac, perhaps the first time the program is run but how? Maybe an installer can do this task automatically as a rescue option?

Manual steps:

To make an app launch automatically on your Mac, simply do the following:
  1. Step 1: Open System Preferences.
  2. Step 2: Click Users & Groups.
  3. Step 3: Click Login Items. ...
  4. Step 4: Click the '+' sign and find the Application that you wish to auto-start via the Finder interface.
 
Top