• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Login Items in System Events Beta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Login Items in System Events Beta (From: Johnny AppleScript <email@hidden>)

  • Prev by Date: Is: Getting Version of Installed System Events, Was: Re: Isn't there a way...
  • Next by Date: progress indicator stops while do shell script
  • Previous by thread: Re: Login Items in System Events Beta
  • Next by thread: Re: Locating A Menu Item
  • Index(es):
    • Date
    • Thread