Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 03:01

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

Advertisement



[AutoIt3] Enter drücken -.-

Discussion on [AutoIt3] Enter drücken -.- within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 61
Received Thanks: 7
[AutoIt3] Enter drücken -.-

Hey ich suche einen Code der immer wartet bis ich Enter klcike und er dann nochmal 5 mal Enter ganz schnell hinterher klickt!
Fragt nicht wieso aber wäre euch sehr sehr dankbar

MFG
Herr.Vorragend is offline  
Old 04/30/2009, 21:41   #2

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
schau mal in der autoit hilfe nach den begriffen

sleep
send
hotkeyset
func
while
und evtl noch for

damit sollte man das eig in nen paar min. hinbekommen
°Remus° is offline  
Old 04/30/2009, 23:23   #3
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
have fun

Code:
#include <Misc.au3>

$dll = DllOpen("user32.dll")

go()
func go()
do
	sleep(100)
until _IsPressed("0D", $dll)
for $i = 1 to 5
	send("{Enter}")
	sleep(100) ;zeit evtl anpassen
next
go()
endfunc
kknb is offline  
Thanks
3 Users
Old 06/18/2011, 15:23   #4
 
l3obn4tzer's Avatar
 
elite*gold: 1
Join Date: Jun 2009
Posts: 170
Received Thanks: 52
Was wäre an
Quote:
Hotkeyset("{ENTER}","fENTER")
Func fENTER()
Send("{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}")
Endfunc
falsch?
l3obn4tzer is offline  
Old 06/18/2011, 15:43   #5
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Wenn man Enter sendet wird der Hotkey wieder ausgelöst.
BlackHybrid is offline  
Old 06/18/2011, 22:22   #6


 
Meikbrosoft's Avatar
 
elite*gold: 45
Join Date: Mar 2010
Posts: 1,564
Received Thanks: 350
Dein Code wäre dann in einer unendlichen Schleife.

Den dein HotKey ist Enter, wird enter gedrückt, so wird enter öfters gedrückt, in diesem fall = 5 mal
Also wird der Hotkey wieder 5 mal aktiviert... und so weiter. Sinnvoller wäre z.B. F1 oder c,v,b,n,m die liegen direkt über der Leertaste.

PHP Code:
Hotkeyset("{F1}","fENTER")
Func fENTER()
Send("{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}")
Endfunc 
oder
PHP Code:
Hotkeyset("c","fENTER")
Func fENTER()
Send("{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}")
Endfunc 
Meikbrosoft is offline  
Old 06/18/2011, 23:15   #7
 
Reeek's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 1,304
Received Thanks: 485
wie wäre es mit:
PHP Code:
#include <misc.au3>
$dll DllOpen("user32.dll")
While 
1
If _ispressed("0D"$dllthen
Send
("{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}")
EndIf
sleep(20)
WEnd 
Reeek is offline  
Old 06/19/2011, 17:36   #8
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Quote:
Originally Posted by Reeek View Post
wie wäre es mit:
PHP Code:
#include <misc.au3>
$dll DllOpen("user32.dll")
While 
1
If _ispressed("0D"$dllthen
Send
("{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}")
EndIf
sleep(20)
WEnd 
Würde funktionieren, weil _IsPressed keine virtuellen Eingaben registriert.
BlackHybrid is offline  
Reply


Similar Threads Similar Threads
Automatisch Enter drücken Programm
04/23/2011 - WarRock - 21 Replies
Hallo Leute, Ich hab mich mit der Idee des Powerleveln angefreundet und will den 2. Acc in der Virtual box starten. Nur bei der Idee mit mehreren PCs soll man einen Gegenstand auf die Enter-Taste legen, was halt bei einem nicht gehen würde- ich würde mit allen accounts gleichzeitig springen ;). Nun suche ich ein Programm, das ähnlich funzt wie der Autoklicker, nur eben für die Enter-Taste, das ich im Virtuellen PC starte damit der 2. Char immer respawnt. Kennt jemand ein solches Programm,...
Autoit3 -> AHK?
02/06/2010 - Mabinogi - 12 Replies
I've noticed more people use Autoit3 for scripting, but I personally prefer AHK. But does Autoit3 scripting work the same way as AHK? I've seen some useful scripts here, especially for weaving (which is what I need) but I really don't like the fact that I can't pause the script (even if I press the pausing hotkey, it just doesn't stop for some reason). Let's say I'm using this Autoit3 script to weave my cobwebs: #include <ImageSearch.au3> MsgBox(0,"Yeah!","get'em GEWD!",5) Global...
Autoit3
09/14/2009 - Guild Wars - 4 Replies
Hallo, hab ein paar Fragen zu Autoit. 1. Mit MsbBox öffnet man ja ein Fenster aber wie schreibe ich in das Fester(mit welchem Befehl). z.B. Wie alt bist du? Antwort: 2. Wie speichert man dieses als Variabel. Gruss artimes:handsdown:



All times are GMT +1. The time now is 03:01.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.