#127657 - 2004-10-09 09:14 PM
Start using a script
|
Anonymous
Anonymous
Unregistered
|
Hi, I have looked around for an hour or so, also looked at the beginners guide etc, I'm a newbie, all I really want to do (for a start) is run one script the osid one mentioned elsewhere, I've tried wkix32.exe osid.kix (which I've named it) maybe it runs but it doesn't produce any output. Help!
|
|
Top
|
|
|
|
#127659 - 2004-10-09 09:26 PM
Re: Start using a script
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
When you start to learn to use KiXtart, I recommend that you open a CMD window and use Kix32.exe from the command prompt. This way the windows remains after execution and you can any output.
|
|
Top
|
|
|
|
#127661 - 2004-10-09 09:35 PM
Re: Start using a script
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
You stated above the you were using wkix32.exe . I suggested tha you use Kix32.exe. Now you state that is exactly what you are doing. Which is it?
The link you provided is no longer valid.
Edited by Howard Bullock (2004-10-09 09:36 PM)
|
|
Top
|
|
|
|
#127662 - 2004-10-09 09:43 PM
Re: Start using a script
|
Anonymous
Anonymous
Unregistered
|
Sorry, I meant I was doing it from the cmd prompt, however (sorry) I was using wkix32.exe, however I've just tried the same with kix32.exe with the same result. Just don't know what I should be doing
|
|
Top
|
|
|
|
#127663 - 2004-10-09 09:48 PM
Re: Start using a script
|
Anonymous
Anonymous
Unregistered
|
|
|
Top
|
|
|
|
#127664 - 2004-10-09 09:48 PM
Re: Start using a script
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I have looked up the OSID() UDF. I understand that you have this in a script file. Are you actually calling the UDF? Have you read the FAQ How to use UDFs ?
|
|
Top
|
|
|
|
#127666 - 2004-10-09 09:57 PM
Re: Start using a script
|
Anonymous
Anonymous
Unregistered
|
no, I didn't really know what a udf was! So it seems that I have to start the script inside the script itself? eg break on
$abc = OSID()
"Operating system = " $ab
get $_ Exit 1
(followed by the rest) for example?
|
|
Top
|
|
|
|
#127669 - 2004-10-09 10:07 PM
Re: Start using a script
|
Anonymous
Anonymous
Unregistered
|
Because I am a newbie?
|
|
Top
|
|
|
|
#127670 - 2004-10-09 10:33 PM
Re: Start using a script
|
Anonymous
Anonymous
Unregistered
|
Thanks to everyone who replied, in particular shawn, its now working! and I'm a little wiser
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1046 anonymous users online.
|
|
|