19:47:41: *** ERROR: /Users/MyUsername/.hammerspoon/a:1: unexpected symbol near '>' The error showing up in the console (right after getting a “Hammerspoon Error” notif) is this: I’m an idiot and wasn’t editing a.Įdit #2: Feel free to look at what I linked below for additional context, but here’s an update: I typed everything into a the exact same way that I had mistakenly typed it into the console earlier. Thanks in advance.Įdit: Oop.got this other error that I might be able to fix. Would anyone be so kind as to show me how I could do this or something similar with Hammerspoon, if at all possible? I’m definitely in way over my head here. He uses this script: #IfWinActive UNDERTALE There’s a video here of a kid using AHK to accomplish what I’m trying to do. When I set out to do this, I kept coming across references to AutoHotKey, which obviously isn’t supported on Mac. The arrow keys on my Mac are ridiculously tiny and it makes combat near impossible my intent is to find a way to bind the in-game Up/Left/Down/Right controls to WASD instead of the default arrow keys. The game does not allow for changing the keybindings for the controls in any capacity. I have a MacBook Air running the latest version of Catalina, I just downloaded the latest version of Hammerspoon, and I’ve been reading through info on the website/messing around with the basic tutorials for about 30 mins now.įor those of you who are familiar with the game Undertale, the game has retro controls: basically just the arrow keys and a few other keys. I typically keep the case on the function name and reference (the bolded text) in all lowercase but make sure those match as well.Īlso, note that the is referring to choosing a single character to use in conjunction with the hyper key.Full disclaimer: my knowledge of programming is incredibly limited. Important: The name of the application inside the parentheses is case sensitive so make sure it is capitalized correctly if applicable. function () openApp("") end hs.hotkey.bind(hyper, '', )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |