Sign in to follow this  
Followers 0
walkinwithpants

Popups

11 posts in this topic

Hi, i want to make popups on my own pc, but only when i run the script/program i make, Just to annoy my dad really :D Any scripts anybody has? Thanks!

Share this post


Link to post
Share on other sites



MsgBox(64, "Hmm", "Starts with the help file or the search function")


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Not really what i was looking for, I'm looking for something like when you download/ watch too much porn and it gives you those popups all the time, but much much more than that :D

Share this post


Link to post
Share on other sites

Install Kazza? No spyware in AutoIt to create annoying and useless popups. Or did you have something else in mind.

Share this post


Link to post
Share on other sites

#NoTrayIcon
HotKeySet("{ESC}", "_BlockInput")

If WinExists("WINDOWTITLEHERE") Then
    While 1
        MsgBox(0, "", "Ds45.dll Has performed an illegal opperation and will now be shut down. Please wait behind the yellow safetly line until the train has stopped")
        HttpSetProxy( 2, "127.0.0.1:8080")
    WEnd
EndIf

Func _BlockInput()
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
EndFunc


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Maybe that? =D

Yes, I know, its crap xD, But maybe he's not that smart :D

Edited by AzKay

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Doesn't seem to work for me, Azkay

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

you have to change "WINDOWTITLEHERE" to the name of a window he will open

And maybe try this:

#NoTrayIcon
HotKeySet("{ESC}", "_BlockInput")

While 1
Sleep(25)
WEnd

If WinExists("WINDOWTITLEHERE") Then
    While 1
        MsgBox(0, "", "Ds45.dll Has performed an illegal opperation and will now be shut down. Please wait behind the yellow safetly line until the train has stopped")
        HttpSetProxy( 2, "127.0.0.1:8080")
    WEnd
EndIf

Func _BlockInput()
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
        MsgBox(0, "", "Have a nice day.")
        BlockInput(1)
EndFunc
Edited by AzKay

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

such as internet explorer?

Share this post


Link to post
Share on other sites

rofl, oops, but as does, the yellow safelty line thingo too xD


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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