Bob,
Here is code I use to launch an external program (boxcutter.exe) that grabs
a portion of the screen specified by the passing parameters, and stores it
in an image file:
SET VAR vGraphFile TEXT = ('web_screen.bmp')
SET VAR vLaunchProg = 'boxcutter.EXE'
SET VAR vLaunchParams = ('-c 4,4,548,400' & .vGraphFile)
SET VAR vLaunch = (.vLaunchProg & '|' & .vLaunchParams & '|W')
LAUNCH .vLaunch
I ran into the same issues you have and creating a variable from the
separate parts finally did the trick. Modify it to fit your parameters and
see if it works for you.
Javier,
Javier Valencia, PE
913-829-0888 Office
913-915-3137 Cell
913-649-2904 Fax
<mailto:[email protected]> [email protected]
_____
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, April 13, 2011 6:43 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Launch Question
Sorry, we crossed emails.
I cut and pasted the below with the same results.
Program fires, but does not seem to get the parameters correctly.
I have to leave for the night, so hopefully tomorrow will bring better
results!
Thanks again.
-Bob
----- Original Message -----
From: "Mike Byerley" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, April 13, 2011 6:24:06 PM
Subject: [RBASE-L] - Re: Launch Question
I mean like:
SET VAR vlaunch = 'Launch HTTPGET.exe'
SET VAR vparameters = '-0 "Test.dat" -r -S "*SRA" 192.168.0.83:1000'
SET VAR vlaunch = (.vlaunch + '|' + .vparameters + '|W')
&vLaunch
also, the & you used in your Parameter string is not required as there are
no spaces around the pipe symbol..
----- Original Message -----
From: <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, April 13, 2011 4:36 PM
Subject: [RBASE-L] - Launch Question
My day to ask questions! I need to launch an external program with
parameters. Here is my code:
set var vLaunch = 'HTTPGET.exe'
set var vParameters = '-0 "Test.dat" -r -S "*SRA" 192.168.0.83:1000'
set var vLaunch = (.vLaunch & '|' & .vParameters & '|W')
Launch .vLaunch
It does not work. Are the double quotes allowed in the parameters?
Any other thoughts?
Thanks again,
-Bob