Jump to content

Recommended Posts

Posted

Is it possible to make so the program will send commands to a window/program even if it is minimized? so I can do other stuff while running the program?

Thankfull for answers :D

Posted

Yes you can do that. Check out the Control functions in the helpfile

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Posted (edited)

Yes you can do that. Check out the Control functions in the helpfile

Will do,thanks for the fast response :D

Edit: I didn't find it :S

Could someone tell me what I should search for in the helpfile to get it? or what the function is called?

Edited by Zisly
Posted

Will do,thanks for the fast response :D

Edit: I didn't find it :S

Could someone tell me what I should search for in the helpfile to get it? or what the function is called?

Look for functions that start with "Control", e.g., ControlClick()

Posted (edited)

I think i found it, is it this one?

ControlCommand

Sends a command to a control.

?

If I use that will I be able to do other things while the programs ex send messages in another window?

Edited by Zisly
Posted

Only found "GUI control styles" :S

Go to the Index tab, and scroll down until you get to all the "Control..." functions.

Posted (edited)

Thanks !! works like a dream xD :D

Now I dont have to have the window opened all the time :D

Edited by Zisly
Posted

hey

im also new to autoit (writing programms/scripts) and i would like to know how to get a windows pid (process id) which i need to send commands to a window even when its hidden

thx in advance

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