Hello,
I am trying to run a python script that returns to me if the Caps Lock is enabled or not.
The script looks like this:
"import ctypes
def is_capslock_on():
# Get the state of the Caps Lock key (0x14 is the virtual key code for Caps Lock)
capslock_state = ctypes.windll.user32.GetKeyState(0x14)
# If the least significant bit is 1, Caps Lock is on
return capslock_state
print(is_capslock_on())"
The issue is that I run the script and the variable for error and the variable for output are blank.
And another issue is that the flow it's stopping at this action, because after that I put a Display message action and it's not working.
Thank you for your help.