Report-an-Apple-bug Friday! 31

2006-04-21 23:18:00 -08:00

This bug is System Events does not allow insertion of Login Items. It was filed on 2006-04-21 at 20:53 PDT.


Summary:

No supported way exists to insert a login item at a specific index, rather than just the end.

Steps to Reproduce:

  1. Run the following AppleScript script: tell application "System Events" to make new login item at login item 1 with properties {name:"Foo", path:"X:Y:Z:Foo", kind:"application", hidden:false}

Expected Results:

The login item is inserted at the start of the list.

Actual Results:

The login item is inserted at the end of the list.

Regression:

None known.

Notes:

None.

Workaround:

Edit loginwindow.plist directly.


Technorati tags: , .

2 Responses to “Report-an-Apple-bug Friday! 31”

  1. Jim Says:

    > 1. tell application “System Events” to make new login item at login item 1 with properties {name:”Foo”, path:”X:Y:Z:Foo”, kind:”application”, hidden:false}

    Any idea how to create a login item for a Java Web Start application (javaws) using Apple script?
    How would I specify the JNLP file location?

  2. Peter Hosey Says:

    By its path.

Leave a Reply

Do not delete the second sentence.