Jump to content
Bllee

Script adicionar character

Recommended Posts

Olá, preciso de uma ajuda pois estou com bloqueio criativo.

Quero criar um script que por exemplo:

Vá de A até Z, quando chegar em Z ele irá adicionar mais um carácter e começar novamente ficando AA,AB,AC...e assim ir. E só oarar quando alcançar 5 casas

Edited by Bllee
Adicionar mais a pergunta

Share this post


Link to post
Share on other sites
; mutleey
; 14/07/2018

Local $chars[6]

SplashTextOn("msg", "...", 200, 50, -1, -1, 1, "", 16)

For $ii = 0 To 5
    For $jj = 97 To 122 ; a~z
        $chars[$ii] = Chr($jj)

        ControlSetText("msg", "", "Static1", $chars[5] & $chars[4] & $chars[3] & $chars[2] & $chars[1] & $chars[0])
        Sleep(150) ; pausa
    Next
Next

SplashOff()

 

Edited by mutleey
  • Like 1

Share this post


Link to post
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


×