Is it possible to pass an ordinary command line parameter to a KiX script?
For example, I want to call a KiX script with the following command line:
Quote:
openfile.kix myfile.txt
Now, before you scream "RTFM!" at me, I've read the manual enough to see that it is possible to do something like this:
Quote:
openfile.kix $filename="myfile.txt"
however, this causes me problems because the actual command line I need to send to the KiX script is being produced by another application whose sources I do not have access to, so I'm stuck with the output it wants to give, which does not include the $filename= part. (Massaging this output before sending it to the KiX script would defeat the purpose of writing this script using KiX rather than, say, Perl.)
In a DOS batch file, I can access any command line parameter using the %1, %2, etc. syntax. Is there anything directly comparable to this in KiX that I missed?
_________________________