Hi, first of all, thank you for the program, it's great
I have a question. I'm trying to have this code working:
Aplicacion = getActiveWindow()
if Aplicacion = Blender
HIDMacros.SendKeys "m"
end
What I want is to check the name of the window (or the aplication), so I can have different shortcuts for different applications. But I can't get it working.
Thanks in advance!
Shortcut working only in specific app
Re: Shortcut working only in specific app
I don't remember if there's direct support in hidmacros to get active window title, I would say not.
So your script can't be that easy.
You can check this post for some inspiration: http://hidmacros.eu/forum/viewtopic.php ... vate#p5046
So your script can't be that easy.
You can check this post for some inspiration: http://hidmacros.eu/forum/viewtopic.php ... vate#p5046
Petr Medek
LUAmacros author
LUAmacros author