So I spoke too soon. It looks like the launch command doesn’t actually send
command line options but rather sends the command to open the specified
document by the specified application. So I can open the application with the
document but not actually send it parameters other than to open a
Mark,
Bingo! I have it working now and it is a bit convoluted. The aliasReference
command in conjunction with knowing the actual path to the Start Menu makes it
work.
Here is the final code for Windows.
set the hideConsoleWindows to true —so we don’t get the cmd window
flashing
Hello LC'ers,
I need to launch a function within my LC application. How would I properly
format a launch URL statement that launches a file with command line
options? For instance, what I need to launch is:
C:\Program Files (x86)\MyProgram\file.exe /P myfile.txt
Every way I try to format the
Got it working. Ended up with this to get it working:
launch c:/Program Files (x86)/MyProgram/file.exe /P
QUOTEmyfile.txtQUOTE
On Mon, Jun 30, 2014 at 3:07 PM, Magicgate Software - Skip Kimpel
s...@magicgate.com wrote:
Hello LC'ers,
I need to launch a function within my LC application.
Bill-
Monday, June 30, 2014, 7:03:25 PM, you wrote:
The cmd window in Windows7 supports command line options for .lnk
files so I wonder if this is a LiveCode limitation of the launch
command.
For .lnk files, check out the aliasReference function.
--
-Mark Wieder
ahsoftw...@gmail.com
This