Jump to content

how to open pages with tabs at firefox?and how to password a script?


jim1
 Share

Recommended Posts

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

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

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

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