Re: Login Items in System Events Beta
Re: Login Items in System Events Beta
- Subject: Re: Login Items in System Events Beta
- From: Shane Stanley <email@hidden>
- Date: Wed, 30 Jul 2003 20:17:09 +1000
On 30/7/03 6:31 PM +1000, Johnny AppleScript, email@hidden,
wrote:
>
I was perusing the dictionary of the System Events beta, and took note of
>
the Login Items suite. It appears as though one could or should be able to
>
use this to create a Login Item for the current user. Is this correct? If
>
so, does anyone have any working examples?
set theApp to choose file of type {"APPL"}
-- path property of login item requires POSIX path
set appPath to POSIX path of theApp
tell application "System Events"
make login item at end with properties {path:appPath, hidden:false}
end tell
>
If there's also a way to add login items to users other than current, that's
>
be great, too.
I doubt it.
--
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.