Re: Launch URL to run Windows program using command line switches

2014-07-01 Thread Bill Vlahos
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

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Bill Vlahos
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 docu

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Mark Wieder
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 Th

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Bill Vlahos
Skip, This is great. I’ve been struggling with this for a couple of weeks now without success. This works for me when I point to a .exe file but not if I point to a link file (.lnk) such as in the Start Menu folder. The reason I want to use the .lnk file in Start Menu is that the actual applic

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Magicgate Software - Skip Kimpel
Got it working. Ended up with this to get it working: launch "c:/Program Files (x86)/MyProgram/file.exe /P ""E&"myfile.txt""E 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

Launch URL to run Windows program using command line switches

2014-06-30 Thread Magicgate Software - Skip Kimpel
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