Autohotkey Overview

Поділитися
Вставка
  • Опубліковано 21 лис 2024
  • Ігри

КОМЕНТАРІ • 95

  • @pfunk9632
    @pfunk9632 5 років тому

    Wow this is a game changer. Daoc is the first and only game ive played, so idk what im doing most the time tbh. Ive always manually clicked on the on screen icons for everything- often losing options because 30 icons was max without toggling. Will be fun to try this stuff. Ty.

    • @Obelisk918
      @Obelisk918  5 років тому +2

      Good luck, and maybe check out my keyboard layout video. It could help you come up with a good keyboard setup to transition from clicking :)

  • @chrisskube4472
    @chrisskube4472 5 років тому +1

    Could you write a basic script for the older HKN version? I've had them before and I cannot find my .log files for it anywhere, and I cannot remember how I scripted the autoexec. for multiple clients.

    • @Obelisk918
      @Obelisk918  5 років тому

      I don't know HKN very well, but I can send you a script that I used years ago that might help
      pastebin.com/2BJuZPns

  • @lkj2727
    @lkj2727 5 років тому

    I found out that Phoenix is allowing hot keys for binding multiple keys. Never have used AHK before and this vid super helps. thx man.
    Btw, does this part, #IfWinActive, ahk_class DAoCMWC, also work same for phoenix?

    • @Obelisk918
      @Obelisk918  5 років тому

      Nice! I would imagine the script works the same for Phoenix. Enjoy!

    • @lkj2727
      @lkj2727 5 років тому

      @@Obelisk918 Thx, I just tested it and that part is working fine :)
      I have another question btw regarding 9:05 part.
      In your video, your [1.swap weapon 2.side positional 3.rear position] binding worked perfectly at either position because all those 3 actions occurred before you really "Attack".
      I tested same, but in my case, my attack action occurred instantly after first style input.
      So if I use that hotkey in rear position, this what happens on chatlog:
      You prepare to perform [side positional]!
      You fail to execute your [side positional]!
      You prepare to perform [rear positional]!
      Do you know what the problem would be? Would reducing the setkeydelay help? :P

  • @danteafkCamelotUnchained
    @danteafkCamelotUnchained 2 роки тому

    can you help? I'm using ahk script to poison multiple weapons.
    script looks right switch weapon > apply poison x, repeat etc
    but for some reason some weapons get the same poison on it multiple times.
    does it maybe need more delay?

    • @Obelisk918
      @Obelisk918  2 роки тому

      If this is on celestius, I'm not familiar with how server lag etc works there. That could be an issue. I've only played there once and I know I had to change a macro due to it not functioning properly on that server.
      A small delay usually helps things stay in order and not get jumbled. I'd try that if I were you. Let me know how it goes

  • @FrntRow
    @FrntRow Рік тому

    What are your movement buttons if you QB WASD etc? Also you do a quick 180 Face super easy, another QB ? ? thx

    • @Obelisk918
      @Obelisk918  Рік тому

      I use F for back, G and H are my strafes. I use my mouse to turn left and right, that's possibly how I'm 180ing so quickly.

  • @jessewinter9502
    @jessewinter9502 6 років тому

    Thanks for creating this video! -Enersha

  • @venomace415
    @venomace415 5 років тому

    Hi i started using this but I'm having issues , maybe you can help me. I want a simple script for my infiltrator face+sprint+Perforate Artery+stick. My binds are Face=V, Stick=F, Sprint=Z and Perforate is on 5 (qbar1 slot 5) so following your samples I assume the script would be:
    ; Face + Sprint + PA + Stick
    5::
    send, v z 5 f
    return
    When I press 5 only Perforate Artery fires none of the other commands. Also say I wanted to bind this script to my mouse so I use the side button , would that be :
    ; Face + Sprint + PA + Stick
    XButton1::
    send, v z 5 f
    return
    Any help would be greatly appreciated it!

  • @502Bentley
    @502Bentley 4 роки тому

    What do you do for a living? Is that an etched sound board?

  • @careyfrennier347
    @careyfrennier347 5 років тому

    Need more of your videos mate!

  • @jay_kellz
    @jay_kellz 3 роки тому

    So when I right click on the script I don't have the option to Run as Admin. But when I select Run Script it will still show up in my system tray. But, AHK isn't working in game. Is that the issue? How can I make it run as Admin when it's not an option when I right click?

    • @Obelisk918
      @Obelisk918  3 роки тому +1

      In order to run a script as admin, you will need to select the 'compile script' option when you right click the script. That will great a new file that you should be able to run as admin. I'm not sure why your script isn't working in game, but maybe this will help

  • @oldgamerguy4622
    @oldgamerguy4622 4 роки тому

    Hey Obelisk. Are you available to help with a current script? I am trying to use the sample script above and edit to my current qbinds. Trying to have the script send my Crit shot followed by Entropic shot but it doesn't seem to work.

    • @Obelisk918
      @Obelisk918  4 роки тому

      For my archers, I always have it send crit shot twice before sending the backup shot if not stealthed.
      So it would be (with crit shot bound to f7 and entropic to q)
      ;crit and entropic
      q::
      Send, {f7}{f7}q
      return
      Hopefully that helps

  • @502Bentley
    @502Bentley 5 років тому

    How can you write a script for follow up styles. For example I bound my Any attack and my Side attack to the same key. My Side attack has a follow up attack. How can I bind it to perform both side attack + follow up. But if Im not on the side it will perform my any attack?

    • @Obelisk918
      @Obelisk918  5 років тому

      I would have the script send the follow up first, then the side style, then the anytime style.
      Ex:. Anytime bound to q, side bound to w, and follow up bound to e. The script would send
      Send, ewq
      I'd probably even have it send the follow up and side twice (send, eewwq) to try to ensure they fire in the right order in case of some sort of lag.
      That being said, I don't like binding 3 styles to one button, but that's personal preference. I feel like it could lead to some weird instances of failed styles (ex, if you attempt a side style and it misses, I believe it will then allow you to attempt a follow up style, which will then fail)

  • @Zzxii
    @Zzxii 6 років тому

    Thanks for the video, so i have to ask, when you need to type out a message, how do you disable auto hotkey so you don't double type random letters?

    • @Obelisk918
      @Obelisk918  6 років тому +1

      That's why I use F keys when double binding. When you have your chat open, and hit a button like an F key, , , , , etc, no extra characters show up and your chat is unaffected. I try to make a note not to bind things like this example: when I press 'q', 'q' and 'p' are sent. Instead, when I press 'q', 'q' and 'f9' are sent.
      I also have my scripts set to only be active in DAOC instances, so if I alt tab and have to write an email, the AHK is inactive. That line is included in my sample script near the top :>

    • @Zzxii
      @Zzxii 6 років тому

      Ok, thanks. I don't use AHK but a different software that works the same way. Appreciate all the great videos and tips. See you out there.

    • @josephthibault6999
      @josephthibault6999 6 років тому

      What I do is have the script pause when I hit "enter" or "/" to type and then start up when I hit enter again.

    • @Obelisk918
      @Obelisk918  6 років тому

      That's a good idea

    • @josephthibault6999
      @josephthibault6999 6 років тому +2

      ~*/::Suspend, On
      ~*+r::Suspend, On
      ~*Enter::Suspend, Off
      ~*Esc::Suspend, Off
      shift r is my reply but you get the idea. It works for me

  • @Kject
    @Kject 5 років тому

    Would this work from stealth? like a perf/stick/sprint/CD/SS macro? or would the way you set it up knock you out of stealth first?

    • @Obelisk918
      @Obelisk918  5 років тому +1

      You could combine PA, stick, and sprint easily. If you add CD and SS, it might complicate things and probably wouldn't be worth the risk. You might run into cases where it will knock you out of stealth with a failed CD/SS

    • @Kject
      @Kject 5 років тому

      @@Obelisk918 thanks. I was trying it and was working but only problem was the Sprint toggling on and off with each press

    • @Obelisk918
      @Obelisk918  5 років тому +1

      @@Kject Yeah, that could be an issue. It's probably one of those cases where it's just better to not macro

  • @z0rzk
    @z0rzk 5 років тому

    Did someone have an example for paladin ??? i working on a AHK to switch between 2h and shield and also switching chants, but i feel like missing something to get it working. :(

    • @Obelisk918
      @Obelisk918  5 років тому

      It all depends on your personal qbinds and keyboard setup

  • @tylerkrieger3874
    @tylerkrieger3874 5 років тому

    obelisk, can you have your script do 3 actions? as in have (u) set to {f1}{f2}{f3}. which would be {f1} side stun {f2} anytime and {f3} would be the side stun follow up?

    • @Obelisk918
      @Obelisk918  5 років тому

      Definitely.
      ;Side Chain and Anytime
      u::
      send, {f3}{f3}{f1}{f1}{f2}
      return
      The reason I have the follow up and side style listed twice is sometimes, there's a bit of lag and it might not send the follow up or side style first and you could be in a weird situation where the anytime is the first input. This should prevent that. If you find the macro isn't working well, you can remove the duplicate entries.
      One reason I am sometimes hesitant adding follow up styles into macros is because if you miss your side style for example, the game will actually allow you to use your follow up style (how ever, it will fail because you did not successfully land the precursor style). I've had a few frustrations when chaining styles together in the past.
      Good luck!

    • @sairam71
      @sairam71 4 роки тому

      Obelisk one thing I noticed is that if I macro stick (for me delete key) and a couple styles together , what will happen is if I press it assuming it will stick to target and then perform the queues up styles. It will actually say too far away and when it comes in range just due a default no style “poke” attack. I guess there is no way to avoid this as this how game works. Melee style Macros should only presses when you are within range to do the style. Another thing is that a follow up style immediately unsheathes your weapon even if you can’t perform it, so depending on your key delay and weapon speed you may just auto attack, because you are still trying to queue up the follow up/main style. Have you run into these issues? Basically point is that binding multiple styles to a key causes you to auto attack a lot more. Think you can test a lot of this on the training dummies.

  • @mozerm6699
    @mozerm6699 4 роки тому

    Can you explain the setkeydelay in your sample script? Is this something that can be tweaked to get the best outcomes?

    • @Obelisk918
      @Obelisk918  4 роки тому

      I'm actually not 100% sure how much of a difference it would make. You could try playing with it and see if it helps. This delay and press duration has always worked well for me with my scripts

    • @mozerm6699
      @mozerm6699 4 роки тому

      Obelisk so is the first number the delay and number 2 the press duration? I’ll experiment with my script. It seems if I’m standing right next to the dummy that it has a chance of not doing the correct positional.

    • @Obelisk918
      @Obelisk918  4 роки тому

      @@mozerm6699 I believe that's correct. I have never played with that part of the script and I'm not super familiar with it. I never have issues with positionals etc so I never had a reason to fiddle with it. Good luck with it!

  • @trainergo7703
    @trainergo7703 5 років тому

    Hello Obelisk. I have some problems with this script on Phoenix. Im using ur sample script and sometimes one button is missing. for example ;Anytimer Backstyle
    1::
    send, !2!1
    return
    alt2 is the backstyle and alt1 the anytimer and some times when i press 1 alt2 or alt1 doesnt got pressed and sometimes both ot pressed.... dunno what im doing wrong

    • @Obelisk918
      @Obelisk918  5 років тому

      I have had issues in the past when asking AHK to send modified buttons (such as alt 1).
      For your specific example, try having 1 set as your anytime, and use a button that is not bound (such as end, home, f9, etc) as your back style
      So you could do this:
      1::
      Send, [f9]1
      Return
      That way, when you press 1, it sends F9 then 1.
      Also, when I'm sending multiple styles, a lot of times I will send the priority style twice before the follow up.
      Ex:
      Send, [f9][f9]1
      I do this to make sure the back style is going to be recognized before the anytime in case of any sort of lag.

    • @trainergo7703
      @trainergo7703 5 років тому

      And i tested on savage to use all buffs at the same time it sometimes works but normally only one buff doesnt activate i dont know whats the problem..

    • @Obelisk918
      @Obelisk918  5 років тому +1

      @@trainergo7703 for the savage issue, are the buttons you're trying to send modified buttons? It is always much cleaner and more successful for me when sending single stroke buttons. Using modified buttons as the trigger is fine, but I always have what's actually being sent as a single button.
      Ex:
      !q::
      Send, [f8][f9]
      Return
      When I press alt q it will send f8 & f9.
      If you're not asking it to send alt, control or shift modified buttons, then this may not be your problem. If that's the case, let me know what buttons your buffs are bound to

    • @trainergo7703
      @trainergo7703 5 років тому

      @@Obelisk918 Both problems are with the Savage but i removed all ingame keyboard settings from f1-f11 and made Qbinds for the skills like ;Meleedmg and Haste buff
      5::
      send, {f5}5
      return
      instead of using !5 im using now qbinds f1-f11 and it works fine without any fail all buffs are now active and the anytimer/backstyle works too thx for ur help Obelisk

    • @Obelisk918
      @Obelisk918  5 років тому

      @@trainergo7703 not a problem. Good luck!

  • @eyejuice2306
    @eyejuice2306 6 років тому

    Could you put /face on the same key as a DD spell, for example ? So you could face a target and nuke in 1 key ?

    • @Obelisk918
      @Obelisk918  6 років тому

      Yeah definitely. I don't like doing that because when I'm out of range of a target, I spam my nuke (or whatever spell I'm trying to cast) until I'm in range, then face. I also like to jump once I'm nuking a target and be ready to move as fast as possible. But all you have to do is have the script send whatever your face key is before whatever your nuke key is

    • @eyejuice2306
      @eyejuice2306 6 років тому

      Garrett Lee ok cool thank you for the info:) I’m an old player of daoc, played for around 10 years, I stopped playing in 2014. Going to resub next week and roll a creeping animist. The spec line looks so cool now. I watched your review vid. I was thinking of putting /face on the same key as certain spells so the character stops dead and immediately starts casting the spell - all in 1 key, as appose to hitting a face key and then a spell key. I’ll try it but I might not like it either 😅

    • @Obelisk918
      @Obelisk918  6 років тому

      Tom McCartney nice! That spec for animist does look quite cool. I might be playing one soon myself.
      Play around with different hotkey combos! You'll find stuff you like for sure.
      Enjoy :)

  • @diegoghesini5622
    @diegoghesini5622 4 роки тому

    Hi! I started use hotkey last week and everythung was fine, today ( I am a casual player :p) when I am activating an "hotkey" the software send a "capslock" as well, but it's not in my chains

    • @Obelisk918
      @Obelisk918  4 роки тому

      Hmm, I have no clue what would cause that :/ sounds very weird

    • @diegoghesini5622
      @diegoghesini5622 4 роки тому +1

      @@Obelisk918 thanks for the quick answer! I sorted closing the client and launch it again. So far no mpre issus. Thanks mate

  • @AB-td4eq
    @AB-td4eq 3 роки тому

    Hey I am wondering if you may have an idea why my style macros are failing to fire correctly when opening combat. I have been using macros like this for awhile with no problems, but recently this started happening. For example I have a macro that sends my parry reactionary + 2chain any time. It will occasionally work, but here is an example when it does not. You can see it immediately fails the Revenge attack, THEN sends the anytime (so two swings.)
    [00:45:46] You enter combat mode and target [Training Dummy Level 50]
    [00:45:46] You prepare to perform a Revenge!
    [00:45:46] You fail to execute your Revenge perfectly!
    [00:45:46] You attack Training Dummy Level 50 with your Dragon-shadow Great Hammer and hit for 124 (-43) damage! (Damage Modifier: 892)
    [00:45:46] You hit Training Dummy Level 50 for 39 extra damage!
    [00:45:46] You must perform the Ruiner style before this one!
    [00:45:46] You prepare to perform a Ruiner!
    [00:45:51] You perform your Ruiner perfectly! (+41, Growth Rate: 0.410, Effective Style Multiplier: 0.260)
    [00:45:51] You attack Training Dummy Level 50 with your Dragon-shadow Great Hammer and hit for 151 (-53) damage! (Damage Modifier: 866)
    You critically hit Training Dummy Level 50 for an additional 39 damage! (Crit Chance: 10%)
    Here is an example when it works correctly.
    [00:47:51] You enter combat mode and target [Training Dummy Level 50]
    [00:47:51] You prepare to perform a Revenge!
    [00:47:51] You must perform the Ruiner style before this one!
    [00:47:51] You are now preparing to perform a Ruiner style as a backup for Revenge!
    [00:47:51] You perform your Ruiner perfectly! (+40, Growth Rate: 0.410, Effective Style Multiplier: 0.260)
    [00:47:51] You attack Training Dummy Level 50 with your Dragon-shadow Great Hammer and hit for 147 (-51) damage! (Damage Modifier: 847)
    [00:47:51] You hit Training Dummy Level 50 for 35 extra damage!
    This is on Phoenix server. They work fine once in combat, it's just the opening attack giving me troubles and I don't know why all of a sudden. Any ideas?

    • @Obelisk918
      @Obelisk918  3 роки тому +1

      I always found on Phoenix, chaining styles together wasn't a great idea. It seems like there is less delay or lag between when you first press your style button and when the style actually fires. That's why it is likely messing up on the initial hit.
      Also, in general, I'm not a huge fan of chaining styles together, but I understand many people do. But I definitely do not like doing it on Phoenix because the way their lag(or lack of lag) is

    • @AB-td4eq
      @AB-td4eq 3 роки тому

      @@Obelisk918 Hey thanks for the reply & info. I guess I will just have to make some adjustments to them. It always did seem a bit wonky, but was mostly consistent a few months ago, so I wonder if something changed.

  • @bardsson
    @bardsson 4 роки тому

    Hi! Is this allowed on phoenix? i read that delays are not etc?
    Thankful for answer

    • @Obelisk918
      @Obelisk918  4 роки тому

      I do not believe repeating scripts are allowed on phoenix. Not sure about delays. I'd imagine very short delays are okay

  • @Aerohype
    @Aerohype 5 років тому

    @Obelisk you got the full list of your bard binds?

    • @Obelisk918
      @Obelisk918  5 років тому +1

      Sure man!
      I double bind a few abilities, but ill just list my keyboard layout
      1 - DD
      2 - DD
      3 - AOE instant mez
      4 - ST instant mez
      5 - rr5
      alt 1 - Ignore Pain
      alt 2 - Bard cloak magic ablative
      q - aoe amnesia + greater heal
      w - root + major heal
      e - AOE mez + cure disease
      r - ST amnesia
      t - crescendo
      a - jump
      s - group heal
      d - ST mez
      f - move backwards
      z - demezz + CL disease
      x - confuse
      c - purge
      b - potions
      n - potions
      m - potions
      space - autorun + move forward
      tilde (`) - sprint
      f1 - base dex buff
      f2 - base con buff
      f3 - base str buff
      f4 - spec af buff
      shift q - equip 1h weapon
      shift w - CL melee style
      shift e - equip harp
      shift r - health regen song
      shift a - cursed blood charge
      shift s - bard cloak self crescendo charge
      shift d - power charge
      shift f - power charge
      shift z - rez
      shift x - cure NS (can also use 'y' if you want)
      shift c - cycloptic shield stealth lore
      shift v - horse
      shift space - CL dot
      ctrl q - water breath
      ctrl w - essense resists
      ctrl e - CL ABS buff
      I use a logitech G600 (similar to razer naga) (www.logitechg.com/en-us/products/gaming-mice/g600-mmo-gaming-mouse.html#buy).
      All the following abilities/binds are on my mouse:
      Phaseshift
      Forceful Zephyr
      SOS
      MoC
      Speed song
      End song
      Power song
      Mez reduction buff
      Self Str/con buff
      Group heal proc
      OW necklace charge (mez/stun feedback)
      Melee resist charge
      Magic resist charge
      Down (dive)
      Reset camera
      Stick
      Face
      Some of the above binds are ctrl/shift/alt + a mouse button. I have 4 more easily bindable spaces
      That's pretty much my entire keyboard setup in general, with bard abilities sprinkled in. Strafes are g/h. Nearest enemy tab, last attacker shift+tab. Attack mode is V, and other things like that.
      Hope this helps a bit

    • @Aerohype
      @Aerohype 5 років тому

      Obelisk thanks man. You still on live or ventured to freeshards?

    • @Obelisk918
      @Obelisk918  5 років тому

      @@Aerohype I am giving Phoenix a try. Right now, I'm just enjoying the leveling process there :>

    • @Aerohype
      @Aerohype 5 років тому

      Obelisk 👍 Mezzmerelda on there. Msg me some time if youre on hib

    • @Obelisk918
      @Obelisk918  5 років тому

      @@Aerohype Nice! I'm on alb for now, but if I ever swap over, I'll reach out :)

  • @SGEMaddinSGE
    @SGEMaddinSGE 4 роки тому

    Hey,
    thanks for te nice Video, but how you walk in DAoC when you have "S" as a hotkey?

    • @Obelisk918
      @Obelisk918  4 роки тому +1

      I do not use WASD was my movement controls. I use left+right click to move forward (but I only use it to break stick or face, then I use auto run). I use F to move backwards and g and h for my strafes

    • @Obelisk918
      @Obelisk918  4 роки тому +2

      I also have my auto run button (space bar) double bound to move forward (to break stick and face) and to auto run immediately after

  • @oldgamerguy4622
    @oldgamerguy4622 4 роки тому

    I've never used AutoHotkey or done scripts of any kind. How difficult it this? I'd love to have these set up for my archer class.

    • @oldgamerguy4622
      @oldgamerguy4622 4 роки тому

      LOL, you're discussing it now as the video went on.

    • @Obelisk918
      @Obelisk918  4 роки тому

      Haha hope I explained it well enough!

    • @oldgamerguy4622
      @oldgamerguy4622 4 роки тому

      @@Obelisk918 Just got home and i'm on autohotkey and watching video again. Just gotta go back to the other video on setting a script, and then getting that script to fire from a mouse button. Does using autohotkey negate setting a macro on my Razer mouse?

    • @Obelisk918
      @Obelisk918  4 роки тому

      @@oldgamerguy4622 I'm not sure how AHK interacts with mouse software. I'll have to play around with it when I have a chance. Out of town until after the new year unfortunately

    • @oldgamerguy4622
      @oldgamerguy4622 4 роки тому

      @@Obelisk918 So I am working on a bard now, my first one, and I was able to use my gaming mouse to make several macros similar to the ones you used with AHK. One button press on the mouse autofaces the enemy or realm mate I've targeted and initiates one or 2 followup spells. Works great.

  • @DavidSmith-uz8lw
    @DavidSmith-uz8lw 6 років тому

    Hi Garrett, your abilities are impressive my friend. Would you mind helping me write a script for a hotkey combo to rotate images in File Explorer?

    • @Obelisk918
      @Obelisk918  6 років тому

      Justin Collins I could try. I really don't have a lot of experience in AHK outside of DAoC, so I don't know if I would be much help

    • @DavidSmith-uz8lw
      @DavidSmith-uz8lw 6 років тому

      I appreciate it bro. No worries. I managed to figure it out.

    • @Obelisk918
      @Obelisk918  6 років тому

      Awesome!

  • @maverickandfriends4848
    @maverickandfriends4848 2 роки тому

    I like AHK but IMO Nostromo Pad and/or a Razor mouse is easier.

  • @txrazor2643
    @txrazor2643 5 років тому

    What UI?

    • @Obelisk918
      @Obelisk918  5 років тому

      Gor's Ghost UI. I'm not sure where it is hosted anymore :(

  • @ryan7149
    @ryan7149 4 роки тому

    This might be a stretch.. but is there anyway you can send me your bard script? Nice video.

    • @Obelisk918
      @Obelisk918  4 роки тому

      Sure, I've copy/pasted my script into a pastebin.
      pastebin.com/WNnhXfXp

    • @ryan7149
      @ryan7149 4 роки тому

      @@Obelisk918 tyvm huge help! Great daoc videos man. Appreciate it.

    • @Obelisk918
      @Obelisk918  4 роки тому

      @@ryan7149 not a problem!

  • @502Bentley
    @502Bentley 5 років тому

    Nvm got it figured out

  • @bitterlemon6650
    @bitterlemon6650 5 років тому +1

    you look like a dentist. no offence. Thanks for the video

  • @Korea-Jeong-Won
    @Korea-Jeong-Won 6 років тому

    mojoware can do this (more easy to play.... much better than autohotkey!!!

    • @Obelisk918
      @Obelisk918  6 років тому

      Nice :> I haven't looked into Mojo's macroing functions yet, so I can't share much information about it

    • @Korea-Jeong-Won
      @Korea-Jeong-Won 6 років тому

      Garrett Lee I love your all video anyway;;) haha

    • @Korea-Jeong-Won
      @Korea-Jeong-Won 6 років тому

      Garrett Lee I play my macro team with mojoware! you should try, next time maybe you teach us with mojoware macro.