AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

receive the status of the button from the minimized window?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Sat Mar 08, 2008 9:21 am    Post subject: receive the status of the button from the minimized window? Reply with quote

ho to do subj?
status: pushed on/off i mean.
_________________
sorry for my bad english ^^ Embarassed


Last edited by Kiber on Thu Mar 13, 2008 5:45 am; edited 1 time in total
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 1071

PostPosted: Sat Mar 08, 2008 9:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Sat Mar 08, 2008 11:29 am    Post subject: Reply with quote

Very Happy
Please, show one working example.
_________________
sorry for my bad english ^^ Embarassed
Back to top
View user's profile Send private message
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Mon Mar 10, 2008 2:44 pm    Post subject: Reply with quote

UP Exclamation
_________________
sorry for my bad english ^^ Embarassed
Back to top
View user's profile Send private message
BoBoĻ
Guest





PostPosted: Mon Mar 10, 2008 2:59 pm    Post subject: Reply with quote

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" Shocked
Back to top
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Mon Mar 10, 2008 6:15 pm    Post subject: Reply with quote

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 ^^ Embarassed
Back to top
View user's profile Send private message
BoBoĻ
Guest





PostPosted: Mon Mar 10, 2008 6:59 pm    Post subject: Reply with quote

GetKeyState? Virtual Keycode??
Back to top
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Mon Mar 10, 2008 7:29 pm    Post subject: Reply with quote

GetKeyState
Exactly, but from reduced window.
_________________
sorry for my bad english ^^ Embarassed
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Mar 11, 2008 8:31 pm    Post subject: Reply with quote

up
Back to top
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Wed Mar 12, 2008 4:41 pm    Post subject: Reply with quote

up
_________________
sorry for my bad english ^^ Embarassed
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Mar 13, 2008 5:19 am    Post subject: Reply with quote

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 ^^ Embarassed

...understatement of the century...
Back to top
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Thu Mar 13, 2008 5:35 am    Post subject: Reply with quote

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 ^^ Embarassed
Back to top
View user's profile Send private message
Kiber



Joined: 17 Dec 2006
Posts: 16

PostPosted: Thu Mar 13, 2008 7:48 pm    Post subject: Reply with quote

Exclamation
_________________
sorry for my bad english ^^ Embarassed
Back to top
View user's profile Send private message
Erittaf



Joined: 03 Nov 2007
Posts: 182

PostPosted: Thu Mar 13, 2008 10:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Lexikos



Joined: 17 Oct 2006
Posts: 2526
Location: Australia, Qld

PostPosted: Fri Mar 14, 2008 5:26 am    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group