Results 1 to 3 of 3

Thread: password script and more :)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    52
    Posts
    944
    Rep Power
    111

    password script and more :)

    hi all

    I have found yesterday an old password script on my notebook( I have to create it new! worked with sub function method) but it didn't fit into thinbasic language or do what I wished... eros has helped a little, so I have built this example...

    may be one day thinbasic or your own little thinbasic script has to get a password to start the application or you are using a trial version... doesn't matter...

    one little example with two loops

    info: use "q" and then "f" to quit the console script! to make it faster...

    more to come... I have some new ideas with this script...

    my bad example looked like this:

    [code=thinbasic]
    Function Passwort() As String
    Dim strPasswort As String
    Dim strBuffer As String
    DIM strInput as String

    Printl strInput
    Do
    Sleep 10
    strBuffer = Console_InKeyB()
    If strBuffer <> "" Then
    If Asc(Left$(strBuffer, 1)) = 13 Then Exit Do
    If Asc(Left$(strBuffer, 1)) = 8 Then
    strPasswort = Left$(strPasswort, Len(strPasswort) - 1)
    Len(strPasswort) + Len(strInput) + 1
    Printl (" ")
    Len(strPasswort) + Len(strInput) + 1
    Else
    strPasswort += strBuffer
    Printl ("******")
    EndIf
    End If
    Loop
    PrintL ("")
    Return strPasswort
    End Function
    [/code]

    I was very near at the aim

    sincerely Mr. Lionhead
    ...unfortunately with headache from a birthday and wine party last night...

    saturday early in the mornging edit: ps: sorry, I delete the attachment for building new "password" script version complete and with some new functions so I have in mind... better to make a clear big issue than three, four little parts - all work in progress...
    Attached Images Attached Images
    you can't always get what you want, but if you try sometimes you might find, you get what you need

Similar Threads

  1. username and password in script
    By sandyrepope in forum thinBasic General
    Replies: 11
    Last Post: 25-07-2007, 09:25

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •