Open app when a PC starts up

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Tue Nov 5 14:38:01 EST 2002


> Goal:  Have a Rev app open automatically when a PC starts up.
>
> Problem: VirtualPC on my Mac seems to add the shortcut but the Rev app
> doesn't open at startup on VPC...so I am left wondering if the issue is
VPC
> or my script.
>
> Anyone feel like testing the following script on a PC?
>
> on mouseUp
>   answer file "Which app to add?"
>   put it into tApptoAdd
>   set the itemDel to "/"
>   put last item of tApptoAdd into newApp
>   put specialFolderPath(7) into prefsLocation
>   create alias prefsLocation & "/"&newApp &"Shortcut.lnk" to file
   tApptoAdd
> end mouseUp
>
>
> tia
>
>
> sims

It could be that the "/" you are using as a delimiter of folders is the
problem. The "/" is a unix spec which was adopted by Rev for consistency,
but when shortcuts are made that will be used in the actual Windows OS, the
delimiter needs to be replaced by a backslash "\".

Roger Eller
roger.e.eller at sealedair.com






More information about the use-livecode mailing list