Re: How to auto startup
On Dec 6, 2007, at 3:46 PM, Kay C Lan wrote: On Dec 7, 2007 3:11 AM, Jim Ault [EMAIL PROTECTED] wrote: Another step, if you are serious about going down the path is to consider the free editor program called Smile. Far better than Script Editor. Jim is spot on the money with his recommendation of Smile, you'll find it here: http://www.satimage.fr/software/en/downloads/index.html There are two versions, a paid, extremely powerful version, and a free script editor. If you really do like waking up in the morning and learning, as apposed to say, wasting your time, then give Apple's ScriptEditor a miss and go with Smile. :-) Thanks Kay, I will give Smile and run. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 5, 2007, at 2:29 PM, Mark Schonewille wrote: No need to use AppleScript. It should be something like this: create alias /system/library/startupitems/yourapp.alias to file / volumes/diskimage/yourapp.app Hi Mark, Thank for this. Unfortunately this did not work. Dragging an alias into the two startup folders I located did nothing on a restart. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 5, 2007, at 2:36 PM, Jim Ault wrote: User login preferences in OSX allows adding start up items. Admin privileges required and the user must have permissions that allow executing the file. It is true that the OS requested the admin password to get the alias to be dropped into this location. Having the alias in the startup folder had no effect. -Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 5, 2007, at 2:16 PM, Ian Wood wrote: http://bbs.applescript.net/viewtopic.php?id=11314 Not tested here, though. Hi Ian, Thanks for pointing me to this tip. I am going to give it a run right now. With this particular app, I have the luxury of knowing it will be the only app this computer will run. It is similar in design to a kiosk and takes over the entire computer. Every time the computer is booted, my software must automatically boot up as well. Otherwise, I agree with you whole heartedly. I would have a pref for this so the user could choose. I really need to spend some time learning the basics of Applescript. I am looking at getting the following book. Any comments on books that were helpful to you? http://search.barnesandnoble.com/booksearch/isbnInquiry.asp? z=yEAN=9780321149312itm=3 Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
For me this works: Go system preferences, Accounts then click on the user, then choose 'login items' Add anything to the list using the + button, check mark toggle to have the item start as hidden or visible. This does not involve any alias files, but does require the admin password. Hope this helps you. Jim Ault Las Vegas On 12/6/07 10:52 AM, Mark Talluto [EMAIL PROTECTED] wrote: On Dec 5, 2007, at 2:36 PM, Jim Ault wrote: User login preferences in OSX allows adding start up items. Admin privileges required and the user must have permissions that allow executing the file. It is true that the OS requested the admin password to get the alias to be dropped into this location. Having the alias in the startup folder had no effect. -Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 6, 2007, at 7:51 PM, Mark Talluto wrote: On Dec 5, 2007, at 2:29 PM, Mark Schonewille wrote: No need to use AppleScript. It should be something like this: create alias /system/library/startupitems/yourapp.alias to file /volumes/diskimage/yourapp.app Hi Mark, Thank for this. Unfortunately this did not work. Dragging an alias into the two startup folders I located did nothing on a restart. I've used the following (requires System Events)... In my preferences I have this script somewhere: if the platform is MacOS then put the defaultFolder into tDF put the u_AutoOSX_one of this stack tDF the u_AutoOSX_two of this stack into tAS do tAS as Applescript end if I also have the two items as custom properties: u_AutoOSX_one tell application System Events get exists login item MY_APP_NAME if result is false then make new login item at end of login items with properties {path: u_AutoOSX_two - /Desk Doctor.app, hidden:true, kind:application, name:MY_APP_NAME} end if end tell HTH sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
You won't find many people who know more about AppleScript that Sal and Bill. Check out the long-running site and very well categorized http://applescriptsourcebook.com/ There are strange concepts that you need to get your head around or fall into hours of aggravation, eg repeat looping, get info, dictionaries that vary between vendors. The best learning is to see well-designed finished scripts and deconstruct them... live in script editor. Another step, if you are serious about going down the path is to consider the free editor program called Smile. Far better than Script Editor. Jim Ault Las Vegas On 12/6/07 10:56 AM, Mark Talluto [EMAIL PROTECTED] wrote: On Dec 5, 2007, at 2:16 PM, Ian Wood wrote: http://bbs.applescript.net/viewtopic.php?id=11314 Not tested here, though. Hi Ian, Thanks for pointing me to this tip. I am going to give it a run right now. With this particular app, I have the luxury of knowing it will be the only app this computer will run. It is similar in design to a kiosk and takes over the entire computer. Every time the computer is booted, my software must automatically boot up as well. Otherwise, I agree with you whole heartedly. I would have a pref for this so the user could choose. I really need to spend some time learning the basics of Applescript. I am looking at getting the following book. Any comments on books that were helpful to you? http://search.barnesandnoble.com/booksearch/isbnInquiry.asp? z=yEAN=9780321149312itm=3 Mark Talluto ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 6, 2007, at 8:04 PM, Jim Sims wrote: I've used the following (requires System Events)... I also have (if the prefs indicate they no longer want auto start): tell application System Events get exists login item MY_APP_NAME if result is true then delete login item MY_APP_NAME end if end tell HTH sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 6, 2007, at 11:02 AM, Jim Ault wrote: For me this works: Go system preferences, Accounts then click on the user, then choose 'login items' Add anything to the list using the + button, check mark toggle to have the item start as hidden or visible. This does not involve any alias files, but does require the admin password. Hope this helps you. Hi Jim, My distributors are doing this now. I am trying to speed up the process of setting up a new Mac to improve distribution speed. I will be working to have my software automatically manage things like: auto starting, energy savings, screen saver, and network device settings. Anything we can do to get these and included peripherals set up stuff down to a single click, the better for us all in the end. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 6, 2007, at 11:11 AM, Jim Ault wrote: You won't find many people who know more about AppleScript that Sal and Bill. Check out the long-running site and very well categorized http://applescriptsourcebook.com/ There are strange concepts that you need to get your head around or fall into hours of aggravation, eg repeat looping, get info, dictionaries that vary between vendors. The best learning is to see well-designed finished scripts and deconstruct them... live in script editor. Another step, if you are serious about going down the path is to consider the free editor program called Smile. Far better than Script Editor. Thanks Jim, I will be using that resource for sure! There is so much to learn. Makes getting up every morning that much sweeter. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 6, 2007, at 11:04 AM, Jim Sims wrote: I've used the following (requires System Events)... In my preferences I have this script somewhere: if the platform is MacOS then put the defaultFolder into tDF put the u_AutoOSX_one of this stack tDF the u_AutoOSX_two of this stack into tAS do tAS as Applescript end if I also have the two items as custom properties: u_AutoOSX_one tell application System Events get exists login item MY_APP_NAME if result is false then make new login item at end of login items with properties {path: u_AutoOSX_two - /Desk Doctor.app, hidden:true, kind:application, name:MY_APP_NAME} end if end tell Thanks Jim! I am all set. Extra thanks for turning it off in your other post. I will get this all set up for Ken Ray. Maybe this would be a good addition to his website. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On 6 Dec 2007, at 18:56, Mark Talluto wrote: I really need to spend some time learning the basics of Applescript. I am looking at getting the following book. Any comments on books that were helpful to you? http://search.barnesandnoble.com/booksearch/isbnInquiry.asp? z=yEAN=9780321149312itm=3 Sal Soghoian is basically 'Mr. Automation' at Apple, so he should certainly know his stuff. I've mostly learned AppleScript through tweaking other people's scripts until I could work out what was going on. Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On Dec 7, 2007 3:11 AM, Jim Ault [EMAIL PROTECTED] wrote: Another step, if you are serious about going down the path is to consider the free editor program called Smile. Far better than Script Editor. Jim is spot on the money with his recommendation of Smile, you'll find it here: http://www.satimage.fr/software/en/downloads/index.html There are two versions, a paid, extremely powerful version, and a free script editor. If you really do like waking up in the morning and learning, as apposed to say, wasting your time, then give Apple's ScriptEditor a miss and go with Smile. :-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
Hi Mark, No need to use AppleScript. It should be something like this: create alias /system/library/startupitems/yourapp.alias to file / volumes/diskimage/yourapp.app and you can do the same in Windows, using the path to the startup folder in the start menu folder. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 5-dec-2007, om 23:08 heeft Mark Talluto het volgende geschreven: Hello everyone, I am looking to have my app automatically set itself up to auto start at boot for Mac Win. This needs to be done via the application and not an installer. Mac: I am guessing this may be possible with applescript. Has anyone invented this wheel yet? Win: Copy over an alias of the app to the startup folder? If you have any thoughts on that, I am all ears. Thanks for your suggestions. Mark Talluto ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
User login preferences in OSX allows adding start up items. Admin privileges required and the user must have permissions that allow executing the file. Jim Ault Las Vegas On 12/5/07 2:29 PM, Mark Schonewille [EMAIL PROTECTED] wrote: Hi Mark, No need to use AppleScript. It should be something like this: create alias /system/library/startupitems/yourapp.alias to file / volumes/diskimage/yourapp.app and you can do the same in Windows, using the path to the startup folder in the start menu folder. Best regards, Mark Schonewille Op 5-dec-2007, om 23:08 heeft Mark Talluto het volgende geschreven: Hello everyone, I am looking to have my app automatically set itself up to auto start at boot for Mac Win. This needs to be done via the application and not an installer. Mac: I am guessing this may be possible with applescript. Has anyone invented this wheel yet? Win: Copy over an alias of the app to the startup folder? If you have any thoughts on that, I am all ears. Thanks for your suggestions. Mark Talluto ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
How to auto startup
Hello everyone, I am looking to have my app automatically set itself up to auto start at boot for Mac Win. This needs to be done via the application and not an installer. Mac: I am guessing this may be possible with applescript. Has anyone invented this wheel yet? Win: Copy over an alias of the app to the startup folder? If you have any thoughts on that, I am all ears. Thanks for your suggestions. Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to auto startup
On 5 Dec 2007, at 22:08, Mark Talluto wrote: Hello everyone, I am looking to have my app automatically set itself up to auto start at boot for Mac Win. This needs to be done via the application and not an installer. Mac: I am guessing this may be possible with applescript. Has anyone invented this wheel yet? Some quick searching on Google gives this: http://bbs.applescript.net/viewtopic.php?id=11314 Not tested here, though. Ian P.S. I strongly urge that you make it an *option* and not automatic... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution