#74974 - 2003-05-12 03:33 PM
Using BOX() and AT()
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
I have written the following script :
code:
COLOR G+/N BOX(25,0,29,40,"+-+|+-+|") AT (26,1) "Lancement des applications : " AT (27,1) "Bloomberg, FactSet, FirstCall Reuters" AT (28,1) "DataStreal Advance, FinXS, FinWin" COLOR W/N @CRLF
When I ran this script as a stand-alone to test if the placement of the box was correct it showed up correctly on the screen, as seen below :
code:
+---------------------------------------+ |Lancement des applications : | |Bloomberg, FactSet, FirstCall Reuters | |DataStreal Advance, FinXS, FinWin | +---------------------------------------+
However when I integrated the code into my script I get something like the following on my screen :
code:
+---------------------------------------++-------------------------------------- -+Lancement des applications : Bloomberg, FactSet, FirstCall ReutersDataStreal A dvance, FinXS, FinWin
Does anybody have any ideas why it is doing this? I have other boxes that don't seem to have this problem.
Thanks in advance, Z.
|
|
Top
|
|
|
|
#74976 - 2003-05-12 03:41 PM
Re: Using BOX() and AT()
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
Jochen,
Thanks for the idea, but unfortunately it didn't work. I still get the same thing. I am trying to do this under NT4.
Any other ideas?
thx
|
|
Top
|
|
|
|
#74978 - 2003-05-12 03:57 PM
Re: Using BOX() and AT()
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
Actually the "@CRLF" is there because I copied it by mistake. It should be there for the rest of my script to skip a line before displaying the next bit of info.
However, I did take out the "@CRLF" and tried to replace it with a "?" instead, but I get the same results
|
|
Top
|
|
|
|
#74980 - 2003-05-12 04:19 PM
Re: Using BOX() and AT()
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
I will just add a portion of the remainder of the scirpt. For a variety of reasons I can't add more.
Here is what the script looks like :
code:
BREAK ON $nul=SETTITLE ("Script de lancement des Applications Flux") ; ;************************************************* Les applications a lançait ************************************************ ; COLOR G+/N BOX(25,0,29,40,"+-+|+-+|") AT (26,1) "Lancement des applications : " AT (27,1) "Bloomberg, FactSet, FirstCall Reuters" AT (28,1) "DataStreal Advance, FinXS, FinWin" COLOR W/N @CRLF ; ;************************************************* Lancment de Reuters XDE4 ************************************************ ; ? "Lancement de Reuters Kobrea XDE4" ;Lancement de Reuters XDE4 ; RUN'%ComSpec% /c "C:\DIRECTORY STRUCTURE\kobra.exe"' ; ;************************************************* Lancment de Bloomberg + Excel ************************************************ ; ? "Lancement de Bloomberg" ;Lancement de Open Bloomberg ; RUN '%ComSpec% /c "C:\DIRECTORY STRUCTURE\wintrv.exe"'
I don't know if that will help any because the rest of the script runs just fine. [ 12. May 2003, 16:21: Message edited by: zdarma ]
|
|
Top
|
|
|
|
#74983 - 2003-05-13 02:40 PM
Re: Using BOX() and AT()
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
I've decided to design my "box" by hand. I know there is probably a little somethin' somethin' that I'm missing in the script, but I've wasted enough time trying to make my box with the BOX() command.
Even though I have 4 other boxes that work fine, if I have to do one of them by hand, hey no biggie.
Thanks to all for their suggestions. If I have more time in the future I'll try and figure out where the problem is.
Zd.....
|
|
Top
|
|
|
|
#74986 - 2003-05-16 12:06 AM
Re: Using BOX() and AT()
|
zdarma
Getting the hang of it
Registered: 2002-10-08
Posts: 83
|
Jochen,
I'm using NT4 (French). I don't know if its a langauge issue. The standard setting for the "DOS Windows" is the same for height/width and screen buffer size is : 130 x 300. I'm using the version of Kix 4.20.
I don't know what's going on. As I said previously I did one box by hand (not the most fun I've had in a while, mind you) and alls seems to be working fine (for now that is).
Thx, Z.
|
|
Top
|
|
|
|
#74988 - 2003-05-15 02:14 PM
Re: Using BOX() and AT()
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1782 anonymous users online.
|
|
|