Jump to content

Recommended Posts

just ispressed enter... per help

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    Sleep ( 250 )
    If _IsPressed("0D", $dll) Then
        MsgBox(0,"_IsPressed", "Enter Key Pressed")
        ExitLoop
    EndIf
WEnd
DllClose($dll)

i tried zero & D and Letter O & D

???

thx

8)

Edited by Valuater

NEWHeader1.png

Link to post
Share on other sites

Hi,

this works for me

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    Sleep ( 10 )
    If _IsPressed("0D", $dll) Then
        MsgBox(0,"_IsPressed", "Enter Key Pressed")
       ;ExitLoop
    EndIf
WEnd
DllClose($dll)

Seems to work! :o

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to post
Share on other sites

thanks...

Duh!!! ( on me )

8)

:o I had to look up Duh! I found www.leo.org

Don't confuse Homer's ''D'oh'' with ''Duh''

D'oh - is an exclamation for ''Oh No'' or ''whoops'', showing annoyance

Duh is more like ''of course'', or ''don't be stupid, that's obvious''

Very funny!

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to post
Share on other sites

just ispressed enter... per help

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    Sleep ( 250 )
    If _IsPressed("0D", $dll) Then
        MsgBox(0,"_IsPressed", "Enter Key Pressed")
        ExitLoop
    EndIf
WEnd
DllClose($dll)

i tried zero & D and Letter O & D

???

thx

8)

That's working under WinXP/Sp2 and the beta version. :">
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...