AHK is easy to use: AutoHotKey file tutorial

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии •

  • @rugmintonhowy
    @rugmintonhowy 2 года назад +5

    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

  • @davemustaine9687
    @davemustaine9687 5 лет назад +43

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

  • @invalidname63
    @invalidname63 5 лет назад +37

    thanks actually stuck on this for like 30 mins lmao

    • @anthonymoultrie6458
      @anthonymoultrie6458 4 года назад

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

  • @TABNationAutomation
    @TABNationAutomation 2 года назад +1

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

  • @DE-signYourLife
    @DE-signYourLife 4 года назад +30

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

  • @aim__freakz8499
    @aim__freakz8499 4 года назад +1

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

  • @DraxusENG
    @DraxusENG 4 года назад +3

    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 : )

  • @peadubb
    @peadubb Год назад +2

    Thanks so much for the tutorial. Very informative and helpful

  • @Guigox
    @Guigox 5 лет назад +3

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

    • @onee
      @onee 5 лет назад +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 5 лет назад

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

    • @grzegorzzawadzki3693
      @grzegorzzawadzki3693 4 года назад

      SetBatchLines -1

  • @moneyman6227
    @moneyman6227 2 года назад +1

    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

  • @afcu-yt
    @afcu-yt 2 года назад +1

    how to get to that view part

  • @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

  • @brokovnik
    @brokovnik 2 месяца назад

    I diddnt know this guy made a tutorial

  • @si6585
    @si6585 6 лет назад

    This is really useful man thx for the video.

  • @gabrielarkangelo
    @gabrielarkangelo 5 лет назад +4

    the cookie game is cursed man..

  • @rogerfn4283
    @rogerfn4283 5 лет назад +11

    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 года назад +2

      You could probably do something similar to this in Batch

    • @omgcyanide4642
      @omgcyanide4642 4 года назад +1

      Arrival RgR easy run file path

  • @leedergs
    @leedergs 4 года назад

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

  • @George_9282
    @George_9282 8 месяцев назад +1

    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?

  • @voobsscripts
    @voobsscripts 3 года назад

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

  • @psychomaniac189
    @psychomaniac189 5 лет назад +14

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

    • @oscarmuffin4322
      @oscarmuffin4322 4 года назад +1

      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 Год назад +1

      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 11 месяцев назад

      @@LyraPyxisVT he was wondering about this for 4 years

  • @DavidSmith-uz8lw
    @DavidSmith-uz8lw 6 лет назад +4

    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  6 лет назад +3

      Sure, use imagemagick's convert.exe though

  • @kilonov
    @kilonov 3 года назад +2

    THANK YOU OMG

  • @seductive_fishstick8961
    @seductive_fishstick8961 Год назад

    you are my hero, thank you so much

  • @vStall
    @vStall 2 года назад

    Dude made a ahk to play with him self

  • @kenankiller3878
    @kenankiller3878 4 года назад +1

    thx dude still works in 2020

  • @ps92809
    @ps92809 3 месяца назад

    how do i make one that clicks once and doesn't unclick

  • @dams8352
    @dams8352 3 года назад

    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 ?

  • @lordz7777
    @lordz7777 2 года назад

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

  • @harleystelle2929
    @harleystelle2929 4 года назад +5

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

    • @LyraPyxisVT
      @LyraPyxisVT Год назад

      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
      }

  • @ChromePyramid
    @ChromePyramid 2 года назад

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

  • @kefir5542
    @kefir5542 2 года назад

    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

  • @Swixxe
    @Swixxe 2 года назад

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

  • @Rikulahdesmaki
    @Rikulahdesmaki 4 месяца назад

    What if i need to double click W by just holding it?

  • @mike-zs3cc
    @mike-zs3cc 4 года назад +10

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

    • @Trokumukum
      @Trokumukum Год назад +1

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

  • @marcel1701
    @marcel1701 3 года назад

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

  • @ysuri
    @ysuri 3 года назад

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

  • @khoeckman2416
    @khoeckman2416 5 лет назад +1

    human can never be beaten by computers ;)

  • @FuzzyWuzzyBumbleBear
    @FuzzyWuzzyBumbleBear 5 лет назад

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

  • @dolbbantutan9926
    @dolbbantutan9926 3 года назад

    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
    @jivinmonging 3 года назад

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

  • @C3NSOR1
    @C3NSOR1 4 года назад

    Mine not working for windows 10

  • @maximusbrah
    @maximusbrah 6 месяцев назад

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

  • @vlex4390
    @vlex4390 3 года назад

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

  • @luciferr6392
    @luciferr6392 4 года назад

    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.

  • @MilneOCasey-y8g
    @MilneOCasey-y8g 2 месяца назад

    April Cliffs

  • @Beep-Bop-Boop
    @Beep-Bop-Boop 4 месяца назад

    KJP has a mop for a haircut.

  • @dsilencio517
    @dsilencio517 5 лет назад

    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 5 лет назад +1

      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

  • @smozaf
    @smozaf 4 года назад

    Thnx a lot!

  • @johncena-xv7ws
    @johncena-xv7ws Год назад

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

  • @zambaplays5060
    @zambaplays5060 5 месяцев назад

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

  • @agressive8050
    @agressive8050 2 года назад +1

    SetTimer Click, 10
    F8::Toggle := !Toggle
    Click:
    If (!Toggle)
    Return
    Click
    Send a
    return
    here is the script guys :)

  • @Rissoe_Really
    @Rissoe_Really 2 года назад

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

  • @FebriUltra
    @FebriUltra 4 года назад

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

  • @zninjachato
    @zninjachato 4 года назад +1

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

  • @KiraGoon
    @KiraGoon 3 года назад

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

  • @typeer
    @typeer 4 года назад

    thanks man v helpful

  • @jermsbestfriend9296
    @jermsbestfriend9296 3 года назад

    This script does not contain the File() command.

  • @ruiptaurus33
    @ruiptaurus33 Год назад

    i need the tab key to hold

  • @emir5878
    @emir5878 4 года назад

    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

  • @kakashihataki69
    @kakashihataki69 3 года назад +1

    thx bro

  • @zulhamsasmita1289
    @zulhamsasmita1289 3 года назад

    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

  • @psychomaniac189
    @psychomaniac189 5 лет назад

    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.

  • @skatanafate9529
    @skatanafate9529 2 года назад

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

  • @spdutahraptor777
    @spdutahraptor777 3 года назад

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

  • @rasmuss4039
    @rasmuss4039 3 года назад

    when i use a ahk file nothing happens

  • @lazergod0491
    @lazergod0491 4 года назад

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

  • @beaksaver5361
    @beaksaver5361 2 года назад

    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?

  • @Cayme
    @Cayme 3 года назад

    Hello, i'm trying to send input after i launch a specific .exe to make it fullscreen when it start but i can't get it working. if someone read my message i need help, please.. WinWait G:\Higan\higan.exe
    fWinActive G:\Higan\higan.exe
    Sleep, 1000
    SetKeyDelay, -1, 110
    Send {NumpadAdd}

  • @silent5
    @silent5 3 года назад

    ty

  • @hydroajl5066
    @hydroajl5066 2 года назад

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

  • @louboutinss
    @louboutinss 3 года назад

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

  • @thechallenger6124
    @thechallenger6124 6 лет назад

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

  • @fishseller.
    @fishseller. 3 года назад

    idk how to open a thing to type a script

  • @Saber-tk8fp
    @Saber-tk8fp 4 года назад

    This helped thx

  • @huntertheog4289
    @huntertheog4289 3 года назад

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

  • @robloxfan4271
    @robloxfan4271 2 года назад

    where's the link for the script?

  • @glob1942
    @glob1942 4 года назад

    i am confused

  • @auroraspostingg8587
    @auroraspostingg8587 3 года назад

    im still confused

  • @rogerpoliver
    @rogerpoliver 5 лет назад

    Thank you!

  • @mastadrewdog7467
    @mastadrewdog7467 3 года назад +4

    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 Год назад

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

  • @CGN-zh4ue
    @CGN-zh4ue 4 года назад

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

  • @jamesward191
    @jamesward191 2 года назад

    grandma... wHaT?

  • @ofirvitany4542
    @ofirvitany4542 4 года назад

    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

  • @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

  • @alenngk
    @alenngk 4 года назад

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

    • @anthonymoultrie6458
      @anthonymoultrie6458 4 года назад

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

  • @chaunerickson6195
    @chaunerickson6195 3 года назад

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

  • @whoareyou3194
    @whoareyou3194 6 лет назад

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

  • @CarlosAnglada
    @CarlosAnglada 4 года назад

    AHK is so easy that we need remedial courses on RUclips. So, maybe we can stop pretending it is...?

  • @user-pl9yq3fc8u
    @user-pl9yq3fc8u 3 года назад

    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

  • @anonymousjones4016
    @anonymousjones4016 5 лет назад

    Iwan, can you explain to me how to create an AHK script that:
    1. Auto launches windows remote desktop program
    2. Auto inputs hostname/IP
    3. Auto inputs remote host username and password into remote host login screen
    Please!

    • @iwanPlays
      @iwanPlays  5 лет назад +1

      figure out the shortcuts for what you can, then make ahk press the key combos, but insert wait times inbetween so windows has time to react.
      I imagine you can also do this in cmd/command line?

    • @anonymousjones4016
      @anonymousjones4016 5 лет назад

      @@iwanPlays I'll attempt both ways and share outcome. Thanks!

    • @moneyman6227
      @moneyman6227 2 года назад

      @@anonymousjones4016 whats the outcome

    • @idkfam1367
      @idkfam1367 Год назад

      hey how can I bind certain keys like when I press C for example make it press 9 or any number?
      @@iwanPlays

    • @KahdetPakarat
      @KahdetPakarat Год назад

      sounds malicious

  • @wach2
    @wach2 4 года назад +1

    ^x::ExitApp
    There u go, that destroys the script

  • @texturel3s399
    @texturel3s399 4 года назад

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

    • @iwanPlays
      @iwanPlays  4 года назад

      Not if you download it from the official website

  • @SlowKingist
    @SlowKingist 2 года назад

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

  • @bababoouey9882
    @bababoouey9882 4 года назад

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

  • @tntcake6327
    @tntcake6327 5 лет назад +1

    where is the system notifaction area?

  • @stersting2987
    @stersting2987 4 года назад

    How do I do one with letters?

  • @asuma7557
    @asuma7557 3 года назад

    It always show as Notepad :C

  • @selenarose9774
    @selenarose9774 5 лет назад +1

    How to open notepad please answer fast

    • @iwanPlays
      @iwanPlays  5 лет назад +1

      Windows key +r and type "notepad" and press enter

    • @alennsaad
      @alennsaad 3 года назад

      @@iwanPlays this site doesnt work now how can i find the file?

  • @st33zy_
    @st33zy_ 2 года назад

    doesn't work rip

  • @voIts.
    @voIts. 2 года назад

    How about use op auto clicker