Report-an-Apple-bug Friday! 31
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:
- 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: Apple Bug Friday, applebugfriday.
January 25th, 2007 at 03:45:35
> 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?
January 25th, 2007 at 04:06:54
By its path.