How to auto startup

Mark Talluto userev at canelasoftware.com
Thu Dec 6 15:37:59 EST 2007


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




More information about the use-livecode mailing list