AHK is easy to use: AutoHotKey file tutorial

Ғылым және технология

.ahk files are very useful and easy to use. For example: • Samurai Spam - SteelRa...
🔵 Bang the 🔔Bell! ⚪ Get that #Notificationspam! 🔴 Join the #Iwancredibles! 🔥 SUBSCRIBE! bit.ly/iwanPlays 🎞 EVERYTING bit.ly/iwanAll
👾 DISCORD bit.ly/iPdscrd
💎 TWITTER bit.ly/iPtweet
🔴 TWITCH bit.ly/iPTW
⚡ i5-6600 / GTX 970 / 32GB DDR4 / bit.ly/iwanPC1

Пікірлер: 193

  • @DarkShadow-3285
    @DarkShadow-32852 жыл бұрын

    OMG thank the lords all the other videos always says you should already know how to open and use it and then tells us advanced stuff when I searched up beginner. Very helpful

  • @invalidname63
    @invalidname635 жыл бұрын

    thanks actually stuck on this for like 30 mins lmao

  • @anthonymoultrie6458

    @anthonymoultrie6458

    3 жыл бұрын

    I did all the steps and didnt have the file like he did any tips?

  • @peadubb
    @peadubb Жыл бұрын

    Thanks so much for the tutorial. Very informative and helpful

  • @si6585
    @si65855 жыл бұрын

    This is really useful man thx for the video.

  • @MeGuy8211
    @MeGuy82113 жыл бұрын

    thanks bro i tried the actual tutorials provided by the website etc but they were super confusing so thx now i can play undertale with wsad and not arrows : )

  • @TABNationAutomation
    @TABNationAutomation2 жыл бұрын

    very clear video. I enjoy making the gaming videos with AHK on my channel super popular.

  • @davemustaine9687
    @davemustaine96875 жыл бұрын

    FapCEO in a nutshell. Now I can get to company level 10 in a day. Thank You.

  • @randow1598

    @randow1598

    3 жыл бұрын

    lol

  • @canadianbutt2759

    @canadianbutt2759

    3 жыл бұрын

    lol i never put time in those wtf

  • @canadianbutt2759
    @canadianbutt27593 жыл бұрын

    game looks lowkey really fun to play with a friend

  • @aim__freakz8499
    @aim__freakz84994 жыл бұрын

    I kinda understand your arguments but it's still more fun for me

  • @DE-signYourLife
    @DE-signYourLife4 жыл бұрын

    0:57 "Mit...With" Nice, German AND English Content! 😃😉

  • @ChromePyramid
    @ChromePyramid2 жыл бұрын

    I'm actually learning AHK right now would the script you made actually work in Niddhog without any changes?

  • @seductive_fishstick8961
    @seductive_fishstick89619 ай бұрын

    you are my hero, thank you so much

  • @rogerpoliver
    @rogerpoliver5 жыл бұрын

    Thank you!

  • @lordz7777
    @lordz7777 Жыл бұрын

    Thanks for the tutorial. But are there any other applications that can handle ahk files available on macOS?

  • @kilonov
    @kilonov3 жыл бұрын

    THANK YOU OMG

  • @kenankiller3878
    @kenankiller38784 жыл бұрын

    thx dude still works in 2020

  • @smozef
    @smozef4 жыл бұрын

    Thnx a lot!

  • @typeer
    @typeer3 жыл бұрын

    thanks man v helpful

  • @moneyman6227
    @moneyman62272 жыл бұрын

    i did everything and when i double click my script it just opens it and doesent do anything like what you said happens, nothing on the bottom pls help

  • @luciferr6392
    @luciferr63924 жыл бұрын

    thanks for creating this but can you explain why these work the way they do? I created a script from a different youtuber that doesn't work and now im confused.

  • @Saber-tk8fp
    @Saber-tk8fp4 жыл бұрын

    This helped thx

  • @George_9282
    @George_92823 ай бұрын

    AHK have any vision i mean if u die in a game AHK can see that and if you type in the script "if die press respawn" AHK would press respawn?

  • @zambaplays5060
    @zambaplays506018 күн бұрын

    how is you windows so minimal? are you using some theme?

  • @leedergs
    @leedergs4 жыл бұрын

    For me I click open and it just crashes the folder popup thing saying windows cannot access this specific device, path or file.

  • @gabrielarkangelo
    @gabrielarkangelo5 жыл бұрын

    the cookie game is cursed man..

  • @kakashihataki69
    @kakashihataki692 жыл бұрын

    thx bro

  • @zulhamsasmita1289
    @zulhamsasmita12892 жыл бұрын

    Want to make for walking round and round for my game, but im confused how to do that? Maybe like going forward 1second, then going right 1 second, going down 1 second and going left 1 second

  • @vStall
    @vStall2 жыл бұрын

    Dude made a ahk to play with him self

  • @langquen5933
    @langquen59335 жыл бұрын

    nk you for your instruction

  • @ysuri
    @ysuri3 жыл бұрын

    is it possible to just stay pressed to click and when you stop pressing it stop clicking ?

  • @dolbbantutan9926
    @dolbbantutan99262 жыл бұрын

    whats the code if i want to automate to target the monster then automate click number and rightclick at the same time then spam space bar

  • @jivinmonging
    @jivinmonging3 жыл бұрын

    i have a question how to like remove the toggle key after you have set it

  • @ethansbad
    @ethansbad Жыл бұрын

    how to get to that view part

  • @jimo8486
    @jimo8486 Жыл бұрын

    ty

  • @mastadrewdog7467
    @mastadrewdog74673 жыл бұрын

    how do you detect moving objects? are you able to set a color on a target to make ahk auto aim at it? if so please lmk how thanks!

  • @ichosolemanuel6048

    @ichosolemanuel6048

    11 ай бұрын

    Yea theres something called pixelsearch just set the color and region and then with mousemove you can tp the cursor to the found pixel

  • @DavidSmith-uz8lw
    @DavidSmith-uz8lw5 жыл бұрын

    Iwan, Would you be willing to help me write a script for a hotkey combination to rotate images in File Explorer? I have over 10,000 to rotate and need this desperately.

  • @iwanPlays

    @iwanPlays

    5 жыл бұрын

    Sure, use imagemagick's convert.exe though

  • @KiraGoon
    @KiraGoon3 жыл бұрын

    will you give me a hint how to run marco with 3d3 window if even it is not active. thank you.

  • @thechallenger6124
    @thechallenger61245 жыл бұрын

    can you send me a script too spam the LShift key? ive been trying for hours and do not understand why it isnt working

  • @harleystelle2929
    @harleystelle29294 жыл бұрын

    could you put the link to the site where you got the script from?

  • @LyraPyxisVT

    @LyraPyxisVT

    7 ай бұрын

    try this script, its better then this and you can toggle it on and off, pretty basic if you havent figured it out already you would toggle it on and off with alt+X. !x::Suspend LButton:: Loop { SetMouseDelay 10 Click If (GetKeyState("LButton","P")=0) Break }

  • @psychomaniac189
    @psychomaniac1895 жыл бұрын

    Iwan. Would you be able to help me make a script with specific arrow buttons to be pressed? press enter, then up 6 times, right 43 times, down 1, over 3, down 5, then press enter.

  • @dams8352
    @dams83522 жыл бұрын

    i have done a script who do a right click wen i press Alt, but it does it only when i release the key and i want it to right click as long as i hold Alt. Anyone know how to do it ?

  • @hungmdyung7121
    @hungmdyung7121 Жыл бұрын

    at the very top of ur script the first line before any other command use this command to control it form running or pausing "^NumpadSub::Suspend" and all you have to do to active the attacks n pausing it, hit "control + minus[the subtraction key on ur keypad not the dash"-" under F9]" the break down below in detail for this tiny execution when executed the buttom right side of your windows screen you should see your autohkey script go from the letter "H"[h=MeansThatUrScriptIsActive] to the letter "S"[s=MeansThatUrScriptIsSuspended].. the command before [Numpad] ^[ArrowUp indicator usaully the number 6+shift on ur keyboard-alternative key- is the program autohkey means[Control] or [Ctrl] by default and the [Sub] after [Numpad] is the Subtraction key... if you right click on ur scipt n go to "Help" it will take u to an index of the program.. in search type "List keys" and double click it, this key list is very important for your scripts bekuz you have spell each key that you use case sensitive n thats why i have to break an easy command like "^NumpadSub" which = to "Control+Subtraction[Keypad "-"] everytime you hit this if u added first then ur script the opposing player will execute the attacks n if you hit it again "Control+Subtraction[Keypad "-"] it will stop.. you can actually use any key you want to pause n execute but to use it without interfering with ur basic normal keys you would want to use one of the hotkey modifiers which is Control, Shift, Alt, and even Windows key... which translate to "^ is Control, + is Shift, ! is Alt, # is Win" and those 4 modifier keys will take you to all sorts of reason n commands n when to use, believe me if your new to codiing n programs this is a pretty good basic start, most of the illustration in AutoHotKey are actual guides to coding scripts but if you want to learn it and a beginner try n learn all you can in the index under help.. that will give a few sharp knives to start cutting codes in the development starts of ur quest to learning and break down programing programs.. hope this help gez i went a lito too far its just bekuz thats how i started hahaha

  • @khoeckman2416
    @khoeckman24164 жыл бұрын

    human can never be beaten by computers ;)

  • @omgcyanide4642

    @omgcyanide4642

    4 жыл бұрын

    Khoeckman youre so wrong

  • @Slferon
    @Slferon2 жыл бұрын

    h elp i made a scr ipt that p res ses space e very few se ocnds how do i turn it off

  • @Guigox
    @Guigox4 жыл бұрын

    I want to make my keyboard press ALT repeatedly by 0 milliseconds, just the left ALT. what do i do?

  • @onee

    @onee

    4 жыл бұрын

    That is impossible. You can't do that at 0 milliseconds. Your PC needs some time to process that command. It might be possible to do in 1 millisecond. But generally speaking approximately 50 clicks per second or 1 click every 20 millisecond is what most PCs can handle.

  • @Guigox

    @Guigox

    4 жыл бұрын

    @@onee oof. just nvm. someone made a script for it already long time ago.

  • @grzegorzzawadzki3693

    @grzegorzzawadzki3693

    4 жыл бұрын

    SetBatchLines -1

  • @vlex4390
    @vlex43903 жыл бұрын

    How do I get it because I don’t know how to find the 8 auto hot key???

  • @zninjachato
    @zninjachato4 жыл бұрын

    My autohotkey doenst are working on my Windows 10. When i active,it works after 1 second or -. What i need to do?

  • @developererror683

    @developererror683

    4 жыл бұрын

    run it as administrator

  • @ploopybear
    @ploopybear5 жыл бұрын

    Nice game though I would play that

  • @Swixxe
    @Swixxe Жыл бұрын

    when i clicked it it said error at line 1 the program will exit plz help me

  • @voobsscripts
    @voobsscripts3 жыл бұрын

    when i open it it opens like 50 auto hotkeys and messes up my pc

  • @s8080_
    @s8080_4 жыл бұрын

    How do i make it so it opens a windows function of some sort? I want to make it so if i press PrintScreen or Pause/Break It would open the same thing as pressing the following combination: WinKey+LShift+S

  • @hungmdyung7121

    @hungmdyung7121

    Жыл бұрын

    i believe it will be sumthing like this without the double brackets [[ PrintScreen:: Send, #+s ]] if you want to close it after that command i believe you need to add the word "return" after the #+s -----which i believe you can hit print and the snapscreenshot will execute, if you want to continue to add more to ur script then keep going starting and ending with each command execute you want to add with "{"to begin each "}" to end each... note only the Return after the explanation above will close it... it is not a good idea to run many script or scripts in one Ahk scripts or execution file aHk you made i think it iz advice to create many single ones base off the recommendation the guide explains the details below is some fundamental of how i used the keys you mention above to execute.. PrintScreen = PrtSc (print screen key) CtrlBreak = Ctrl+Pause or Ctrl+ScrollLock Pause = {Pause or Ctrl+NumLock. While Ctrl is held down, Pause produces the key code of CtrlBreak and NumLock produces Pause, so use ^CtrlBreak in hotkeys instead of ^Pause.} Break = Deprecated: Use the synonym Pause instead. LWin = Left Win. Corresponds to the # hotkey prefix. Note: Unlike Ctrl/Alt/Shift, there is no generic/neutral "Win" key because the OS does not support it. However, hotkeys with the # modifier can be triggered by either Win. Control = (or Ctrl) Ctrl. As a hotkey (Control::) it fires upon release unless it has the tilde prefix. Corresponds to the ^ hotkey prefix. Alt = Alt. As a hotkey (Alt::) it fires upon release unless it has the tilde prefix. Corresponds to the ! hotkey prefix. Shift = Shift. As a hotkey (Shift::) it fires upon release unless it has the tilde prefix. Corresponds to the + hotkey prefix. LControl = (or LCtrl) Left Ctrl. Corresponds to the ^ hotkey prefix. LShift = Left Shift. Corresponds to the + hotkey prefix. LAlt = Left Alt. Corresponds to the

  • @psychomaniac189
    @psychomaniac1895 жыл бұрын

    how do you do keyboard stuff with AHK? you didn't really explain that

  • @oscarmuffin4322

    @oscarmuffin4322

    4 жыл бұрын

    This was a very shit tutorial. He basically just showed how to copy somebody else's script. Didn't even explain why he was doing things.

  • @LyraPyxisVT

    @LyraPyxisVT

    7 ай бұрын

    i didnt understand this video either, but ive managed to find a easier one to understand, if you havent figured it out !x::Suspend LButton:: Loop { SetMouseDelay 10 Click If (GetKeyState("LButton","P")=0) Break }

  • @SwordTomato

    @SwordTomato

    6 ай бұрын

    @@LyraPyxisVT he was wondering about this for 4 years

  • @FebriUltra
    @FebriUltra4 жыл бұрын

    what the command script if i want to left click and the command type number : 31

  • @FuzzyWuzzyBumbleBear
    @FuzzyWuzzyBumbleBear4 жыл бұрын

    right click desktop, new, autohotkeyscript. Click it. Right click the new thing, edit script. Bom. make sure you have ahk installed

  • @rogerfn4283
    @rogerfn42834 жыл бұрын

    I want this to open a vbs file (The one that makes you say something) and I want it to say bruh like 50 times

  • @Hayden977

    @Hayden977

    4 жыл бұрын

    You could probably do something similar to this in Batch

  • @omgcyanide4642

    @omgcyanide4642

    4 жыл бұрын

    Arrival RgR easy run file path

  • @iplaynone1870
    @iplaynone18704 жыл бұрын

    This Is really helpful Thanks you very much bec now i will be umm... nvm

  • @CGN-zh4ue
    @CGN-zh4ue4 жыл бұрын

    Can i see the Code from a AHK file that i become sendet...?

  • @kefir5542
    @kefir55422 жыл бұрын

    How to do a script for example if i click "g" it will click "5" on my keyboard and then hold my right mouse button for 1.7 second and after it stop holding the button for 1.7 second it will click "1" on my keyboard? Pls tutorial

  • @marcel1701
    @marcel17013 жыл бұрын

    doesn't work for me, when i try to start the script it just doesn't click

  • @whoareyou3194
    @whoareyou31945 жыл бұрын

    Can u make a key so when u push it will type something

  • @jamesward191
    @jamesward1912 жыл бұрын

    grandma... wHaT?

  • @dsilencio517
    @dsilencio5174 жыл бұрын

    Sir. i need help, my configuration for game is 5:: loop { send 1 } return but the magic in number 1 is not silky activated, I don't know what to do or where to look and if I don't know what I'm looking for how will I know I found it?

  • @dsilencio517

    @dsilencio517

    4 жыл бұрын

    Eu descobri qual é a solução, obrigado pelo seu vide-o você é incrivel!!!!! my solution is: 5:: loop { send, {1 DOWN} Sleep, 1000 send, {1 DOWN} } return

  • @emir5878
    @emir58784 жыл бұрын

    Can anyone help me? I want to write a script where if turn it on(so it has a toggle button) after clicking rightclick it immediately presses the Q button. I dont really know how to do it so if anyone could help reply please

  • @sillyboymax
    @sillyboymaxАй бұрын

    help i do everything but the macro i have doesnt work and nothing works

  • @sparky3687
    @sparky36873 жыл бұрын

    Jest coś na 4life na kopalnie?

  • @johncena-xv7ws
    @johncena-xv7ws9 ай бұрын

    i wanna do so it only works in roblox but it makes it not work what so ever

  • @lazergod0491
    @lazergod04913 жыл бұрын

    it says.ahk but it shows notepad so i cant run as admin

  • @rasmuss4039
    @rasmuss40393 жыл бұрын

    when i use a ahk file nothing happens

  • @beaksaver5361
    @beaksaver53612 жыл бұрын

    any chance that someone can make script for me that loops the up arrow key twice followed by the enter key at say 0.5 speed?

  • @GlitchedBlox
    @GlitchedBlox4 жыл бұрын

    yo you actually do tutorials?

  • @nobimaru9121
    @nobimaru91215 жыл бұрын

    When i use ahk it disconnected

  • @spdutahraptor777
    @spdutahraptor7773 жыл бұрын

    This is where powertoys decimates the competition...it's oversimplified for people that have absolutely no idea what they are watching...like me

  • @alenngk
    @alenngk4 жыл бұрын

    Can you make video about new beta version and syntaxes? I'm new to this. Bless ya :)

  • @anthonymoultrie6458

    @anthonymoultrie6458

    3 жыл бұрын

    I did all the steps and didnt have the file like he did any tips?

  • @stersting2987
    @stersting29874 жыл бұрын

    How do I do one with letters?

  • @mike-zs3cc
    @mike-zs3cc4 жыл бұрын

    Step one: just download an autoclicker (for clicker games)

  • @Trokumukum

    @Trokumukum

    Жыл бұрын

    But it can’t press different keys, only left or right click

  • @skatanafate9529
    @skatanafate95292 жыл бұрын

    how to change a key in macro? my macro got c to use(autohotkey) can someone help me?

  • @chaunerickson6195
    @chaunerickson61952 жыл бұрын

    Is there a way to download this script to fool around with?

  • @hydroajl5066
    @hydroajl50662 жыл бұрын

    thanks i want to play undertale but i have a 60%

  • @tntcake6327
    @tntcake63275 жыл бұрын

    where is the system notifaction area?

  • @iwanPlays

    @iwanPlays

    5 жыл бұрын

    by the clock

  • @huntertheog4289
    @huntertheog42893 жыл бұрын

    How do you do this script but instead of click its spacebar

  • @user-pl9yq3fc8u
    @user-pl9yq3fc8u3 жыл бұрын

    Is there a way which makes it so it doesn't repeat the action?

  • @hungmdyung7121

    @hungmdyung7121

    Жыл бұрын

    gyea just put a number after the "loop" like in his script after "loop" put "1" try that or if you want it to loop 5 times the "5" after loop like in my example it will loop space 5 times ever time i hit the middle mouse click or middle button or if you dont indicate a number after the loop than it will consistantly repeat the "spacebar" command to jump until i left go and i use it for csgo counterstrike to bunnyhop -note the sleep timing is in milisec how fast it will repeat in my case 14miliseconds or .0014 which is how often matchmaking server refresh executed commands by players or u can use .0007 for 7miliseconds to double ur chances though u may get kick keys for spamming but i havent yet so u should be okay the 2nd illistration is if i just hit the mouse3 or middle click once it will repeat the "space or jump" key 5 times as fast as 7mili secs or .0007 in between n stop after the one click sample 1 ------------------------------------------ *MButton:: Loop { GetKeyState,state,MButton,P If state = U break Send,{Space} Sleep,0014 } sample 2 ----------------------------------------- *MButton:: Loop 5 { GetKeyState,state,MButton,P If state = U break Send,{Space} Sleep,0007 } Ps note the "5" after the "Loop" in ur case you want put "1" to not repeat after one hit of ur script

  • @chubbscod3684
    @chubbscod36844 жыл бұрын

    Godlike love you

  • @SlowKingist
    @SlowKingist2 жыл бұрын

    can you make an auto parry script for a roblox game so I can troll my friend ?

  • @NecroxEye
    @NecroxEye3 жыл бұрын

    discord server link?

  • @hertzgaming3409
    @hertzgaming34093 жыл бұрын

    I get error when loading the script.

  • @robloxfan4271
    @robloxfan4271 Жыл бұрын

    where's the link for the script?

  • @patricktolentino873
    @patricktolentino8735 жыл бұрын

    why cant I download it?

  • @jermsbestfriend9296
    @jermsbestfriend92963 жыл бұрын

    This script does not contain the File() command.

  • @zeradris
    @zeradris4 жыл бұрын

    how do u code in notepad++ ?

  • @texturel3s399
    @texturel3s3993 жыл бұрын

    Is auto hot key a virus, I wanna know so I don't accidentally download malware.

  • @iwanPlays

    @iwanPlays

    3 жыл бұрын

    Not if you download it from the official website

  • @louboutinss
    @louboutinss3 жыл бұрын

    my autohotkey is going super slow and i dont know how to fix it

  • @grzegorzzawadzki3693

    @grzegorzzawadzki3693

    3 жыл бұрын

    SetBatchLines - 1

  • @bababoouey9882
    @bababoouey98823 жыл бұрын

    Does anybody know how to rebind keybinds for ryse son of rome

  • @C3NSOR1
    @C3NSOR13 жыл бұрын

    Mine not working for windows 10

  • @zoltanlaska6556
    @zoltanlaska65564 жыл бұрын

    Hi! I would like to ask for help! I wrote a script (AutoHotkey) in the meantime I got x down to do 1 thing and got stuck in two things! I would like to bind off and on on one button so if I accidentally press x then II. I get to the end of all the trouble things I want to finish in the end and get up again x to start over Thank you in advance for your help! Apologize to google translator :)

  • @ofirvitany4542
    @ofirvitany45424 жыл бұрын

    How can I capslock another language, so I can write only in the second language I have

  • @iwanPlays

    @iwanPlays

    4 жыл бұрын

    Wow, cool idea. Alt-Shift for switching languages is not good enough for you? Well, you would search for ahk keyboard language switch and then ahk ignore caps lock or ahk disable caps lock and then combine the solutions

  • @ofirvitany4542

    @ofirvitany4542

    4 жыл бұрын

    @@iwanPlays the problem is that it switched automatically from the language I chose to English, I want to achieve the same result so it will not return to any other language unless I clicked on a specific keyboard key

  • @iwanPlays

    @iwanPlays

    4 жыл бұрын

    sounds like you have per-window language enabled and need to disable it superuser.com/a/1095632

  • @ofirvitany4542

    @ofirvitany4542

    4 жыл бұрын

    Thx I will try it , and report

  • @ruiptaurus33
    @ruiptaurus33 Жыл бұрын

    i need the tab key to hold

  • @Darylciov
    @Darylciov3 жыл бұрын

    How do i set speed of send script

  • @vinvin7697
    @vinvin76973 жыл бұрын

    My computer died

  • @FutureDreamZz
    @FutureDreamZz4 жыл бұрын

    is it possible to make one click once every 20 minutes?

  • @onejuno

    @onejuno

    4 жыл бұрын

    Yap.

  • @kenfinneran9491
    @kenfinneran94914 жыл бұрын

    How the heck do you view

Келесі