Hi.
Hat zwar nichts mit dem eigentlichen Problem zu tun aber im Skriptkopf sind einige Zeilen doppelt geschrieben.
Search found 321 matches
- 04 Jun 2024, 22:37
- Forum: Ich brauche Hilfe
- Topic: Taste hängt oder Script stürzt ab Topic is solved
- Replies: 2
- Views: 267
- 04 Jun 2024, 08:43
- Forum: Gaming
- Topic: Script for different combinations of mouse clicks
- Replies: 11
- Views: 463
Re: Script for different combinations of mouse clicks
hmmm I see, would it simplify the script if the initial click for every double click goes through? Yes, that would simplify the script. ... the only problem is that the double right click checking doesn't seem to work and I'm not sure how to fix it. Do the "if" check for the double click first and ...
- 03 Jun 2024, 22:16
- Forum: Gaming
- Topic: Script for different combinations of mouse clicks
- Replies: 11
- Views: 463
Re: Script for different combinations of mouse clicks
jooolius The thing is, I don't know if it bothers your game if the initial click of a double click comes through. Because otherwise every double click would send a single click first. I tried to solve this with SetTimer, i.e. to give the script time to differentiate. Thats also why there is a short...
- 03 Jun 2024, 11:35
- Forum: Gaming
- Topic: Script for different combinations of mouse clicks
- Replies: 11
- Views: 463
Re: Script for different combinations of mouse clicks
Hi. I found this quite tricky, it took me a while until everything worked. The double click timing is pretty short and since I didn't know what you wanted to send, I inserted SendText for all actions. Actions are: LB or RB single click, double click, held and both buttons held. #Requires AutoHotkey ...
- 02 Jun 2024, 21:10
- Forum: Gaming
- Topic: V Rising Weapon Switch Script Topic is solved
- Replies: 10
- Views: 729
Re: V Rising Weapon Switch Script Topic is solved
The Sequence that im trying to achieve is; Whenever i press any keystroke from 1 to 9 fx. it will always keystroke the numbers first then when i press the same keystroke again it will either use Q or E. The script niCode posted does this, but while testing I came to the conclusion that it could be ...
- 02 Jun 2024, 13:02
- Forum: Gaming
- Topic: V Rising Weapon Switch Script Topic is solved
- Replies: 10
- Views: 729
Re: V Rising Weapon Switch Script Topic is solved
I don't know the game. It's best to post your script, even if it don't work, so that we can get an idea of what you are trying to achieve.
- 02 Jun 2024, 02:37
- Forum: Gaming
- Topic: Help with Fortnite Script
- Replies: 3
- Views: 370
Re: Help with Fortnite Script
WheelDown might work with ControlClick.
ControlClick , "ahk_exe FortniteClient-Win64-Shipping.exe",, "WheelDown",, "NA"
ControlClick , "ahk_exe FortniteClient-Win64-Shipping.exe",, "WheelDown",, "NA"
- 01 Jun 2024, 07:35
- Forum: Ask for Help (v2)
- Topic: Slow simple send text script
- Replies: 3
- Views: 301
Re: Slow simple send text script
Hi.
@killer2239
V1 uses SendEvent by default and v2 SendInput. If you want it to work like in V1, you need to use SendEvent instead of Send.
@killer2239
V1 uses SendEvent by default and v2 SendInput. If you want it to work like in V1, you need to use SendEvent instead of Send.
- 01 Jun 2024, 07:25
- Forum: Gaming
- Topic: V Rising Weapon Switch Script Topic is solved
- Replies: 10
- Views: 729
Re: V Rising Weapon Switch Script Topic is solved
Hi.
I'm guessing something like this?
This sends 1 or q alternately:
I'm guessing something like this?
This sends 1 or q alternately:
Code: Select all
*1:: {
static toogle := 0
if toogle := !toogle
SendEvent "1"
else
SendEvent "q"
}
- 01 Jun 2024, 07:10
- Forum: Gaming
- Topic: Help with Fortnite Script
- Replies: 3
- Views: 370
Re: Help with Fortnite Script
Hi.
The game may not accept such input at all, but you can try.
Please see. ControlSend
The game may not accept such input at all, but you can try.
Please see. ControlSend
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance
F1:: { ; F1 sends Space
ControlSend("{Space}",, "ahk_exe Fortnite.exe") ; check the exe name
}
- 30 May 2024, 07:14
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
Then I had a brilliant idea! Just remove the default indicator from the game, so I've asked this one guy who works on the Alpha for help and he gave me some files! So now while GCD is active I just get a different icon, and it goes away when GCD finishes, no clockwise motion, no nothing, then I mad...
- 29 May 2024, 16:24
- Forum: Gaming
- Topic: Mousemove not working after update
- Replies: 2
- Views: 268
- 29 May 2024, 16:18
- Forum: Gaming
- Topic: Windows key
- Replies: 3
- Views: 309
Re: Windows key
Hi.
This will only trigger the Start-menu if LWin is held for more than 0.25s.
This will only trigger the Start-menu if LWin is held for more than 0.25s.
Code: Select all
#Requires AutoHotkey 2.0
#SingleInstance
LWin:: {
if !KeyWait("LWin", "T0.25") { ; triggers after 0.25s
Send "{LWin down}"
KeyWait "LWin"
Send "{LWin up}"
}
}
- 29 May 2024, 05:30
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
Patrycy I think the cause of delay is not the script speed itself but the script logic. Because if the script sends a key that is not executed in game due to a skill- or global cooldown while spaming the hotkey, it will give you the impression of a delay, because nothing seems to happen in the game...
- 28 May 2024, 19:09
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
@Patrycy
What resolution does the game run in?
And please tell me if this works in the game.
What resolution does the game run in?
And please tell me if this works in the game.
Code: Select all
$1:: {
SendInput "{1 down}"
Sleep 10
SendInput "{1 up}"
}
- 28 May 2024, 18:12
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
Patrycy Your last script needs around 67ms with all "else if" calls on my PC and I wouldn't call it slow, especially since the global cooldown in WoW is around 1.5s. And I don't know how the script could be made noticeably faster, as the number of PixelGetColor calls is just to small. I mean, you c...
- 28 May 2024, 05:18
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
Patrycy Key presses require a small delay for the game to recognize them. If you mean the delay caused by calling PixelGetColor multiple times, you can reduce this with GetMultiPixelColor from here . But I don't understand what you're trying to do right now, can you please briefly summarize what yo...
- 27 May 2024, 02:48
- Forum: Scripts and Functions (v2)
- Topic: PixelSearchHelper, MultiPixelSearch & GetMultiPixelColor
- Replies: 2
- Views: 592
Re: PixelSearchHelper, MultiPixelSearch & GetMultiPixelColor
Added GetMultiPixelColor, see above.
- 26 May 2024, 21:13
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
Patrycy Your second skript would always send two keys, but you only want to send one key per input. Please try this: #Requires AutoHotkey v2.0 #SingleInstance Force $1:: { if PixelGetColor(1012, 1052) != 0xEACD8D ; if unequal 0xEACD8D send 4 SendEvent "{4}" else if PixelGetColor(1316, 1236) != 0x3D...
- 26 May 2024, 10:57
- Forum: Gaming
- Topic: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
- Replies: 24
- Views: 1559
Re: Can AHK decect a chnage in pixel color? Clicking icon/ability in game.
@Patrycy
PixelGetColor uses client coordinates unless otherwise specified with CoordMode.
Therefore, make sure you use the client coordinates provided by Window Spy.
PixelGetColor uses client coordinates unless otherwise specified with CoordMode.
Therefore, make sure you use the client coordinates provided by Window Spy.