Just Shift or Ctrl
Just Shift or Ctrl
How would i make a Key that does Just Shift not shift + something. i want to use a bluetooth numbpad with my surface for photoshop but can't seem to find how i can make it just use SHIFT and CTRL with no extra keys
Re: Just Shift or Ctrl
I'm in exactly the same situation... Surface and Photoshop...
Did you find a workaround? And for ALT key?
Did you find a workaround? And for ALT key?
Re: Just Shift or Ctrl
Hmm, if there's a need I may add it.
But would be luamacros only, not hidmacros.
Still ok?
But would be luamacros only, not hidmacros.
Still ok?
Petr Medek
LUAmacros author
LUAmacros author
Re: Just Shift or Ctrl
would be neatadmin wrote:Hmm, if there's a need I may add it.
But would be luamacros only, not hidmacros.
Still ok?
Re: Just Shift or Ctrl
Hi, I've just stumbled on this issue myself.
1. Being able to use modifiers on their own is pretty crucial to my workflow.
2. I'm definitely not a coder but if Lua Macros now supports that, I'll learn it
1. Being able to use modifiers on their own is pretty crucial to my workflow.
2. I'm definitely not a coder but if Lua Macros now supports that, I'll learn it
- Attachments
-
- the keypad of my dreams
- targus_macros.jpg (31.03 KiB) Viewed 11910 times
-
- Posts: 1
- Joined: 09 Feb 2018, 20:09
Re: Just Shift or Ctrl
Hey, I just made an account to say that I'd really appreciate this feature!
Re: Just Shift or Ctrl
In the meantime lmc_send_input was added to LuaMacros and with this function you should be able to send just modifier, e.g. for shift:
Code: Select all
lmc_send_input(16, 0, 0) -- press shift
lmc_send_input(16, 0, 2) -- release shift
Petr Medek
LUAmacros author
LUAmacros author
-
- Posts: 14
- Joined: 06 Feb 2018, 05:23
Re: Just Shift or Ctrl
Actually, you can write some scripts on other platforms, i.e. python, perl or NodeJs, so as to perform the related function, while using LuaMarcos to call the script.
For instance, in "shift.py", write the following two lines
import pyautogui
pyautogui.press('shift')
Then, you can call it from LuaMarcos by
lmc_spawn(python_path, program_path .. "shift.py")
Hence, with the related techniques, I found LuaMarcos is mighty!!!
Also, Admin, may I know how can I call a lua script in the folder path with spaces.....
I have tried to decompile the exe to add the " " in IDA but fail....
PS. Thanks for Admin to write the nice program like that!!!!!
For instance, in "shift.py", write the following two lines
import pyautogui
pyautogui.press('shift')
Then, you can call it from LuaMarcos by
lmc_spawn(python_path, program_path .. "shift.py")
Hence, with the related techniques, I found LuaMarcos is mighty!!!
Also, Admin, may I know how can I call a lua script in the folder path with spaces.....
I have tried to decompile the exe to add the " " in IDA but fail....
PS. Thanks for Admin to write the nice program like that!!!!!