#130637 - 2004-12-06 10:41 AM
run kixfile with params
|
expodium
Fresh Scripter
Registered: 2004-07-14
Posts: 35
|
hi,
I wanna make a kixfile and when running, i put 1 pmarameter.
Ex. : test.exe old
How i can get the "old" parameter so i can use in the code?
Many thanks to all
expodium
|
|
Top
|
|
|
|
#130638 - 2004-12-06 11:15 AM
Re: run kixfile with params
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
This will set the variable $sMyVar in your script: Code:
kix32.exe myscript.kix $sMyVar="old"
|
|
Top
|
|
|
|
#130639 - 2004-12-06 12:24 PM
Re: run kixfile with params
|
expodium
Fresh Scripter
Registered: 2004-07-14
Posts: 35
|
thanks for the answer but still not working.
How to use it in a shortcut?
i made it first as a executable file and then i need a shortcut of that file and in that shortcut, i put the params in it
Ex: c:\extvar.exe myvar="old"
when, i catch the parameter, its empty.
regards,
expodium
Edited by expodium (2004-12-06 12:43 PM)
|
|
Top
|
|
|
|
#130642 - 2004-12-06 02:40 PM
Re: run kixfile with params
|
expodium
Fresh Scripter
Registered: 2004-07-14
Posts: 35
|
with or without a $, still not working.
i made a executable file with kixtart editor registered at my job.
regards,
expodium
|
|
Top
|
|
|
|
#130645 - 2004-12-06 08:57 PM
Re: run kixfile with params
|
Anonymous
Anonymous
Unregistered
|
sorry, it's kixscript editor 1.7
i try it in a shortcut but it dont work.
expodium
|
|
Top
|
|
|
|
#130646 - 2004-12-06 09:17 PM
Re: run kixfile with params
|
expodium
Fresh Scripter
Registered: 2004-07-14
Posts: 35
|
stevie,
can you give me some example with %ASEEXEARGS%?
many thanks
expodium
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|