Stream Deck AutoHotkey Launcher - Toggle Scripts with your stream deck

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

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

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

    Your videos are stellar, Walden!! Keep it up, especially the AHK stuff (but anything power usage-related is also great).

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

    Your presentation style is such that I can see the usefulness of this even though I am ignorant of writing scripts. If there is a video primer you can recommend I don't think I would be the only grateful viewer.

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

      Thanks! Wish I could have the time to make more videos. I usually recommend people go through the official ahk tutorials. They’re really good. www.autohotkey.com/docs/Tutorial.htm

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

    Thank you for this! Previously I had one giant AHK script. Each function would be a hotkey. Then in stream deck I would bind the hotkey to the function. It was so annoying. Thank youuuu!

  • @XavierYThandle
    @XavierYThandle 10 месяцев назад

    this is awesome! thanks for sharing! im try this out tonight on my control deck

  • @gezor20
    @gezor20 9 месяцев назад

    hi, can i pass parameters into this? e.g. the path to my ahk and the numer of times a certain loop needs to be executed inside the ahk script.

  • @JaneNoesgaardLarsen
    @JaneNoesgaardLarsen 10 месяцев назад

    How to modify the launch script for Autohotkey v2 - I have gotten some of the way, but the path variable handling does not "play ball" - do you know how?

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

    Hi
    I have a relative with learning difficulties and I plan to set up a gaming PC for him for Christmas, At the moment he has a pc with touch screen and I have programmed some macro buttons to open Itunes and switch the PC off, He also has an Xbox to play games on however I plan to set up a PC to allow him to play games on that instead. I need some quite specific actions to happen on his Gaming PC.
    He will be using Itunes, Windows media player for DVD and 4 or 5 games on his PC.
    He doesnt know how to use a mouse or keyboard because he cant read or write but he can use a touchsceen to play and pause iTunes library and he can use an xbox controller to play games. however the issue he has is closing one game to open another game. I have managed to use Win+1 Win+2 Win+3 macro buttons to toggle between Itunes, DVD, and one game but they just minimise to background which is fine if he only has one game as Itunes and DVD wont hog resources if they are just minimised to background but if he has 2 or more games in background then his games wont run properly it don’t think as it would be using too much resources and the CPU GPU wont cope with the load.
    Could you tell me if its possible to create a script or action using Stream deck to minimise iTunes then launch a game, but if he tries to launch another game it will close the first game so he doesnt have 2 games running at the same time ?
    Im confident I can program the stream deck to toggle between a game in background and toggle back to itunes the key issue is making sure when he presses his Forza button GTAV closes before Forza opens and vice versa.
    Ideally scenario:
    Itunes Button - If open bring to front If not open Launch Itunes
    Forza button - check if another game is running If yes close other game then launch forza - If no check if Forza is running If yes bring to front If no Launch Forza
    GTA V button - check if another game is open If yes close other game then launch GTAV - If no Check if GTAV is running IF yes bring to front If no Launch GTAV
    And so on
    I would be willing to pay for your time to write this script or of you think it would be easily achievable by a noob and you could provide guidance on how to achieve this I would be very grateful.
    Kind regards
    Jamie

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

    How do you get your ahk scripts to have different icons? Mine are always just a H in a green box, separating them visually looks great!

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

      ruclips.net/video/5aetsOYRzGs/видео.html I made a video for this

  • @frederic4108
    @frederic4108 8 месяцев назад

    Great stuff here! Thanks a lot! AutoHotKey is now 2.0, is it due to the Advanced Launcher? Would you explain please, what to upgrade?

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

      I don't use 2.0, you can still use 1.0 auto hotkey

  • @eryxviper
    @eryxviper 8 месяцев назад

    Beautiful. Thank you very much

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

    I am aware this vid is a few years old but... what is going on in those closed captions? lol

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

    This did not work for me, i followed your steps completely top the T but when I click the button it just opens the launcher.ahk file in noetpad++, maybe cause i made those files associate with notepad? but thats how i want it, so i can jump into editing the fasrtest just double clicking =. anyway around this?

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

      You can launch the script with the ahk exe file like how you would on command line still but yea if you changed the default launch behavior it’s gonna do that lol. You played yourself there

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

    is there a way to set a press and hold function when in game as I can have my game in push to talk

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

    Love the video, but i have a question Is there any way to have the image toggle so i know if its activated or not??

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

      Not with my script. Stream deck has a toggle feature where you create on and off actions. you can adjust my script to work with that. I’d do that

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

    I had an issue. Whenever I press the key it says
    Error: Failed attempt to launch program or document:"
    Action:
    Params:
    Specifically: The system cannot find the file specified
    I followed everything correctly, any idea what this could be?

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

      I have no idea what you might have done wrong from this. My discord channel is on waldens.world/contact if you want some more specific help

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

    i have dual pc, main and second pc
    the stream deck plugged in second pc, can I send hotkey to main pc via stream deck?
    for example lunch a game or close a window (alt+f4), or open browser page !
    is there anyway to do that ?

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

      I’m sure it’s possible but that’s not addressed in this video at all. If you could somehow use ahk to do it then you could run the script with this

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

    I'm trying to get an ImageSearch script to run after your script for the advanced launcher but I'm having no joy. My script is to find a button in my Pro tools window and press it but it doesn't seem to be running using this set up you showed.
    Any advice?

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

      Never mind. I got it working. Thank you for uploading this video, helped me out alot !

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

      Make sure you do have the correct working directory in your script your launching. My guess is it’s not finding the image when launched from my launcher script. Put “SetWorkingDir %A_ScriptDir%” at the top of the script

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

      @@waldensautomation I currently have it set like this.
      Your launcher script runs, then a script that has "run Show_Only_Drums.ahk" in it which then runs my script which I originally had bound to shift + 1.
      I don't know if it's the cleanest way to do it but it works! lol

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

    Brilliant !

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

    Nice! I have a few program-specific scripts and I have all of them in my autolaunch folder, so they all run permanently no matter if the respective programs are running. But it would have been much more elegant if those scripts launched only when the respective programs are being launched. Maybe you know how to do it?

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

      Hey, I've actually done something like that before with a custom launch script. Basically it was 2 Run commands where one launched the program and another launched the ahk script I wanted to run. Then I just replaced my desktop shortcuts with each of the scripts. I never really stuck with it though because it was finicky when I went to open programs again or opened from another place like start menu etc. Also scripts would just hang out and stay open. The stream deck thing on the other hand has stuck with me so far because it's got that closing and opening ability. And if I'm being honest a lot of the time I open stuff I don't actually need the scripts I've written. If the tradeoffs aren't a problem for you definetly try out the double run command launcher script

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

      Walden's Automation Thanks. As ahk scripts don’t eat much RAM I will stick to running them all permanently. Elgato seems to be promising for macros. If I ever get to Taran Van Hemert’s level of automation maybe I will invest in a Stream deck.

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

      @@skripnigor I love mine but honestly if you don't do any video stuff it might not be as useful. If your serious about getting it though just get the larger size, I got the 15 just to try it and I'm really wishing I got the bigger one lol. Tarans been a huge inspiration for me and he's making some serious use out of that stream deck

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

    hey, how did you get visual studio to work with ahk files? what version of VS are you using?

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

      I’m using the latest visual studio code with the AutoHotkey extension

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

      @@waldensautomation I cant find the autohotkey extention,I couldnt find where to open the command pallet to do Ctrl Shift P