Jump to content

WinActivate,Send


phutte
 Share

Recommended Posts

My first topic, EVER (lie)!

Is it possible to Send("") any key to a window in the background, without having to WinActivate("") and then WinWaitActive("").

Am learning AutoIt, trough making an .ini set of applications that will be used via the GUI. It's main purpose is to CTRL-S my code in PSPad, and then update my browsers (FF, IE & Opera), all just by hitting {"F8"}.

All this are easily configured, and works fine.

I have searched the Help-file, Forum etc for info on 'How to send keys to applications in the background, without having to bring them to the front first'.

The reason: I think it is a bit heartaching (but faster than myself doing it manually), to wait the 3-4 seconds it takes for my script execute my wish. So hopefully there is a swift way of doing that in just i Nano-second, that i am not yet aware of?

Cheers from a snowy Sweden

./phutte

Link to comment
Share on other sites

ControlSend()

EDIT: Tip! Read help file entry of a command (here Send). At the end there is always a list of related commands (here controlsend)

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Missed that one...

NP

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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...