Sign in to follow this  
Followers 0
Valuater

_isPressed... ENTER

5 posts in this topic

#1 ·  Posted (edited)

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

Share this post


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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

thanks...

Duh!!! ( on me )

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


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

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