run command line app in windows

Bob Hartley rev at armbase.com
Sat May 14 17:16:03 EDT 2005


At 21:31 14/05/2005, you wrote:

>On 5/14/05 8:02 AM, "Bob Hartley" <rev at armbase.com> wrote:
>
> > At 13:35 14/05/2005, you wrote:
> >
> >> Hi Bob,


Hio Ken

Just replied to xavier before I saw yours.

Thanks for the tip, I did indeed see a dos window starting up.
My script was

on mouseUp
   put "C:\Armbase\PDATconv.exe /I" && quote & "C:\Armbase\TestApp1DB.xdf" 
& quote into mycommandline
   get shell(mycommandline)
end mouseUp


I changed it to

on mouseUp
   set the hideConsoleWindows to true
   put "C:\Armbase\PDATconv.exe /I" && quote & "C:\Armbase\TestApp1DB.xdf" 
& quote into mycommandline
   get shell(mycommandline)
end mouseUp

AND it works great.

Thanks for the top tip.

cheers
bob
> >
> >
> > Hi Xavier
> >
> >
> >> do you mean ?:
> >>
> >> put "pdatconv /I" && quote & "INV1.XDF" & quote into mycommandline
> >> get shell(mycommandline)
>
>Also don't forget to "set the hideConsoleWindows to true" before you make
>the shell() call, otherwise you'll see a DOS box show up as it's making the
>call.
>
>Ken Ray
>Sons of Thunder Software
>Web site: http://www.sonsothunder.com/
>Email: kray at sonsothunder.com
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 13/05/2005


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 13/05/2005




More information about the use-livecode mailing list