Sign in to follow this  
Followers 0
bayslapper

few thing i would like to know

8 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



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  

Share this post


Link to post
Share on other sites

i have been reading it the past hour and a half

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#5 ·  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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

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

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