Go Down

Topic: Macros to Help you Code (Read 529 times) previous topic - next topic

ljbeng

Jan 01, 2021, 08:32 pm Last Edit: Jan 01, 2021, 08:33 pm by ljbeng
I hope this AutoHotKey macro I wrote can help you code a little faster.

The video goes over what I have done:
https://www.youtube.com/watch?v=OzHBZ8FgxoU

The Github file is here:
https://github.com/ljbeng/ArduinoMacroAHK

You can customize this to your taste very easily.
Get AutoHotKey here:
https://www.autohotkey.com/

ljbeng

They Shoved this into the "SPAM" folder.  Too bad, very helpful and no one will see it.

TheMemberFormerlyKnownAsAWOL

#2
Jan 04, 2021, 11:38 pm Last Edit: Jan 04, 2021, 11:41 pm by TheMemberFormerlyKnownAsAWOL
They Shoved this into the "SPAM" folder.  Too bad, very helpful and no one will see it.
I can see it.
Code: [Select]
for(int i = 0; i <= ?; Seriously?
Please don't PM technical questions - post them on the forum, then everyone benefits/suffers equally

J-M-L

#3
Feb 04, 2021, 11:41 am Last Edit: Feb 04, 2021, 11:45 am by J-M-L
I can see it.
Code: [Select]
for(int i = 0; i <= ?; Seriously?
I suppose this is to help you type common statements faster.
press F4 and you get a template for loop
Code: [Select]
for(int i = 0; i <= ?; i++){
}


press F5 and you get a switch  / case
Code: [Select]
switch(){
case 0:{
  <cursor here>
  break;


press F6 and you get a Serial.print(); with the cursor positioned between the braces

not sure I need that (anyway I'm on a Mac), I type fast enough and think about what I'll be coding when typing and would always get confused about which key is which.
Hello - Please do not PM me for help,  others will benefit as well if you post your question publicly on the forums.
Bonjour Pas de messages privés SVP, postez dans le forum directement pour que ça profite à tous

Go Up