Jump to content

Recommended Posts

Posted

hello,

 

i experience that sending the keyboard events, especially the arrow keys {LEFT,RIGHT,UP,DOWN}...  are not received by a keyboard controlled html page, 

 

this is what i do:

 

  au3.WinActivate(selectedWindowName);
   au3.Send("{UP}");

    here is the website i want to control using autoit c#   
  http://www.duesseldorf-gigapixel-panorama.360-up.com/
      

what actually only works right now is mouse controlling the app, it is a panoramic photo viewer, and mousedown/mouseup/mousemove work as expected, but not the keyboard stuff, any hints on how browser control names are called to send the commands to ?

 

here is what i get from internet explorer win10

"ApplicationFrameTitleBarWindow\n
Windows.UI.Core.CoreWindow\n
Spartan ServiceUI XAML-To-Trident Input Routing Window\n
Spartan XAML-To-Trident Input Routing Window\n
Spartan Tab XAML-To-Trident Input Routing Window\n
TabWindowClass\n
Windows.UI.Core.CoreComponentInputSource\n
Internet Explorer_Server\n
Spartan ServiceUI XAML-To-Trident Input Routing Window\n
Spartan ServiceUI XAML-To-Trident Input Routing Window\n
ApplicationFrameInputSinkWindow\n"

any help and hints are greatly appreciated, thank you

 

 

 

Posted (edited)

... but the provided code looses its process data structure somehow, so i would like to retrieve a Window.Process class instance from a ProcessID retrieved by autoit 

 

hrm, not really satisfying that solution, for once because of the starting of chrome, but even though the chrome is started just once, the sending of a keyboard command does not work :(

 

 

Edited by trifox
Posted

and btw, the browser does not matter, either InternetExplorer, Chrome, Firefox, any hint on how to send a keyboard event to such a browser would be helpful ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...