Sign in to follow this  
Followers 0
Jrdburrow

Multitask

5 posts in this topic

Hi, kinda new to AutoIt, so if this is something that is real simple and I just haven't found it yet, forgive me.

What I'm wanting to do, is send key entries to one window running in the background, while actively working in another. So far I can only figure out how to send to a window that is currently active. Which is nice and still speeds up and simplifies some of my work, but it would be nice to be able to work on something more complex while the script takes care of the monotonous.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Maybe ControlSend will work for you.

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Maybe ControlSend will work for you.

Almost. That works to send it to the specified window as desired, but it also pulls that window up, interrupting what I am trying to do in the other window.

Share this post


Link to post
Share on other sites

..but it also pulls that window up..

Hmm. It shouldn't, post your code here, let's see how it's doing stuff..

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Possibly WinSetState($hWin, "", @SW_HIDE) could help to force the window to stay hidden


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
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
Sign in to follow this  
Followers 0