|
You last visited: Today at 13:13
Advertisement
Start/Stop funktion ?
Discussion on Start/Stop funktion ? within the AutoIt forum part of the Coders Den category.
03/09/2014, 20:18
|
#1
|
elite*gold: 30
Join Date: Mar 2009
Posts: 2,422
Received Thanks: 1,291
|
Start/Stop funktion ?
Hey,
kann mir jemand bei diesem script ein start stop funktion einbauen ? ich hab zwar was mit hotkeys probiert aber das funktioniert nicht.
Es sollte halt Ingame irgendwie funktionieren
Quote:
While True
Sleep( 500 )
MouseClick("right",251,433)
MouseClick("right",538,432)
WEnd
|
Arma 3 "E:\Steam\steamapps\common\Arma 3\arma3.exe"
|
|
|
03/09/2014, 20:44
|
#2
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
Wenn es mit HotKeys nicht geht probier es mit _IsPressed().
|
|
|
03/09/2014, 22:34
|
#3
|
elite*gold: 30
Join Date: Mar 2009
Posts: 2,422
Received Thanks: 1,291
|
was ist " _IsPressed()" ? und wie geht das^^ hab den code gegooglet und mit den koordinaten ausgefüllt.
|
|
|
03/09/2014, 22:47
|
#4
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
_IsPressed setzt keine globalen HotKeys sondern triggered das was du möchtest, wenn der Key gedrückt wird. Damit wird keine andere Aktion geblockt. HotKeySet wird bei vielen Spielen nicht funktionieren.
|
|
|
03/09/2014, 22:57
|
#5
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
da brauch man nichts googeln das steht in der hilfedatei
|
|
|
03/10/2014, 18:07
|
#6
|
elite*gold: 27
Join Date: Sep 2009
Posts: 5,609
Received Thanks: 1,596
|
Code:
Global $Paused
HotKeySet("{f6}", "_stop")
HotKeySet("{f5}", "_start")
while 1
sleep(20)
wend
Func _start()
While True
Sleep( 500 )
MouseClick("right",251,433)
MouseClick("right",538,432)
WEnd
endfunc
Func _stop()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc
|
|
|
03/10/2014, 18:54
|
#7
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
zocker5656, es kann sein das HotKeySet aber nicht funktioniert, weil das Spiel eben diese blockiert.
|
|
|
 |
Similar Threads
|
Bessere start / stop funktion?
09/11/2011 - AutoIt - 4 Replies
hallo ich bräuchte ne bessere PAUSE funktion für meinen bot :o
miene jetzige funktion sieht so aus:
func pause ()
while 1
wend
EndFunc
|
[ESRO]Start client, login, select character, click start and stop...
06/23/2011 - SRO Private Server - 1 Replies
Okay, so whats up with that new thing when you get to select character screen, when you click start it does nothing?
DONT JUST SAY SAME, I know you have the same problem...
You can thank me if you have the same problem tho... :P
|
Hilfe bei Send Funktion mit Stop Funktion
04/02/2011 - AutoIt - 11 Replies
Hallo Elitepvpers
ich habe ein Problem und Mein Problem ist das mein Text einfach weiter schreibt wenn ich mit HotKey verwende... gib es keine Funktion das der Text einmal kommt und nicht wenn man einmal die HotKey das er 10 min das selbe schreibt :confused:
|
[Request] How to stop auto start
02/03/2010 - Grand Chase - 9 Replies
Using The Brian and his group hack (sorry dont know other names) for the IPUC hack. But i cant stop auto start someone plz tell me how to stop. IF someone does help thank and i will do this :handsdown: XD.
|
All times are GMT +1. The time now is 13:14.
|
|