can u mind to spare some time to make a script ????

Ask gaming related questions (AHK v1.1 and older)
DJ Khalid
Posts: 5
Joined: 19 Nov 2017, 00:54

can u mind to spare some time to make a script ????

19 Nov 2017, 21:20

umm i need a script that can remap t to shift and hold shift plsss idk what exactly I'm saying but I'm new so help pls
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: can u mind to spare some time to make a script ????

19 Nov 2017, 21:24

remap ?

Have you read the tutorial?

Your script should probably be about 8 characters long for what I'm picturing, but it may not be what you want. You may also need the ~ modifier; who knows but you.
DJ Khalid
Posts: 5
Joined: 19 Nov 2017, 00:54

Re: can u mind to spare some time to make a script ????

19 Nov 2017, 21:33

it is for a game
i wanna hold down shift and auto click
but i got a auto clicker so don't i don't want a auto clicking scrip just the hold down shift thingy and i need to be able to activate it and and turn it off
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: can u mind to spare some time to make a script ????

19 Nov 2017, 21:39

The same techniques used in (Note: The first link is from the old forums, the second link is on these forums) http://www.autohotkey.com/board/topic/6 ... re-thread/ or https://autohotkey.com/boards/viewtopic.php?f=7&t=11952 will let you control if the remap is enabled or disabled.

Also see this thread for game troubleshooting in case what you come up with is not working: https://autohotkey.com/boards/viewtopic.php?t=11084
DJ Khalid
Posts: 5
Joined: 19 Nov 2017, 00:54

Re: can u mind to spare some time to make a script ????

19 Nov 2017, 21:55

Code: Select all

[::
    KeyWait a, T0.5                 ; Wait 1/2 second for user to release "a" key
    If ErrorLevel                   ; Still held down
        While GetKeyState("a","p"){ ; While it is held down
            Click
            Send a
            Sleep 100
        }
    Else                            ; They let go in time
        Send (Lshift down)
return

]::
i added the ]::

the end i realy don't know if it will work
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: can u mind to spare some time to make a script ????

19 Nov 2017, 21:58

Your Send (Lshift down} should be Send {Lshift down}, but recognize that tapping [ would hold down LShift. How would you release LShift?

I do encourage you to read over the tutorial. Adding just ]:: at the end of your script shouldn't accomplish anything except disabling the ] key. Which goes away from your original question of using a "t". Work over that tutorial step by step, even though it won't give you the answer you need right away.
DJ Khalid
Posts: 5
Joined: 19 Nov 2017, 00:54

Re: can u mind to spare some time to make a script ????

19 Nov 2017, 22:11

i don't need to remap any more I'm good now. thanks

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 60 guests