How to call exe program from metacard

MisterX b.xavier at internet.lu
Fri Sep 9 11:30:50 EDT 2005


Pradeep

i know it works on nt4, nt5 and w2003...
I find it hard to believe it wouldn't work in 
XP ;)

if you do use shell("start ....

use the switch "start /b" to avoid creating a new window...

see start /? in a command line for more info

cheers
Xavier 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> MITTAL Pradeep Kumar
> Sent: Friday, September 09, 2005 13:53
> To: use-revolution at lists.runrev.com
> Subject: RE: How to call exe program from metacard
> 
> I am using   set the hideConsoleWindows to true but it does 
> not hide the
> window ( I tested on windows XP)
> 
> ~pradeep
> 
> -----Original Message-----
> From: MITTAL Pradeep Kumar
> Sent: Friday, September 09, 2005 12:49 PM
> To: 'use-revolution at lists.runrev.com'
> Cc: 'rev at armbase.com'
> Subject: RE: How to call exe program from metacard
> 
> 
> Thanks Bob,
> 
> By putting all the commands in batch file and using the shell 
> command I
> can achieve what I wanted. But when I run shell command then command
> prompt window comes in front. Is there any way to minimize the command
> winow??
> 
> When I close my exe program, I would like to delete it once it is
> closed. Is it possible to delete the program from meta card or from
> shell script which can be put in seperare thread.? 
> Please let me know if you have some idea
> 
> 
> Thanks for your help
> Best Regards
> Pradeep
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: rev at armbase.com [mailto:rev at armbase.com] 
> Sent: Friday, September 09, 2005 12:01 PM
> To: MITTAL Pradeep Kumar
> Subject: Re: How to call exe program from metacard
> 
> 
> Quoting MITTAL Pradeep Kumar <PradeepKumar.MITTAL at insead.edu>:
> 
> > Hello,
> 
> Hi There
> >
> > Is it possible to run executable program from metacard ??
> 
> It is possible from runtime revolution, so I assume MC is the 
> same. You 
> can use
> the shell command.  I don't have an example here at hand but it is
> findable on
> http://www.google.com/advanced_search?q=site:lists.runrev.com
> 
> eg
> http://lists.runrev.com/pipermail/use-revolution/2004-November
> /046289.ht
> ml
> 
> shows how to run multiple commands to a command line app.
> 
> Cheers
> Bob
> 
> _______________________________________________
> 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