| View previous topic :: View next topic |
| Author |
Message |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Sat Mar 08, 2008 9:21 am Post subject: receive the status of the button from the minimized window? |
|
|
ho to do subj?
status: pushed on/off i mean. _________________ sorry for my bad english ^^ 
Last edited by Kiber on Thu Mar 13, 2008 5:45 am; edited 1 time in total |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1071
|
Posted: Sat Mar 08, 2008 9:27 am Post subject: |
|
|
My Jedi mind powers tell me that ControlGet is what you are looking for. _________________ My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Sat Mar 08, 2008 11:29 am Post subject: |
|
|
Please, show one working example. _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Mon Mar 10, 2008 2:44 pm Post subject: |
|
|
UP  _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Mon Mar 10, 2008 2:59 pm Post subject: |
|
|
| Quote: | | Please, show one working example. |
| Code: | ControlGet, KiberBrain, Enabled,, Brain, Kiber
If KiberBrain = 1 ; enabled
MsgBox RTFM
Else
SoundPlay, Fart.wav | Till now any testing on that specific (body)control has been responded with "0"  |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Mon Mar 10, 2008 6:15 pm Post subject: |
|
|
I am not assured that you correctly have understood me.
I will explain what to be convinced.
When I wrote "button from the reduced window", I had in view of not the visual button belonging to the interface, but the button on the keyboard which code of pressing is sent to this window by means of ControlSend. _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Mon Mar 10, 2008 6:59 pm Post subject: |
|
|
| GetKeyState? Virtual Keycode?? |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Mon Mar 10, 2008 7:29 pm Post subject: |
|
|
GetKeyState
Exactly, but from reduced window. _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Mar 11, 2008 8:31 pm Post subject: |
|
|
| up |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Wed Mar 12, 2008 4:41 pm Post subject: |
|
|
up _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Mar 13, 2008 5:19 am Post subject: |
|
|
down
...seriously you should stop bumping (or is that "up"ing?)...I read this days ago before all the bumps & I still don't understand it...by "reduced window"...do you mean "minimized window"?...I really don't understand what you mean...a "button" can't be "pushed on/off" in a "minimized window"...a "checkbox" could be checked or unchecked in a minimized window, but a checkbox is not a "button" & nothing is a "reduced window"...please give more information...or a screenshot...or something...saying "up" for days on end REALLY isn't helping...
| Kiber wrote: | sorry for my bad english ^^  |
...understatement of the century... |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Thu Mar 13, 2008 5:35 am Post subject: |
|
|
winth ControlSend we can send any vkey to any window, even minimized.
ControlSend, , 12345 {ENTER}, ahk_pid %PID2%
So, if we can send any vkey, then we can read key state from any window? Or dont?
Like this, understandable?
And why dont you log in?
At last: as i get it, to get ANY answer, even like yours, i MUST to uping.
btw, | Quote: | | I had in view of not the visual button belonging to the interface | .
I cant prtsc vkey, really. _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
Kiber
Joined: 17 Dec 2006 Posts: 16
|
Posted: Thu Mar 13, 2008 7:48 pm Post subject: |
|
|
 _________________ sorry for my bad english ^^  |
|
| Back to top |
|
 |
Erittaf
Joined: 03 Nov 2007 Posts: 182
|
Posted: Thu Mar 13, 2008 10:23 pm Post subject: |
|
|
| keystate refers to the state of a key on the keyboard. It has nothing to do with any windows. perhaps if you post your code and explain what you want to do you will get better help. your explaination is vague and it's hard to understand what you want to do. |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2526 Location: Australia, Qld
|
Posted: Fri Mar 14, 2008 5:26 am Post subject: |
|
|
ControlSend merely sends messages to a window. It does not change the state of "keys." In other words, it is not possible to "read key state from any window."
| Erittaf wrote: | | perhaps if you post your code and explain what you want to do you will get better help. | I second that.  |
|
| Back to top |
|
 |
|