Jump to content

switch application


Tri
 Share

Recommended Posts

Hi,

I'm new to software development and found autoit quite easy to develop my own functions and program.

I have 1 quick question. I have program 1 and 2 running. I am running program 2 at the moment. I'd like to be able to switch to program 1 as active program and do some functions after a certain time and change back to program 2 to continue my work.

Does this look like it:

WinActive("program 1")

[function]

WinActive("program 2")

Sleep(100000)

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