How to pass a command line parameter to a windows standalone
Posted: Mon May 23, 2011 6:03 pm
Hi All,
I must be missing something here.
Having problems creating a windows standalone that will read the parameters passed at time of execution.
For example... using a LiveCode standalone named para.exe the command line would simply be something like
c:\para.exe byteme
I would expect the word "byteme" to be displayed in the field named "fName"
I am sure that I am just getting frustrated and missing the obvious but i cant find the answer.
Thanks in advance - Shane
I must be missing something here.
Having problems creating a windows standalone that will read the parameters passed at time of execution.
For example... using a LiveCode standalone named para.exe the command line would simply be something like
c:\para.exe byteme
Code: Select all
on preOpenScript
put $1 into field "fName"
end preOpenScript
I am sure that I am just getting frustrated and missing the obvious but i cant find the answer.
Thanks in advance - Shane