Page 1 of 1 1
Topic Options
#47144 - 2003-10-22 07:26 AM Visible script
Stefan Olsson Offline
Fresh Scripter

Registered: 2003-06-05
Posts: 11
Loc: Sweden
Hi. Is it in Kix32 possible to keep the script visible, so that the user see what the script currently is doing? Like running a .bat-file without echo off-mode?
Thanx
/Stefan

Top
#47145 - 2003-10-22 08:07 AM Re: Visible script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
As this is the default behavior of Kix32 executed scripts you might have problems with this? :

W2k/XP - Keep the Window visible on login?

hth
_________________________



Top
#47146 - 2003-10-22 09:56 AM Re: Visible script
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Stefan,

The short answer is "no", there is no way to do this automatically.

You can use the debug option to step through a script if you are having problems, but if you simply want to display to screen each command before it runs you will need to manually echo the command to the console.

One of MCA's tools might do the jobs for you, but they tend to output an awful lot of data, so are not useful in production.

Top
#47147 - 2003-10-22 10:19 AM Re: Visible script
Stefan Olsson Offline
Fresh Scripter

Registered: 2003-06-05
Posts: 11
Loc: Sweden
Thanks. I used the '?'-command to send a summary information at each part of the script. That will do.
[Embarrassed] )

Top
#47148 - 2003-10-22 11:14 AM Re: Visible script
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
? creates a new line.
Just typing "Test line which shows on screen" will also display the text between the "" signs on screen.
Variables can also be shown "Test variable value: " $variable also shows on screen. The variable could be included between the "" signs but for clean coding use $variable.

? would be much more readable though when multiple lines are displayed.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#47149 - 2003-10-22 03:19 PM Re: Visible script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See also the FAQ Forum under Is '?' a PRINT or NEWLINE command?
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 837 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.054 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org