Launch another app from my standalone

Sarah Reichelt sarah.reichelt at gmail.com
Sat Aug 29 07:21:50 EDT 2009


On Sat, Aug 29, 2009 at 4:15 PM, Adrian Williams<adrian at clubtype.co.uk> wrote:
> 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

"it" varies all the time depending on what is happening. Are you sure
it is set to a folder path before this mouseUp?
And then it apparently changes to an application or document path
since you then "launch" using "it".

Sorry, but I don;t understand what you are trying to do. When you
listed these three lines in an earlier email, I assumed they were
three separate examples. I didn't realise you were actually using them
in a sequence.

I think you need to be much more specific about what folder you want
to use and what you want to launch. Relying on "it" retaining a
consistent value is a bad idea.

Cheers,
Sarah



More information about the use-livecode mailing list