Page 1 of 1

send keys: log?

Posted: Wed Aug 08, 2018 5:29 am
by ZuiZuiZui
Hello,
I am using "Send keys to active windows" for testing a software and it works fine. But in some cases I see unusual behavior. Can I log the "sent key" from my key where the "windows changed" event triggered?
Thank you

Re: send keys: log?

Posted: Wed Aug 08, 2018 7:07 am
by Oleg
Can I log the "sent key" from my key where the "windows changed" event triggered?
It seems I don't understand what do you mean...
Could you describe your goal in more details?

Re: send keys: log?

Posted: Thu Aug 09, 2018 3:18 am
by ZuiZuiZui
I mean, I send a long list of key strokes like aa, bb, cc, dd, ee (etc.) and I want to find out on which key the "Windows capture change" Event happened.

Re: send keys: log?

Posted: Thu Aug 09, 2018 8:25 am
by Oleg
Now you can't determine what trigger fired if you attach many triggers to a task.
Maybe we have to add some mechanism to make this simpler.

But now you can use such trick:
  • make the Main task - it does necessary actions
  • make several tasks which contain only one trigger and one action Start Main task with parameter. Look at the action Start Task. Each task should use its own parameter.
    For example: 1-st task has parameter trigger=1, 2-nd has trigger=2 and so on.
  • in the main task you can analyse the value of variable trigger and determine what trigger fired