Jump to content

SplashTextOn, make a list with @LF


 Share

Recommended Posts

Hey

Iam trying to make a list appear one by one downwards, like this;

a

b

c

d

When I use this script, the lins just refresh....

Dim $text[10]
$text[0] = "JPM"
$text[1] = "Setter datamaskinnavn random"
$text[2] = "Legger inn åpne CMD vindu hvorsomhelst"
$text[3] = "IrfanView 4.10"
$text[4] = "Jeremy"
$text[5] = "Valik"
$text[6] = "Cyberslug"
$text[7] = "Nutster"
$text[8] = "JdeB"
$text[9] = "Tylo"




SplashTextOn("Nytte Programmer", " Programmer som burde vært inkludert i WinXp.", -1, -1, -1, -1, 4, "", 17)
Sleep(3000)
SplashOff()


;; SMOOTH
    $message = $text 
SplashTextOn("Instalerer følgende", $message, -1, -1, -1, -1, 4, "")
For $x = 0 to 9
    $message =  $text[$x] & @LF
    ControlSetText("Instalerer følgende", "", "Static1", $message)
    sleep(500)
Next

Can anybody pls. help?

Link to comment
Share on other sites

Dim $text[10]
$text[0] = "JPM"
$text[1] = "Setter datamaskinnavn random"
$text[2] = "Legger inn åpne CMD vindu hvorsomhelst"
$text[3] = "IrfanView 4.10"
$text[4] = "Jeremy"
$text[5] = "Valik"
$text[6] = "Cyberslug"
$text[7] = "Nutster"
$text[8] = "JdeB"
$text[9] = "Tylo"




SplashTextOn("Nytte Programmer", " Programmer som burde vært inkludert i WinXp.", -1, -1, -1, -1, 4, "", 17)
Sleep(3000)
SplashOff()


;; SMOOTH
    $message = $text
SplashTextOn("Instalerer følgende", $message, -1, -1, -1, -1, 4, "")
$Prev = ""
For $x = 0 to 9
    $message =  $Prev&@CRLF&$text[$x]
    $Prev = $message
    ControlSetText("Instalerer følgende", "", "Static1", $message)
    sleep(500)
Next

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Link to comment
Share on other sites

ThankYou

Now that was a fast reply <_<

And works !!!

Dim $text[10]
$text[0] = "JPM"
$text[1] = "Setter datamaskinnavn random"
$text[2] = "Legger inn åpne CMD vindu hvorsomhelst"
$text[3] = "IrfanView 4.10"
$text[4] = "Jeremy"
$text[5] = "Valik"
$text[6] = "Cyberslug"
$text[7] = "Nutster"
$text[8] = "JdeB"
$text[9] = "Tylo"
SplashTextOn("Nytte Programmer", " Programmer som burde vært inkludert i WinXp.", -1, -1, -1, -1, 4, "", 17)
Sleep(3000)
SplashOff()
;; SMOOTH
    $message = $text
SplashTextOn("Instalerer følgende", $message, -1, -1, -1, -1, 4, "")
$Prev = ""
For $x = 0 to 9
    $message =  $Prev&@CRLF&$text[$x]
    $Prev = $message
    ControlSetText("Instalerer følgende", "", "Static1", $message)
    sleep(500)
Next
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...