Hi All, please can you help a noob?!!
I got my Keybow all assembled and up and running in it’s default configuration and it works fine.
I then followed the simple tutorial to get key 0 to open the Run window and run cmd.exe, this code:
function handle_key_00(pressed)
if pressed then
keybow.set_modifier(keybow.LEFT_META, keybow.KEY_DOWN)
keybow.tap_key("r", pressed)
keybow.set_modifier(keybow.LEFT_META, keybow.KEY_UP)
keybow.sleep(500)
keybow.text("cmd.exe")
keybow.tap_enter()
end
end
As expected it works, it also works when I replace cmd.exe with notepad.exe. All the other keys also work as per the rest of the default.
My problems start when I replace the cmd.exe with the path of the shortcut I want to run, i,e,:
function handle_key_00(pressed)
if pressed then
keybow.set_modifier(keybow.LEFT_META, keybow.KEY_DOWN)
keybow.tap_key("r", pressed)
keybow.set_modifier(keybow.LEFT_META, keybow.KEY_UP)
keybow.sleep(500)
keybow.text("C:\xxxxxt\xxxxxx.xxxx")
keybow.tap_enter()
end
end
None of the keys then work, not this key or any of the other keys that I haven’t changed the code of!!
The Keybow seems to be on as the LED light pattern runs, whichever pattern I change it too!
I can’t understand why it just stops, I expected it to “type” the shortcut path in to the run box but nothing happens!
I know it’s obviously something I’m doing wrong.Thanks in advance.