Add your app to login items (Mac)

2006-03-13 Thread Paul Claude
There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex XML libraries only for this target. Greetings

Re: Add your app to login items (Mac)

2006-03-13 Thread Klaus Major
Bonjour Paul, There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex XML libraries only for

Re: Add your app to login items (Mac)

2006-03-13 Thread sims
At 3:23 PM +0100 3/13/06, Paul Claude wrote: There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex

Re: Add your app to login items (Mac)

2006-03-13 Thread Paul Claude
Thanks Klaus, I had thought about to this possibility, but I believed there was a way in order to work directly with login items... I must also check if creating an alias (or deleting it) in the startupItems folder needs an authentication. on 13-03-2006 15:40, Klaus Major at [EMAIL

Re: Add your app to login items (Mac)

2006-03-13 Thread sims
At 4:18 PM +0100 3/13/06, Paul Claude wrote: I had thought about to this possibility, but I believed there was a way in order to work directly with login items... I must also check if creating an alias (or deleting it) in the startupItems folder needs an authentication. The applescript I sent

Re: Add your app to login items (Mac)

2006-03-13 Thread Paul Claude
Ciao Sims, Thank you very much, I will test ASAP this Applescript. Greetings Paul Claude on 13-03-2006 15:43, sims at [EMAIL PROTECTED] wrote: tell application System Events get exists login item MyCoolProgram if result is false then make new login item at end of login items with

Re: Add your app to login items (Mac)

2006-03-13 Thread Klaus Major
Hi sims, At 3:23 PM +0100 3/13/06, Paul Claude wrote: There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and