Sign in to follow this  
Followers 0
jim1

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

6 posts in this topic

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

Share this post


Link to post
Share on other sites



Search the forum for FF.au3. It has everything you need to control Firefox like IE.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

thanks

anyone know how to password a script so it will ask me a password before it enters main gui?

Share this post


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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 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.

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
Sign in to follow this  
Followers 0