VIA Macros - A simple tutorial

Поділитися
Вставка
  • Опубліковано 23 лют 2023
  • Here's how to create QMK macros in VIA! We'll use QMK keycodes, and I'll give several example macros.
    STUFF IN THIS VIDEO
    ⌨️ Keycode list: docs.qmk.fm/#/keycodes
    ⌨️ My QMK Configurator & Flashing tutorial: • QMK Tutorial (Simple G...
    ⌨️ Download Via here: www.caniusevia.com/
    MORE SWITCH VIDS
    🎥 Kailh Deep Sea SILENT: • Kailh DEEP SEA Sound T...
    🎥 Kailh Speed COPPER (tactile): • Kailh Speed COPPER Rev...
    🎥 Kailh Speed GOLD (clicky): • KAILH GOLD review & so...
    🎥 Akko LAVENDER PURPLE: • Akko CS LAVENDER PURPL...
    🎥 Akko MATCHA Green: • Akko MATCHA GREEN Soun...
    🎥 Akko Jelly Black Sound Test & Review: • Akko Jelly Black Sound...
    🎥 Kailh Box vs Gateron: Which is better? • KAILH BOX vs GATERON /...
    🎥 Kailh Box PINKS Sound Test: • Kailh BOX PINK Sound T...
    🎥 Kailh Box JADES sound test: • Kailh BOX JADE Sound T...
    🎥 Kailh Box RED BEAN PUDDING: • Kailh Box RED BEAN PUD...
    🎥 KTT Mint: • KTT MINT Switches Soun...
    🎥 Gateron INK BLACK Review & Sound Test: • Gateron INK BLACK V2 R...
    🎥 Gateron MILKY YELLOW sound test: • Gateron MILKY YELLOW S...
    🎥 Tecsee CARROT Switch Review & Sound Test: • Tecsee CARROT Switch R...
    🎥 Tecsee Sapphire (Tactile!): • Tecsee SAPPHIRE Sound ...
    OTHER KEYBOARD VIDS
    🎥 What is a mechanical keyboard? • What Is a Mechanical K...
    🎥 Keychron K7 (ultra-slim mech) review, unboxing, and sound test: • Keychron K7 Review, Un...
    🎥 Royal Kludge RK84 Review, Unboxing, & Sound Test // The BEST budget-friendly mechanical keyboard? • Royal Kludge RK84 Revi...
    🎥 KBD67 Lite R3 Unboxing, Build, & Sound Test: • KBD67 Lite R3 Unboxing...
    🎥 The $40 Tecware Phantom REVIEW & sound test: • TECWARE PHANTOM Sound ...
    🎥 Switch Films (simple tutorial): • Switch Films Explained...
    🎥 POM Jelly keycap review & sound test: • POM Jelly Keycaps Unbo...
    🎥 How to lube switches FASTER: • How To Lube Switches F...
    🎥 CIY Tester 68 FULL MODS (under $20): • CIY TESTER 68 Build (s...
    WANT TO STAY UP TO DATE ON THE LATEST MECHANICAL KEYBOARD NEWS?
    Join the free newsletter at keebnews.com/
    -Group buy updates
    -Interest checks
    -Giveaways
    -Inspiration from the MK community
    -way more!
    Want more videos from me? Please consider subscribing!
    SUBSCRIBE IF YOU'RE A FELLOW KEEB NERD!
    ✅ ua-cam.com/users/UCNZNUWgcV7Dj...
    #qmk #via #mechanicalkeyboards
    Affiliate Disclosure: Some of the links above may be affiliate links! Affiliate links are used for each tool that we are an affiliate of, which means that if you click that link and subsequently make a purchase, we will earn a commission. You pay nothing extra; any commission we earn comes at no additional cost to you. You can read our full affiliate disclaimer here: keebnews.com/legal

КОМЕНТАРІ • 105

  • @user-sd6ey7bs2b
    @user-sd6ey7bs2b 11 місяців тому +39

    You’re more helpful than anything I found from Keychron or VIA. Thank you!

    • @ClonnyGayms
      @ClonnyGayms 7 місяців тому

      Exactly, I tried to do this without and I couldn't succeed. Glad I saw this video.

  • @floffice976
    @floffice976 Рік тому +6

    very few videos regarding VIA on the web. Good stuff, thanks. I'd be happy to see more of these

  • @TheQBSchool
    @TheQBSchool 3 дні тому

    this helped. thank you. -JT

  • @mikes978
    @mikes978 Рік тому +23

    Just 2 mins into the vid and already noticed a few things...
    You CAN just type the letter(s) for the macro and it will type it out. Might be because you're on an older version of VIA. Use the web version for latest updates. (Edit: looks like you found out/knew/lying about this later on in the vid)
    VIA added delays sometime last year. I needed to update the firmware on my keyboard in order for it to work and update your version of VIA too (or just use the web version).
    To add a delay, just simply put the milliseconds in {} curly brackets. for example: "Hello {500}World." This will type "Hello " then wait 500 milliseconds before typing "World."
    And side note, VIA just released a newer version since this came out (v3 I think?) with new UI. Unfortunate since you just made this video a few weeks ago, but a good opportunity to remake the video with this new info and new interface :)

  • @Dillydallydandy
    @Dillydallydandy Рік тому +3

    This was wicked helpful, thanks for sharing the know-how!

  • @JoelB-eg6qv
    @JoelB-eg6qv Рік тому +2

    Thank you. I spent all day yesterday trying to figure out why my macro was not working. Today I found this video and it solved my issue in 5mins.

    • @mikenonan6323
      @mikenonan6323 10 місяців тому +1

      sharing your issue here might also help others in the future.

  • @CHRlSBLAlN
    @CHRlSBLAlN 2 місяці тому

    This was insanely helpful. Instant subscriber

  • @abdulbasir8740
    @abdulbasir8740 10 місяців тому +1

    Thank you brother, just configured my keychron q6 pro keys

  • @exploring_theuniverse
    @exploring_theuniverse 6 місяців тому

    Super helpful video! Appreciate you!

  • @pharmlord
    @pharmlord 9 місяців тому

    Love your content and flow

  • @einmoise
    @einmoise 2 місяці тому

    Fantastic video!

  • @ENZO88SPEED
    @ENZO88SPEED 8 місяців тому +1

    Thank you, you have saved so much time for me. Is there anyway to hold shift or control key and release it when pressed again with any key?

  • @thedeegee1601
    @thedeegee1601 10 місяців тому +3

    Is there a way to make it so the volume increments go by 1 instead of 2 for Windows?

  • @errynugraha
    @errynugraha 11 місяців тому

    Thanks for the tutorial!
    I really want to buy a Keychron keyboard but I'm afraid the software is not as good as Razer Synapse which I'm currently use.
    Does it support auto profile switching?

  • @RJD12345
    @RJD12345 Рік тому +1

    Is there a way I could set a macro to the knob on my keyboard. So that it will mute the sound or pause what im watching in my browser while im tabbed into a game?
    For example I sometimes will have a livestream open or a youtube video playing while waiting for a queue in apex. I want to not have to tab out of the game to pause or mute the stream/ video.

  • @heyihavenoclue7541
    @heyihavenoclue7541 6 місяців тому

    is there a way to slow down the rate at which a macro ( lets assume that it is a phrase of 10 words) types down the phrase slower? so instead of it taking 3 seconds, making it take 8 seconds? Would be awesome if you could help me out

  • @philoki
    @philoki 2 місяці тому

    love you, thanks

  • @MeddlingMageGR
    @MeddlingMageGR 6 місяців тому

    One question I would like to ask please because I see that you know a lot of things : Is there a gaming keyboard or gaming mouse where I can activate (or deactivate) my macros remotely? I usually play my favorite game via Chrome Remote Desktop and I can't interfere with the macro running (F1 to F10 keys pressing all the time). And if I want to do some other work, I just can't. Any ideas on how I can do this are welcome.

  • @ThePaulus2010
    @ThePaulus2010 10 місяців тому

    so i am currenlty building a 4x10 handwired board with a pi pico.. but were can i find a tutorial for the QMK/KMK pico that uses macro's in the sense of multiple key strokes.. like i push a button.. the action will be A (wait 10ms) B (wait 10ms) C ?

  • @dennisnorth5573
    @dennisnorth5573 10 місяців тому

    How do you clear a macro that is assigned to a key - and have it go back to whatever the function was prior to adding the macro?

  • @korith5732
    @korith5732 2 місяці тому

    your vid helped me understand more in 10 min then 5 days of me trying to figure this out. now i just gotta figure out why my macro pad isnt showing up

  • @elevated001
    @elevated001 6 місяців тому

    Helpful vid, but why would you use Alfred on Mac when there is Spotlight built in?

  • @jamesshamburger5435
    @jamesshamburger5435 6 місяців тому +2

    can you do a video on how to increase the amount of macros beyond 16

  • @RyanCamaratta
    @RyanCamaratta 4 місяці тому

    Why are a lot of qmk keycodes not showing as options in via for me? Stuff like capswords and modtap keys etc. just got a k6 pro, first mech, was able to do some cool stuff but seems a little limited without all the qmk parameters available

  • @olesturm262
    @olesturm262 Місяць тому

    Is there a way to bind a macro to a key combination. For example, option + 1 runs macro 0?

  • @000hugohew
    @000hugohew 8 місяців тому

    Hi may I know the QMK support toggle macro key for gaming? If yes, could you be able to show us how to configure thank you.

  • @notDroxy
    @notDroxy 11 місяців тому

    how do I make macro pressing left shift every 200ms only while im holding left shift also does it saves onboard

  • @SoyBrokenNino
    @SoyBrokenNino 8 місяців тому

    so I cant use advanced keycodes on VIA? I need to use the Wheel Mose tu use a a macro for zoom in and zoom out :(

  • @boithebingus3317
    @boithebingus3317 3 місяці тому

    how would one make multi key macros? for example having to do shift+m to trigger it.

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

    Since you are using Mac with a customer keyboard what buttons do you press to enable alfred😊

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

    is there any other program i can use to make layers for my keyboard i have the VN96 Dukharo and its not supported in the VIA list, any one can recommend me another softwear to do so [= thanks alot

  • @David.Buckheister
    @David.Buckheister 6 місяців тому

    I am having a problem with a macro. I have an excel file with a list of my passwords that I would like to bind to a key. I tried using {KC_LGUI}passwords{KC_ENT} the macro pulls up search and types in the file name, but won't hit enter. I have tried with spaces before and after the file name and nothing works. Do you know what could be going wrong?

  • @ranchochanchad2397
    @ranchochanchad2397 4 місяці тому

    hello, how to make macro spamming f1 to f9 with left mouse button. using via?

  • @aeko
    @aeko 7 місяців тому

    How do I make VIA keep the Numlock key on by default?

  • @Steven.Siow.
    @Steven.Siow. 11 місяців тому

    Just got my first mechanical keyboard (Keychron Q1 Pro QMK/VIA Wireless Custom Mechanical Keyboard) .... however doesnt seems to be able to change the knob macro to zoom in and zoom out.. Anyone is able to help out ? Much appreciated !

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

    Great tutorial! but unfortunately when I am trying to set macro using only text it dose not work properly for exemple:
    Macro in VIA: Hello world!
    Results: Helloworld
    Is there any know solution for this? Thanks

  • @Lan_oi
    @Lan_oi 10 місяців тому

    please show me how to repeat macro by key combination (key + mouse)

  • @kareemghattas802
    @kareemghattas802 4 місяці тому

    how to map TWO keys to another key?
    ive searched many times and can find no examples how to map two keys to another key
    Something very basic like Left_CTRL + Left_ARROW = HOME
    There is no provision to type two keys - just one - on the basic configure tab
    Any help much appreciated!

  • @vini_artist
    @vini_artist 7 місяців тому +2

    Is VIA update de keys on the keyboard hardware or is it an interface that translate the press info to Mac/PC? I’m looking for a macro pad to use on pc, Mac and iPad with the same keys input programmed by me. Thanks

    • @10bokaj
      @10bokaj Місяць тому

      I would also like to know

  • @gingerpr3515
    @gingerpr3515 5 місяців тому

    can someone help, I want a macro that makes me switch audio between my headsets and speaker.

  • @CreachterZ
    @CreachterZ 9 місяців тому +1

    Has anyone mentioned the power of AHK and via?

  • @R3yedit
    @R3yedit 3 місяці тому

    How can I set an em dash with a macro?

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

    whats the code for repeated "e" press

  • @salmonn_gz7987
    @salmonn_gz7987 6 місяців тому

    i'm not even a progammer, i'm just liking my new mechanical keyboard (especially the typing sound).

  • @RocketKitten1
    @RocketKitten1 4 місяці тому +6

    So, is 15 Macros the max? I want to use a whole Q1 pro board just for macros, would that be possible?

    • @b3owu1f
      @b3owu1f Місяць тому

      16.. and yes.. thats it.

  • @waynelylemeyer
    @waynelylemeyer 7 місяців тому +2

    Hey Keeb, quick question, could I make short cuts for word, where I would type res and it would write out Respondent or lets say app for Applicant? Your feedback will be greatly appreciated!

    • @KeebNews
      @KeebNews  7 місяців тому

      Yo! I don’t *think* Via can do typed strings, only hotkeys. (I actually wanna research this for a workaround though).
      However, you can use Keyboard Maestro (Mac) or Autohotkey (Windows) to do this easy! (There’s also apps like atext or TextExpander, but they’re more expensive and not worth it. )

    • @user-st7ud6pc3i
      @user-st7ud6pc3i 5 місяців тому

      I'm sure you're not being allowed to use Word's Autocorrect, which is the simplest solution there is. I'd use /res to autocorrect to Respondent and /app to Applicant. But I'm sure that's not a possibility in your environment. Sorry I couldn't help.

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

    Do macros have to be bound to a single keypress or can they be bound to a combination keypress? I already don't have enough keys and have all my function keys bound to autohotkey

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

      I just learned via as well. In your keymap layer 0, you can assign a layer key "MO(1)" to your Alt/Ctrl/Fn key to trigger switching to layer 1 then assign another key in layer 1 for your preferred macro like what he did in this video.

  • @rodascesar1
    @rodascesar1 7 місяців тому +1

    Awesome video! I would like to have more macros. I just need different ones for different programs, is there a way with via?

    • @angierichelle
      @angierichelle 4 місяці тому

      @rodascesar1 I’m trying to do the same thing and having the same problem… can’t find any info on this! have you had any luck?

    • @rodascesar1
      @rodascesar1 4 місяці тому

      @angierichelle sadly no. But there are some keys not on the keyboard that you can use. Like f13-f19 to map to other functions. But macros I couldn't find a way.

  • @TimParker
    @TimParker 6 місяців тому

    this is so useful! can you possible do a tutorial on mapping the knob to things like zoom? nobody anywhere is explaining how to do this!

    • @100Bucks
      @100Bucks 5 місяців тому

      If you're on a windows PC it's very simple. I'm assuming knob is volume up and volume down. You need a program called Autohotkey. It only runs on windows. This is an example if you wanna do 2 macros with volume up and volume down.
      Volume_up::
      run www.youtube.com
      return
      volume _down::
      WinClose, a
      return
      You write all scripts with notepad. Then save the file as .ahk . Double click on the Autohotkey script to activate it. Volume up would open UA-cam. Volume down would close UA-cam.

  • @jlong390
    @jlong390 Місяць тому

    So why won't it hit the same buttons I type out and just gives me an error lol

  • @forgotten4690
    @forgotten4690 4 місяці тому

    Hello, does anyone know how to set macro for calculator app?

  • @JT-di1uz
    @JT-di1uz 6 місяців тому

    This video is great, Pete! I bought the DOIO 3-Knob macro pad after seeing your videos, and I love it so far!
    Question: Is there a way to record long, complex macros in VIA without being in fullscreen? I'm wanting to automate work projects such as creating reports from a website and creating an excel pivot table with a couple macros.

    • @DonkeyOnAUnicycle
      @DonkeyOnAUnicycle 4 місяці тому

      That would be better done using AutoHotkey or Python imo.

  • @chris.breadman
    @chris.breadman Рік тому

    Do you know if I can at like the time the key should be executed lik Space in .5 sec and another key in .6 sec?

    • @mikes978
      @mikes978 Рік тому +1

      Yes, VIA added in delays not too long ago. Make sure you update your keyboard to the latest firmware (I had to with mine).
      To add a delay, just simply put the milliseconds in {} curly brackets. for example: "Hello {500}World." This will type "Hello " then wait 500 milliseconds before typing "World."

  • @gentleatlas8057
    @gentleatlas8057 Місяць тому

    I'm using a Keychron V5 Max and I'm trying to create a macro to lock my MacBook. Has anyone done a similar macro?

  • @shafayet_khan
    @shafayet_khan 5 місяців тому

    nice

  • @Mesopotamian
    @Mesopotamian 5 місяців тому

    it started with me being frustrated at work doing repetitive design commands in cad and looking for a one-button solution without having any clue about keyboards and macros
    now I've ordered a Keychron and browsing for keycaps and keyswitches accessories while watching this video... I hope I didn't unlock a new expensive hobby 😭

  • @DrYellow4722
    @DrYellow4722 2 місяці тому

    How can I access via

  • @fearthesmeag
    @fearthesmeag 6 місяців тому

    dude nice video, but would be helpful for us complete noobs, how you got to the UI? As it was already open on your screen. Im aware that I can google it which I did, as its via a web UI, when I authorize my keyboard, I just see a keyboard avatar rocking side to side - this would also be helpful in your video, to get past this.

  • @jcyt2023
    @jcyt2023 6 місяців тому

    Does the software need to be running for the macros to work? As in are the macros stored on the keyboard? Thank You

    • @makoi6k1
      @makoi6k1 3 місяці тому +1

      The software doesn't need to run, nor you need to install it (there's a via web app). The macros are stored in the keyboard

    • @jcyt2023
      @jcyt2023 3 місяці тому

      ty for the reply. How many macros can you program on the keychron? Is there a keystroke limit for each macro? @@makoi6k1

  • @tom_basson
    @tom_basson 9 місяців тому

    Do you know if this online software works on an android tablet running chrome? I've got the keychron k3 pro

    • @dimapartov
      @dimapartov 9 місяців тому

      As far as I know, the keyboard has to be connected by wire for VIA online to work

  • @squatpuke
    @squatpuke 10 місяців тому

    I have a Keychron V1 75% - of course NO frickin' PRT SCREEN button...can I program a key combo and assign the PrtScreen functionality? For instance...I want to hit 'left-alt' & ` as a key combo and have the PrtScreen functionality happen...possible? or am I just hosed?

    • @downest1
      @downest1 2 місяці тому

      SAME!!!! Did you find a fix?? all I want is to take a screenshot?

    • @downest1
      @downest1 2 місяці тому

      I found a fix! go to VIA, and then on the keymaps page, in the top left, go to keymap 2. This is all defaults. Then, i made insert (top right key) print screen and saved the preset. My print screen works now and I can take a screenshot!

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

    So macros can only contain (predefined) keycodes and hardcoded text?
    I'm searching for a method to get rid of brackets stored in the clipboard, e. g. "Mustermann, Max " needs to be converted to "Mustermann, Max" by a simple click on a button/key. Would be great, if this could be realized with VIA macros, but without reprogramming the keyboard firmware (which I could but the effort is way to high for such a simple, but often used task).

    • @CJ0175
      @CJ0175 8 місяців тому

      Open Notepad, CTRL-V, CTRL-H to find/replace as many times as necessary, CTRL-A, CTRL-C, ALT-F4.

    • @PhreakDarkSoul
      @PhreakDarkSoul 8 місяців тому

      @@CJ0175 That does not work as a macro for a key.

    • @CJ0175
      @CJ0175 8 місяців тому

      @@PhreakDarkSoul yes it would

    • @PhreakDarkSoul
      @PhreakDarkSoul 8 місяців тому

      @@CJ0175 No, show me the solution as macro text, including start and switch to notepad and also closing it finally. Also including check if the correct windows are used, to avoid closing or pasting into the wrong application.

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

    Can I open google chrome by just pressing a single key? (mac) while
    chrome is closed

    • @tylermarnin6852
      @tylermarnin6852 8 місяців тому

      make a macro that presses command + space and types in chrome then presses enter

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

    Is this Ducky Halloween keycaps?

  • @BillAngelos
    @BillAngelos 7 місяців тому

    Hi, this software is basically what I need, but VIA isn't compatible with my ASUS laptop keyboard. Is there any other software that you can recommend that will work with it? I'm working on a project to greatly increase my productivity and need to create macros for my F13 to F24 keys. I just can't find any software that will let me output words like you are with VIA.
    Thanks!

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

    😳

    • @KeebNews
      @KeebNews  Рік тому +1

      Hold up--did THE Geon just comment on my UA-cam video? I've been staring at your keyboards for months! I need that Frog TKL :) Soooo tempting.

  • @lukas______
    @lukas______ 8 місяців тому

    Why do people like QMK VIA vs manufacturers software? If its about security, some people have a security warning when downloading...

    • @Celesian
      @Celesian 7 місяців тому

      Some people like QMK/VIA because it saves to the board itself. So like if your work doesn't allow external software to be installed, you could setup your board at home and then still have the macros, layers, remapping work on your work computer

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

    whats the difference betw VIA and Autoit

    • @CJ0175
      @CJ0175 8 місяців тому +1

      AutoIT is an application running on the computer. VIA is stored on the keyboard.

    • @rickdeckard1075
      @rickdeckard1075 8 місяців тому

      @@CJ0175 ah

  • @cakeo4651
    @cakeo4651 Місяць тому

    all i want is to be able to pause and play my vids with a command:(

  • @user-qn5uf5tr9g
    @user-qn5uf5tr9g 2 місяці тому

    what even is this, nothing to download

    • @user-qn5uf5tr9g
      @user-qn5uf5tr9g 2 місяці тому +1

      found a download link on a github page, does not work on windows

  • @BigFreakinTexan
    @BigFreakinTexan 3 місяці тому

    Holy ADHD... You're talking and switching tasks at lightning speed. Maybe this is a simple tutorial for someone who already has a pretty good idea of how this all works but I was lost within a couple of minutes.

  • @nataliedavison5592
    @nataliedavison5592 4 місяці тому

    Hi there, this has been great but I’m having issues with opening up an app.
    I’m on a Mac and I want to open mail app.
    So I’m putting in {KC_LGUI,KC_SPC} which works it open up spotlight search
    Than when I add mail {KC_LGUI,KC_SPC}mail{KC_ENT} it opens Spotlight search but it doesn’t open mail.
    Your help would greatly be appreciated.