English
Source / code snippets

Windows strangers mouse Keyboard-Query

 
is of course already long famous, here fehlts but yet:
CompileMarkSeparation
Window 0,0-640,200
Print "Hallo Meister, jetzt bitte Fenster verkleinern oder Focus wechseln."
Print "Und dann F2 oder eine Maustaste drücken..."
Declare Ende%,Handle%
Def @GetAsyncKeyState(1) !"User32","GetAsyncKeyState"
Zurücksetzen
@GetAsyncKeyState($71) F2-Taste
@GetAsyncKeyState(2) rechte Maustast
@GetAsyncKeyState(65) Taste a

Whilenot Ende%

    Sleep 10

    If @GetAsyncKeyState($71)<>0

        @destroywindow(Handle%)
        LET Handle%=@createdialog(@getactivewindow(),"F2!",50,50,400,0)

    elseIf @GetAsyncKeyState(2)<>0

        @destroywindow(Handle%)
        LET Handle%=@createdialog(@getactivewindow(),"Maustaste rechts!",0,0,400,0)

    elseIf @GetAsyncKeyState(65)<>0

        @destroywindow(Handle%)
        LET Handle%=@createdialog(@getactivewindow(),"Taste a!",0,0,400,0)

    endif

    IF %MENUITEM=-2

        setmenuitem 0
        @destroywindow(Handle%)

    endif

wend

end
 
07/22/04  
 




GDL
Hi AH

thanks for Tipp.If in of my application works,becomes diejene Freeware and you become
naturally as Ideengeber mitgenannt.

with friendly greet
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
12/19/04  
 



Hello Georg...

best Thanks - say message, ifs is done...
 
12/20/04  
 




J.
Strahl
gives it a scheduler circa defined Keys abzufragen ? I bräuchte 'Strg+v' ?
 
Windows 7 Ultimate 64 * 12 GB Ram * XProfan 11.2a * PRFellow * PRFPAD
01/02/12  
 



here my brontales Supertool:

Download
CompileMarkSeparation
windowtitle "iF's lil scankey ^^"
cls
long y

do {

    locate 1,1
    y=%scankey
    print y,"=",GetAsyncKeyState(y),"    "

ont>


1.034 kB
Hochgeladen:01/02/12
Downloadcounter176
Download
 
01/02/12  
 




J.
Strahl
very beautiful, thanks....
 
Windows 7 Ultimate 64 * 12 GB Ram * XProfan 11.2a * PRFellow * PRFPAD
01/02/12  
 



Löl, I had well already once posted: [...]  ^^
 
01/02/12  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.885 Views

Untitledvor 0 min.
Gast.081510/03/24
Matzbub02/03/24
Normann Strübli02/03/23
p.specht11/21/21
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie