Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 14:47

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

Advertisement



Autohotkey kleiner script

Discussion on Autohotkey kleiner script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
ExtasY♥'s Avatar
 
elite*gold: 170
The Black Market: 107/0/0
Join Date: Sep 2013
Posts: 3,043
Received Thanks: 983
Autohotkey kleiner script

Hey,

Bräuchte mal kurz hilfe bei einem Autohotkey script

Es sollte wann ich meine Linke maustaste clicke nach einer bestimmten zeit die Leertaste drücken.

Hatte so einen macro mal auf meiner maus die leider kaputt gegangen ist, daher will ich es mit autohotkey versuchen.
damals war es so button down button up 100 delay space down space up

Hoffe mir kann wer hier helfen, ich kapier davon noch nicht soviel. ^^


Edit: Habe da was gefunden, aber keine ahnung ob das so richtig ist.

Send {Lbutton down}{Lbutton up}
sleep 100
Send {space down}{space up}
ExtasY♥ is offline  
Old 02/26/2016, 11:59   #2
 
elite*gold: 5
Join Date: Feb 2014
Posts: 654
Received Thanks: 1,857
Code:
#include <Misc.au3>
While 1
	If _IsPressed("01") Then
		Makro()
	EndIf
	sleep(250)
WEnd

Func Makro()
	sleep(100) ;dein sleep
	Send("{SPACE}")
EndFunc
Hab ich mal eben schnell geschrieben. Getestet auch also sollte gehen
Deverixz is offline  
Thanks
1 User
Old 02/26/2016, 15:19   #3
 
ExtasY♥'s Avatar
 
elite*gold: 170
The Black Market: 107/0/0
Join Date: Sep 2013
Posts: 3,043
Received Thanks: 983
Quote:
Originally Posted by Deverixz View Post
Code:
#include <Misc.au3>
While 1
	If _IsPressed("01") Then
		Makro()
	EndIf
	sleep(250)
WEnd

Func Makro()
	sleep(100) ;dein sleep
	Send("{SPACE}")
EndFunc
Hab ich mal eben schnell geschrieben. Getestet auch also sollte gehen
Hallo danke fur die arbeit, dies ist aber ein Autoit script :/, bräuchte ihn fur Autohotkey.
ExtasY♥ is offline  
Old 02/26/2016, 15:38   #4
 
elite*gold: 5
Join Date: Feb 2014
Posts: 654
Received Thanks: 1,857
Quote:
Originally Posted by ExtasY♥ View Post
Hallo danke fur die arbeit, dies ist aber ein Autoit script :/, bräuchte ihn fur Autohotkey.
Nun, das hier ist die AutoIT Section daher hab ich angenommen du wolltest eines dafür. Entschuldige bitte.
Deverixz is offline  
Old 02/26/2016, 16:48   #5
 
FacePalmMan's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 426
Received Thanks: 129
Ich hab seit langem kein AHK gemacht, weiß aber trotzdem noch ugf. wie es geht:
Code:
::LMB (oder :LMB, bin mir nicht sicher)
Send {Lbutton down}{Lbutton up}
sleep 100
Send {space down}{space up}
FacePalmMan is offline  
Thanks
1 User
Old 02/26/2016, 20:26   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Quote:
Originally Posted by Deverixz View Post
Nun, das hier ist die AutoIT Section daher hab ich angenommen du wolltest eines dafür. Entschuldige bitte.
Das hier ist für beide da es sich nicht lohnt für AHK noch eine extra Sektion aufzumachen.
alpines is offline  
Old 02/26/2016, 22:25   #7
 
ExtasY♥'s Avatar
 
elite*gold: 170
The Black Market: 107/0/0
Join Date: Sep 2013
Posts: 3,043
Received Thanks: 983
Quote:
Originally Posted by FacePalmMan View Post
Ich hab seit langem kein AHK gemacht, weiß aber trotzdem noch ugf. wie es geht:
Code:
::LMB (oder :LMB, bin mir nicht sicher)
Send {Lbutton down}{Lbutton up}
sleep 100
Send {space down}{space up}
Danke, hat mir ein wenig geholfen, habe ein bissien rumprobiert und nutze momentan diesen script

*WheelDown::
send {LButton}
sleep, 75
send {space}
return


das problem momentan ist, das er meine CTRL und shift taste irgentwie aus stellt.

Hier ein beispiel:
Ich drücke Ctrl -> scrolle am rad -> ctrl geht wieder hoch wobei ich es dauer gedrückt halte, das selbe passirt mit shift.

Gibts dafur eine lösung?
ExtasY♥ is offline  
Reply


Similar Threads Similar Threads
Autohotkey - Script
12/28/2014 - Minecraft - 0 Replies
Hey there, i am having trouble getting a script running (using autohotkey). Basically, it should send pressed mousebuttons (left and right) to minecraft while i can use my pc otherwise (writting in word or browsing via firefox). The Minecraftserver i am playing on is using an economy plugin that gives you money for both placing and destroying weeds/sugar canes. Keeping both mousebuttons permanently clicked creates huge amounts of money in short time - but i dont want to waste my time...
FIFA 14 Script ( AutoHotkey )
08/13/2014 - Fifa - 2 Replies
Hey guys! I made my own trainer for FIFA 14, and it works, but the problem is its not automatic...can anyone give me script ( autohotkey) or program that will make it automatic? Contact me in private message or on skype, I'm willing to give you my trainer if you give me that script that makes it automatic :D
Metin2 AutoHotkey Script
02/14/2013 - Metin2 Private Server - 0 Replies
Grüße, folgendes Problem mit meinem AutoHotkey Script: Ich versuche einen Loop zu erstellen (alle 2min für insgesamt 15min) der die Skills immer wieder einschaltet... Aber das Script greift nicht auf die Schnellleiste zu! Ist ein altbekanntes Problem.. die Lösung scheint dem Web fremd zu sein :D Hoffe einer von euch kann mir helfen. Oder eine andere Lösung vor Augen führen
AutoHotkey Script
10/30/2010 - Ragnarok Online - 0 Replies
Can someone please decompile the macro of autohotkey? And please post the script for it here? Thank you so much.
AutoHotKey script
03/08/2010 - General Coding - 2 Replies
Srry if i posted in wrong section :rolleyes: So i created a small script and tested it with notepad it worked perfectly, but when i logged in game script stopped working. So i need bypass for script to make them work in game or i did something wrong ? P.S.my english sux :D



All times are GMT +2. The time now is 14:47.


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.