Launch another app from my standalone

Adrian Williams adrian at clubtype.co.uk
Sat Aug 29 02:15:37 EDT 2009


Progress, but my double use of "it" causing a NilObjectException  
problem?
Is there a way to avoid using "it"?

on mouseUp
set the defaultFolder to it
launch "myWindowsApp.exe"
launch it

answer "Continue" with "OK"
if it is "OK" then
quit
end mouseUp

Thanks,
Adrian



On 28 Aug 2009, at 15:57, J. Landman Gay wrote:

> Adrian Williams wrote:
>> Thanks Ray, but I don't want a navigation dialog to select it, I  
>> want the app to launch automatically.
>> Adrian
>
> The problem is probably a path issue. If you are only referring to  
> the application by its short file name, then make sure the  
> defaultFolder is set to the one containing your standalone.  
> Alternately you can construct a full file path by getting your  
> standalone's mainstack file name and replacing the last item after  
> the final slash with your second app's name.
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list