Jump to content

How i can send key strokes to inactives windows different from control send - (Moved)


Recommended Posts

I have been learning auto it lately trying to optimize my work on the officiet   I manage to fixed the mouse issue wiht mouseclickplus  function cause my window  doesnt have controls 

any idea thank you so much 

Link to comment
Share on other sites

  • Developers

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I have seen theres send message and posttmessage but i got no idea how to use it any examples for me to check ?

for mouse inputs i use function mouseclick plus , is there something similar to that but with kestrokes ?

 

Link to comment
Share on other sites

And what would be the application you are trying to automate ?  Could you show here a print screen of the application, so can see what you are trying to achieve ?

Could you post the code you have done so far ?  What is mouseclickplus ?  Please use tags when you post code, as described in the link.

Link to comment
Share on other sites

#include <_MouseClickPlus.au3>
#Include <SendMessage.au3>

;mouseclick inactive windows
$Window = 'faez'
_MouseClickPlus($Window, "left",1541, 30,1)

;Kestrokes with control send just work on active window
ControlSend('faez','','','e')


;Triying to used send message with leter E
_SendMessage($Window,0x100,0x45,1)
Sleep(50)
_SendMessage($Window,0x101,0x45,1)
 

faez.png

Link to comment
Share on other sites

is an app that have prices of goods what im trying to do  whne ever i type a name on the bar search in one instance i get  brodcast  to the  other instance of the emulator in that way i can configure for one instace to search with other filters   with out the need to type whta im looking in every of the single once instances

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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