I am trying to type “Abc” into a cmd window using “type into” with SendWindowMessages.
However, robot keep typing in “abc” instead of “Abc”
I have the following constraints and try the following methods:
I must use “Sendwindowmessages” as I have blocked the other input methods (simulate type, default type) using system trigger (tigger input: keyboard; eventmode: eventblock)
I have tried using “set to clipboard” and then “send hotkey” of ctrl V → returns a “write text failed error”
I have tried sending window message with/without selector, “click before typing”, “empty field” → not working
I have tired adding 2 s of delay time before the action, using delay activities or changing delaybefore property of the type into action → not working
An interesting fact is that when the selector of the “type into” action is empty, the case of words will not be changed but the words can’t get to the cmd window when the keyboard even_block action is enabled in the system trigger activity → I cannot remove the system trigger as I need to block user manual keyboard action
I have to use the “start process” to start the cmd with arguments and cannot type in the “Abc” inside the “start process” argument
What can I do? Please help me to type in uppercase in the cmd window when I have blocked the keyboard actions (simulate type, default type).
Once after entering the cmd in start used the following sequence buddy
Type into activity – with cmd window as selector and value as “”
Created a variable nname, with value “Abc” in string format and passed that as text input to set to clipboard activity buddy
Click activity to click the cmd window
and here is the surprise, in cmd when we right click we get the option like PASTE, i just used another click activity to click that paste option, so the set clipboard value of Abc is getting pasted and thus we get the value as expected Abc and not as abc
Here is the sample xaml that i used to test, just run and give any keyboard trigger with keys cmd.zip (2.8 KB)