need help with script for hypxiel skyblock
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
need help with script for hypxiel skyblock
hey, i need help with a script for hypixel skyblock.
It needs to constantly press left button, then press d for 33,5 seconds, then press a for 33.5 seconds and press enter and write these things /is , then enter, entwr again and write/skyblock
It would be really nice if anyone could help me
(idk if this is the right category)
It needs to constantly press left button, then press d for 33,5 seconds, then press a for 33.5 seconds and press enter and write these things /is , then enter, entwr again and write/skyblock
It would be really nice if anyone could help me
(idk if this is the right category)
Re: need help with script for hypxiel skyblock
I think this is not codable because you have not specified when to stop pressing LButton. It is at some point before "... then ...", but unclear when.
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
Re: need help with script for hypxiel skyblock
it can stop press lbutton when it types /is and /sethome
Re: need help with script for hypxiel skyblock
Is "constantly press" a repeated press, or a hold?
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
Re: need help with script for hypxiel skyblock
and i have another question, can i somehow do it that i can go to another window and it still send input to the other window?
Re: need help with script for hypxiel skyblock
You can test this in Notepad.
I believe that ControlClick will activate your target window.
If you are typing at the same time that AHK is sending text, the actions can collide.
Code: Select all
winTitle = ahk_exe notepad.exe
#If WinExist(winTitle)
F3::
ControlClick,, %winTitle%,,,, D
Loop, Parse, % "da"
{ ControlSend,, {%A_LoopField% down}, %winTitle%
Sleep, 33500
ControlSend,, {%A_LoopField% up}, %winTitle%
}
ControlClick,, %winTitle%,,,, U
ControlSend,, `n/is`n`n/skyblock, %winTitle%
Return
#If
If you are typing at the same time that AHK is sending text, the actions can collide.
Last edited by mikeyww on 28 Nov 2021, 15:45, edited 1 time in total.
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
Re: need help with script for hypxiel skyblock
tysm, and can i somehow do it that i can go to another window and it still send input to the other window? (Oops, you just edited it)
Last edited by LasagnenFighter on 28 Nov 2021, 15:46, edited 1 time in total.
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
Re: need help with script for hypxiel skyblock
oh you just edited it
Re: need help with script for hypxiel skyblock
Test the script while you have Notepad open. You can have a different window active at the time.
I'm not sure that you can successfully send a "down" key action via ControlSend and then also type in other windows. I believe not, but you can test it.
I'm not sure that you can successfully send a "down" key action via ControlSend and then also type in other windows. I believe not, but you can test it.
-
- Posts: 9
- Joined: 27 Nov 2021, 19:37
Re: need help with script for hypxiel skyblock
i dont know why, but i cant start it
Re: need help with script for hypxiel skyblock
Run the script. Confirm that the green AHK icon resides in the system tray. Open Notepad. Press F3. You won't see anything happen for quite a while, because when you hold your mouse button and then send a key, it will not be visible, right?