jim1 Posted March 22, 2009 Share Posted March 22, 2009 Hello i am trying to make a script to enter sites from firefox but i dont know how to make it to open in tabs. so questions are 1)how to write at autoit to open a site in a new tab? 2)also how i can make a script ask for password before i enter main gui? can anyone help me a bit at those. what are the command i need and maybe a small example if u can Link to comment Share on other sites More sharing options...
dantay9 Posted March 22, 2009 Share Posted March 22, 2009 Search the forum for FF.au3. It has everything you need to control Firefox like IE. Link to comment Share on other sites More sharing options...
jim1 Posted March 22, 2009 Author Share Posted March 22, 2009 thanks anyone know how to password a script so it will ask me a password before it enters main gui? Link to comment Share on other sites More sharing options...
Authenticity Posted March 22, 2009 Share Posted March 22, 2009 You can make a CRC32 or MD5, etc.. key of your hard disk serial number and preform a check to see if the string key match the MD5 key of the hard disk. It'd be wiser to drop some false functions to and crappy code to despair the novice reverser though I believe most won't go this way on your computer, but it's always better to put as many fast crap as possible. The rest is clear I think. Link to comment Share on other sites More sharing options...
jim1 Posted March 22, 2009 Author Share Posted March 22, 2009 can u plz make it a bit more clear what is CRC32 or MD5 and how exactly i find hard disk key and what exactly u mean perform a check and how u do it? Link to comment Share on other sites More sharing options...
Hawkwing Posted March 22, 2009 Share Posted March 22, 2009 (edited) You could use something like this: #include <editconstants.au3> #include <guiconstants.au3> Opt ("guioneventmode", 1) $gui = GUICreate ("Password", 200, 33) $input = GUICtrlCreateInput ("", 5, 5, 130, 23, $es_password) GUICtrlCreateButton ("Enter", 140, 5, 55, 23) GUICtrlSetOnEvent (-1, "password") GUISetOnEvent ($gui_event_close, "close") GUISetState (@SW_SHOW) While WinExists ("Password") Sleep (100) WEnd ;~ rest of script here Func password () If GUICtrlRead ($input) = "put password here" Then GUIDelete ($gui) Else GUICtrlSetData ($input, "") EndIf EndFunc Func close () Exit EndFunc Edited March 22, 2009 by pigeek The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now