Re: Add an item to OS X's "startup items"
Re: Add an item to OS X's "startup items"
- Subject: Re: Add an item to OS X's "startup items"
- From: Shane Stanley <email@hidden>
- Date: Fri, 13 Dec 2002 11:41:10 +1100
On 13/12/02 10:43 AM +1000, Mr Tea, email@hidden, wrote:
>
Could you tell me, Shane... how did you arrive at this syntax?
>
>
I knew that System Events could do this, and I got as far as figuring out
>
that the path property needed to be a POSIX path by looking at the
>
properties of existing login items, but in all my mangled attempts to script
>
the creation of a new login item, I didn't even come close to 'make login
>
item at end...'. How is one supposed to work _that_ out?
Good question. A lot of apps require the "at" parameter to the make command,
and often that means using something like "at end" (or sometimes "at
beginning"). So it's something I tend to try when all else fails.
Now I can hear you pointing out that the System Events dictionary says that
the "at" parameter is optional. At that stage I take refuge in my rule No. 1
of scripting: Dictionaries often lie.
--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.