Jump to content

Pause While key is held down


 Share

Recommended Posts

I am trying to make my popup killer pause while a key is pressed so i can open certian windows that is blocks.I am pretty sure i have to use either dllcall or hotkeyset to do this but cannot figure out how.

Any Help would be greatly appreicated,

SolidSnake

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Link to comment
Share on other sites

I am trying to make my popup killer pause while a key is pressed so i can open certian windows that is blocks.I am pretty sure i have to use either dllcall or hotkeyset to do this but cannot figure out how.

                Any Help would be greatly appreicated,

                              SolidSnake

<{POST_SNAPBACK}>

Search the forums for _IsPressed, a really useful function. It´ll help you :lmao:

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Link to comment
Share on other sites

hey! i was working on a popup blocker too :lmao: but i just gotta find a way to drag and trop the IE icon in the topleft of a window and be able to add it to an input, but it wont let that, just filenames, anyone have any ideas ? (sorry if i hijacked your post:()

FootbaG
Link to comment
Share on other sites

To do the pause while pressed try this (note, must have _IsPressed):

HotKeySet(key, 'Pause')
Func Pause()
     Do
          Sleep(1)
     Until Not _IsPressed(key code)
EndFunc

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Link to comment
Share on other sites

This may be why You usually look at a help file before you ask where to find it. Just remember, when in doubt consult the help file. When the helpfile sucks ass and you can't find anything, consult experts. As a last resort PM Jon, and if you are so depressed and can't figure it out, just give up!

Link to comment
Share on other sites

This may be why You usually look at a help file before you ask where to find it.  Just remember, when in doubt consult the help file. When the helpfile sucks ass and you can't find anything, consult experts.  As a last resort PM Jon, and if you are so depressed and can't figure it out, just give up!

<{POST_SNAPBACK}>

yea what were you thinking?
FootbaG
Link to comment
Share on other sites

  • 2 months later...

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