Jump to content

Recommended Posts

Posted (edited)

- how to open a window which is opened but minimized

- how to start a program and wait for it to load

- how to connect a series of mouseclicks in one function

Edited by bayslapper
Posted

Oh, Oh - you not interested to read the helpfile?

"- how to open a window which is opened but minimized" ==> @SW_MAXIMIZE

"- how to start a program and wait for it to load" ==> RunWait( ) ; ShellExecuteWait( )

"- how to connect a series of mouseclicks in one function" ==> don't unerstand, what you want

Best Regards BugFix  

Posted

For the first one, that depends on if you want a program to run and be minimized or an AutoIt GUI.

Second, that depends on what you mean by load. If you mean finish, you use RunWait. If you are waiting for something specific, we need specific information.

Third, you just run a bunch of MouseClick calls in a row. You can loop them or type them all out.

There are better ways to form questions. Try using capitalizations and punctuation.

Posted (edited)

Okay let me rephrase.

How would I get a process that is currently running and make it my active / top screen?

How would I make a specified .exe run located in C:\Program Files\ and wait for it to load before doing anything?

3rd answered

Edited by bayslapper
Posted

C:\Program Files\AutoIt3\kev.au3(18,56) : ERROR: syntax error

RunWait( "D2.exe" , "C:\Program Files\Diablo II\" , 0 ]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\kev.au3(23,1) : ERROR: syntax error

Posted

Quick off topic shot in the dark here...

Bayslapper:

Is your name kevin? Do you live in the UK? And have you attended multiplay iSeries LAN events in the past?

If yes to all 3 I might have sat next to you once.

If no just ignore me :whistle:

Posted

on the first question, you probably want to use a run command, followed by winwait

also, the reason for your syntax error is most likely due to using a close bracket instead of parenthesis

] should be ) at the end of your run command

for the second question, look up winsetstate

These are pretty basic questions that you could have answered for yourself by searching in the helpfile...

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
×
×
  • Create New...