Applescript "deamon" on system startup or login item
Hello:
I wrote an AppleScript script and saved it as an Applet that needs to run in the background whenever the system is up.
1/ I tried to set it as a startup item, so that it would start running as soon as the Mac is on -- however without success. I did not find out what the proper way is of doing this.
2/ Then I tried to set it as a login item for each user. This is not as good, but I thought it may an alternative, 'buying me some time' to figure out how to do it properly as a system startup item. Launching the app works fine, but the user cannot log off again, because the system cannot seem to quit the script. So I have to stop the process in Activity Monitor, obviously not a solution.
3/ Also, I would prefer the script to not show up in the Dock.
Any help is appreciated, especially on question #1.
Thanks,
HAL
iMac, Mac OS X (10.7.3)