I'm trying to add a login item in an installer, and I thought using
appscript would be the simplest way.
>>> from appscript import *
>>> a = app("System Events")
>>> a.login_items()
Sure enough, a display of items. But how do I create a new one and add
it?
Bill
_
Bill Janssen <[EMAIL PROTECTED]> wrote:
> I'm trying to add a login item in an installer, and I thought using
> appscript would be the simplest way.
>
> >>> from appscript import *
> >>> a = app("System Events")
> >>> a.login_items()
>
> Sure enough, a display of items. But how do I create a ne
In article <[EMAIL PROTECTED]>, Bill Janssen <[EMAIL PROTECTED]>
wrote:
> I'm trying to add a login item in an installer, and I thought using
> appscript would be the simplest way.
>
> >>> from appscript import *
> >>> a = app("System Events")
> >>> a.login_items()
>
> Sure enough, a display of
This bit of Applescript does it:
tell application "System Events" to make new login item with properties
{ path: "/path/to/YourApp.app", hidden:false } at end
Not 100% sure how that translates to appscript though.
Drew
Bill Janssen wrote:
I'm trying to add a login item in an installer, and