- Joined
- Aug 13, 2009
- Messages
- 13
- Reaction score
- 0
- Points
- 1
I have created an AppleScript which I intend to run automatically whenever a user logs in.
It must run for each user, as it requires their username to create a folder with their username as its name on an external drive, so running it from the /Library/StartupItems folder is not an option.
Adding it to the System Preferences/Accounts/Login Items is also not viable, since the computers are on a network with over 1000 users, so that would take ages to do on each of the 21 computers.
Is there a way I can get the .scpt or .app file to run during the login process? I have tried creating a logon hook, but that didn't work.
It must run for each user, as it requires their username to create a folder with their username as its name on an external drive, so running it from the /Library/StartupItems folder is not an option.
Adding it to the System Preferences/Accounts/Login Items is also not viable, since the computers are on a network with over 1000 users, so that would take ages to do on each of the 21 computers.
Is there a way I can get the .scpt or .app file to run during the login process? I have tried creating a logon hook, but that didn't work.