Windows 10 blocks send keystrokes?

Discuss RoboTask here

Re: Windows 10 blocks send keystrokes?

Postby Oleg » Tue Jan 22, 2019 1:02 pm

It's necessary to work in locked session.
Keyboard and mouse simulation will not work.
You can use Excel actions to open excel document, get and put data, run some macro in document.
Oleg Yershov
Oleg
Site Admin
 
Posts: 2398
Joined: Thu Jan 01, 1970 1:00 am

Re: Windows 10 blocks send keystrokes?

Postby chris.james » Tue Jan 22, 2019 5:05 pm

Rukbunker, thanks for the reply, however the keystrokes command not working when my PC is locked is what brought me to where I'm at now. As long as my PC is unlocked, the send keystrokes works perfectly and I don't have any issues. However, when my PC is locked, "send keys" do not work which is why I was attempting to go the route of trying it with a macro.
Using the "Run Program/Open Document" task works fine to open the Excel workbook, but my Autoexec macro does not fire. I've also tried the built in "Excel Run Macro" task, but I can't get it to execute my macro either.
chris.james
 
Posts: 11
Joined: Fri Oct 26, 2018 9:45 pm

Re: Windows 10 blocks send keystrokes?

Postby chris.james » Tue Jan 22, 2019 5:22 pm

Oleg wrote:It's necessary to work in locked session.
Keyboard and mouse simulation will not work.
You can use Excel actions to open excel document, get and put data, run some macro in document.

Thanks. The built in "Excel Open Document" works when PC is locked and the save and close actions also work, but I have not been able to get the macro action to work. Maybe I just don't understand the proper syntax for the macro action?
chris.james
 
Posts: 11
Joined: Fri Oct 26, 2018 9:45 pm

Re: Windows 10 blocks send keystrokes?

Postby Oleg » Tue Jan 22, 2019 5:32 pm

Just enter macro name
Oleg Yershov
Oleg
Site Admin
 
Posts: 2398
Joined: Thu Jan 01, 1970 1:00 am

Re: Windows 10 blocks send keystrokes?

Postby chris.james » Tue Jan 22, 2019 5:56 pm

Oleg wrote:Just enter macro name

The "Excel Open Document" action has been working, but now it's giving me an error message "Call was rejected by callee" Failed execute 'ExecAction with expection: Call was rejected by callee' (C:\Program Files (x86)....Excel.rtp)
I've tried rebuilding the task and also rebooting my PC, but I'm still getting this error message.
chris.james
 
Posts: 11
Joined: Fri Oct 26, 2018 9:45 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 13 guests