Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



STRG bleibt grdrückt

Discussion on STRG bleibt grdrückt within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 155
Received Thanks: 9
STRG bleibt grdrückt

hi ho
bei dem folgendem Programm bleibt die STRG taste gedrückt wenn man copy und paste macht... kann mir einer sagen warum?

PHP Code:
#Include <Misc.au3>
While 1
    Sleep
(60)
    If 
_IsPressed(11,"user32.dll"Then
            
If _IsPressed(56,"user32.dll"Then
                $text 
ClipGet()
                
Send($text)
            EndIf
    EndIf
    If 
_IsPressed(79,"user32.dll"Then
        
Exit
    EndIf
WEnd 
qLADYofLORDp is offline  
Old 10/26/2009, 15:58   #2
 
xxblasterx's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 303
Received Thanks: 70
ich habe zwar keine ahnung aber ich glaube bei is pressed 11 oda is pressed 56
xxblasterx is offline  
Thanks
1 User
Old 10/26/2009, 16:05   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 155
Received Thanks: 9
das _isPressed brauchts aber
der soll den text nur schreiben wenn man strg + v drückt
qLADYofLORDp is offline  
Old 10/26/2009, 18:47   #4
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Quote:
Originally Posted by qLADYofLORDp View Post
das _isPressed brauchts aber
der soll den text nur schreiben wenn man strg + v drückt
Setz mal zwischen die zwei _isPressed die für das strg + v stehen ein 'and'
| Moep | is offline  
Thanks
1 User
Old 10/27/2009, 11:40   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 155
Received Thanks: 9
probier ich gleich... acuh wenn ich nicht drann glaube xD

hat offensichtlich nix gebracht... ich hab jetzt mal den text "WEnd" kopiert und wenn ich dann immer und immer wieder strg und v dücke passiert folgendes (enter hab ich selber geschrieben )

WEndWEndWEnd
WEndWEnd
WEndWEnd
WEndWEndWEnd
WEndWEnd
WEndWEndWEnd
WEndWEndWEnd
WEndWEnd
WEndWEnd
WEndWEnd
WEndWEndWEnd
WEnd
WEndWEnd
WEndWEndWEnd
WEnd
WEndWEnd
WEndWEnd

also ziemlich... komisch ^^

mein code sieht jetzt so aus

Quote:
#Include <Misc.au3>
While 1
Sleep(60)
If _IsPressed(11,"user32.dll") And _IsPressed(56,"user32.dll") Then
$text = ClipGet()
Send($text)
EndIf
If _IsPressed(79,"user32.dll") Then
Exit
EndIf
WEnd
oke das komische phänomen kann ich mir jetzt erklären^^ ich drück länger als 60 sec. auf die tasten desswegen kommts ein 2 bzw. 3 mal. (beheb ich gleich)
es bleibt aber immer noch die STRG tasge gedrückt -.-
qLADYofLORDp is offline  
Old 10/27/2009, 15:48   #6
 
elite*gold: 0
Join Date: Mar 2009
Posts: 155
Received Thanks: 9
PHP Code:
#Include <Misc.au3>
While 1
    Sleep
(60)
    If 
_IsPressed(01,"user32.dll") And _IsPressed(02,"user32.dll"Then
                $text 
ClipGet()
                
Send($text)
            While 
_IsPressed(11,"user32.dll") And _IsPressed(56,"user32.dll")
                
Sleep(40)
            
WEnd
    
EndIf
    If 
_IsPressed(79,"user32.dll"Then
        
Exit
    EndIf
WEnd 
mit dem code scheint es zu gehen *gg*

problem also selber gelöst

tortzdem danke für die tipps =)
qLADYofLORDp is offline  
Reply

Tags
sleep(60)


Similar Threads Similar Threads
STRG-V
10/27/2009 - Off Topic - 27 Replies
Just post your Clipboar here xD here is mine: gE.setPid(System.Diagnostics.Process.GetProcessesB yName("Wow").Id); gE.controlSend("LCONTROL","DOWN&quo t;); gE.controlSend("V", "DOWN"); Thread.Sleep(10); gE.controlSend("V", "UP"); gE.controlSend("LCONTROL", "UP");
STRG+V: zeigt es!
08/07/2009 - Off Topic - 2084 Replies
Was habt ihr grade auf STRG+V(Einfügen)? meins: LEEEEEEEEEEEEEEEEROY!!1
strg+1-9
06/17/2008 - Kal Online - 5 Replies
also man kann ja die skills auf die skilltabelle tun (die, die man mit strg+1 bis 9 wechseln kann). und wen man reloggt saved das alles immer,aber bei mir saved das nur bei den ersten 2 seiten (also bei strg+1 und 2) bei 3 und mehr saved das i-wie net .weiß einer vil wieso??? danke im voraus



All times are GMT +2. The time now is 15:54.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.