Error send hot key

uiautomation
activities
p_known

#1

hi, I have the following problem
when sending the hotkey, give me this error “write text failed”!!
anyone can help
thks in advanced

write text failed


#2

Hey

Can you upload a screenshot of your send hotkey activity?


#3


#4

That’s bizarre, it works for me.

If you’re trying to close a tab/window, there are activities for that.

Alternatively, you could use “[d(ctrl)]w[u(ctrl)][k(enter)]” in the “Type into” activity to see if that works?


#5

Hi,

This is a known issue for the Send hotkey activity(will be fixed in next releases). I could reproduce on my CE 2017.1.6522. The workaround is the one above, at least it works for me.

@Short what version do you have? Could you please try with the example below?
ctrl-bug.xaml (10.6 KB)


#6

Hey

The first try came up with the error, then I realised CTRL was still on (clicking on the different parts of the flow selected it as well as any other parts I clicked). I unticked the SpecialKey option and it worked fine.

I have version 2016.2.6232, apparently it hasn’t been updated in a while :confused:


#7

Thanks for your feedback, I will pass this to QA team to do some digging. :slight_smile:


#8

I had the same issue :frowning:


#9

I had the same issue like earlier hotkeys was working fine but at once it is not responding.


#10

Seems good workaround!!
For example, you can alternately perform ctrl+alt+f5 like this:
TypeInto “[d(ctrl)][d(alt)][(k(f5)][u(alt)][u(ctrl)]”


#11

Hello, I am trying to use the user event ie Monitor keyboard and got the following error
Also, can the user events trigger work on VMs running in unattended mode


#12

What studio version are you running? Can you send me the workflow?


#13

Hi there. I’m currently having the same issue. I need to send a key combination “ctrl+shift+v” into a cell in Excel. Its giving me error messages when I use the Send Hotkey. For me the macro isn’t working either. Please help.

Thanks