Jump to content

Random combination


Recommended Posts

Hi all :)

First of all, i want to give thanks to this forum wich makes possible that everyday more and more persons get interested in AutoIt.

I started using AutoIt a few months ago, but i confess, I`m still a newbie, I have made several programmes, yeah, but nothing much complicated, trust me...

I read this forum since quite time ago, but today I decided to register, because i think there are nice persons that try to help each other, and good ambient etc etc...so...i think all of you will be very helpfull for me, and, of course, if i can help you in something, only say it muttley

Well, now i will explain what I`m trying to do...

Is quite simple (the idea i mean) but I dont know how to bring that idea into code ^^

I`m trying to make a Automatic Password Generator, with the objetive of improving safety of people`s passwords, and I hope this software will help people to have more security passwords in the accounts, msn, etc...

So, I have a Form, and a Button, and a EditControl, and I want that when you click on the button, a random combination of numbers and letters will appear into the Edit...

I have been looking at the Help file and I found a commando called Rand, yeah, but i have tried it one time and other and other and i didn´t get nothing....

So....i would be very gratefull if someone could give me a little help with this...and, if its possible, exemplify it with code :(

Thank you so much ^^

Link to comment
Share on other sites

Look at my signature. muttley

"Password Generator"

-AlmarM-

Edited by AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

Oh, God, yeah, that was just what i want :)

Well, i wanted to make one simple, but I have tried yours and i see that its very complete, besides it has an historial of the created passwords and it gives you the possibility of add special characters and....wow, very nice job man, i will take a look more detailed at your code and i will try to make my own, thank you man muttley

Link to comment
Share on other sites

Ummm....guys...i have a strange problem....I have started to make my own Password Generator, and i have made the next code

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Safe Password Generator[By Invisible_Hack]", 387, 109, 161, 185)
GUISetBkColor(0x00FF00)
$Button1 = GUICtrlCreateButton("Generar", 56, 64, 105, 25)
GUICtrlSetFont(-1, 12, 800, 2, "MS Sans Serif")
GUICtrlSetBkColor(-1, 0x808080)
$Label1 = GUICtrlCreateLabel("Password", 8, 24, 60, 18)
GUICtrlSetFont(-1, 8, 400, 2, "Georgia")
$Aqui = GUICtrlCreateInput("", 80, 24, 145, 21)
$Button2 = GUICtrlCreateButton("About...", 184, 64, 89, 25)
GUICtrlSetFont(-1, 10, 800, 2, "MS Sans Serif")
GUICtrlSetBkColor(-1, 0x808080)
$Label2 = GUICtrlCreateLabel("PH2006 SOFTWARE", 248, 24, 122, 17)
GUICtrlSetState($Label2, $GUI_DISABLE)
GUICtrlSetFont(-1, 8, 800, 2, "Microsoft Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
            Case $nMsg = $Button1
$Read_Char = GUICtrlRead($Aqui)
Random($Read_Char)
GUICtrlSetData($Aqui, Random($Read_Char))
    EndSwitch
WEnd

When I execute it, in the editbox it appear one zero (I dont know why) and besides when I push on the "Generar" button it doesnt generate the pass....

So....can someone help me with this? Thnx all, guys ^^

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...