RE: KeyProcessedUp and KeyProcessedDown Events

2012-05-27 Thread Chip Orange
o: gw-scripting@gwmicro.com Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Chip: that was the first method I tried per your and Steve's suggestions a few days ago. It fired but the screen did not go dark when using the handler. Then I tried mucking with the KeyProcessedKeyUp eve

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-27 Thread RicksPlace
From: BT To: gw-scripting@gwmicro.com Sent: Sunday, May 27, 2012 2:40 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Rick, Yes, that is my next move with my Star Trek game, having it's own set file. I was wondering though, did you eve

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-27 Thread BT
been processed and any thing going on, such as the screen going dark, would have been done at that point. Bruce Sent: Sunday, May 27, 2012 2:17 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Chip: that was the first method I tried per your and Steve's suggestions a

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-27 Thread RicksPlace
within an external script. Rick USA - Original Message - From: Chip Orange To: gw-scripting@gwmicro.com Sent: Sunday, May 27, 2012 1:54 PM Subject: RE: KeyProcessedUp and KeyProcessedDown Events Hi Rick, I think I didn't make my point well. Check out the ke

RE: KeyProcessedUp and KeyProcessedDown Events

2012-05-27 Thread Chip Orange
rom: RicksPlace [mailto:ofbgm...@mi.rr.com] Sent: Saturday, May 26, 2012 9:05 PM To: gw-scripting@gwmicro.com Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Chip: I used the KeyProcessed Event Handlers. I picked up the Key Object from the Keyboard Object instead of from a CursorKey

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-26 Thread RicksPlace
use. Any suggestions on adding one to the WE Dialog and using the Keys Object to then pkull it into my script? Rick USA. from - Original Message - From: Chip Orange To: gw-scripting@gwmicro.com Sent: Saturday, May 26, 2012 12:13 PM Subject: RE: KeyProcessedUp and KeyProcessedD

RE: KeyProcessedUp and KeyProcessedDown Events

2012-05-26 Thread Chip Orange
ofbgm...@mi.rr.com] Sent: Saturday, May 26, 2012 9:18 AM To: gw-scripting@gwmicro.com Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Bruce: I ran some more tests and found that when I closed all windows I could still tab around to the buttons for hidden items of varying sorts.

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-26 Thread RicksPlace
Hi Bruce: I ran some more tests and found that when I closed all windows I could still tab around to the buttons for hidden items of varying sorts. Also, Automation Focus tracked the Tab item being found. It appears that what is shown depends on the Selected Item in the Tab Group rather than

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-26 Thread BT
OnKeyProcessedDown event and see the result. Just curious, but wonder which is causing this and go from there. Bruce Sent: Saturday, May 26, 2012 6:06 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Guys: First thing this morning I removed all code from inside

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-26 Thread RicksPlace
- Original Message - From: RicksPlace To: gw-scripting@gwmicro.com Sent: Friday, May 25, 2012 6:08 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Bruce: an external script can not use the WE queue method. I think I will go back to trying to do everything in UIA and

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread RicksPlace
To: gw-scripting@gwmicro.com Sent: Friday, May 25, 2012 4:00 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Rick, The first thing the stand out immediately is no Queue, nothing but a direct call to a file and that could hang everything. It must be done in a Queue o

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread BT
done, but make sure you have a Queue. Bruce Sent: Friday, May 25, 2012 3:48 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Guys and thanks for all the ideas so far: Here is the relevant code and the WE Objects I am trying to use: Remember that whenever the down

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread BT
looking for, and they are only available after the key has been processed. So just take out the treeview word in my example and do your thing. Bruce Sent: Friday, May 25, 2012 3:21 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Rick, This is for the key processed up

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread RicksPlace
actually may have answered your own question. If the other program is not triggering the other event, then it will not be seen. I guess you could monitor it and do it yourself to get around the no keyup event process of the command you want. This below is for event info data and wh

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread BT
ouseConnection myTV_MouseConnection = 0 If TV_MouseDown and button = 0 Then ' Speak " Name Is: " & TV_Name & " Item " & TV_Data & " Whose Item Was Mouse Clicked " If treeNamesDict.Exists( TV_Name) Then Speak treeNamesDict( TV_Name), 2 Queue "

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread BT
, 2012 2:40 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Steve: I just want the normal things to happen when I click Shift-Escape to hide the Solution Explorer Window. WE does not recognize it has been hidden. When I use Event Handlers to watch for the KeyProcessedDown and

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread RicksPlace
Hi Steve: I just want the normal things to happen when I click Shift-Escape to hide the Solution Explorer Window. WE does not recognize it has been hidden. When I use Event Handlers to watch for the KeyProcessedDown and keyProcessedUp events 2 things happen: 1) The normal processing does not ta

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-25 Thread Stephen Clower
now, do you know if I can set the WE Cursor or Focus to some null value like "" or Nothing or some other default, non object, value? Rick USA Sent: Thursday, May 24, 2012 9:37 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Rick, Considering registering a cursoring key to S

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread RicksPlace
: Thursday, May 24, 2012 9:37 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Rick, Considering registering a cursoring key to Shift-Escape. The key will pass through to VS as normal, and once done you could attempt moving focus. What is likely happening is that while the window is

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread BT
Bruce Sent: Thursday, May 24, 2012 9:25 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Bruce, I have been following this conversation from the sideline. From your last statement, you say to wait to work with the stuff, till the key is UP. That makes sense well enough. But then, sinc

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread Stephen Clower
ts it guys. Later and let me know if you have any ideas. Rick USA To: Cc: "Stephen Clower" Sent: Wednesday, May 23, 2012 7:57 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events I was wondering that, too. If memory serves, Rick wanted special speech processing if the user pres

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread David
to the OnKeyDown? Wouldn't it be enough to connect to the OnKeyUp event? Maybe a silly question, but still an unclear point to me. Name me a dummy; smile. - Original Message - From: "BT" To: Sent: Thursday, May 24, 2012 3:14 PM Subject: Re: KeyProcessedUp and KeyProce

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread BT
t; Sent: Wednesday, May 23, 2012 7:57 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events >I was wondering that, too. If memory serves, Rick wanted special speech >processing if the user presses Alt-Escape in Visual Studio. In that case, >I would think the simplest solution wo

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread RicksPlace
ednesday, May 23, 2012 7:57 PM Subject: Re: KeyProcessedUp and KeyProcessedDown Events I was wondering that, too. If memory serves, Rick wanted special speech processing if the user presses Alt-Escape in Visual Studio. In that case, I would think the simplest solution would be to define Alt-

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread BT
, and the rest is a nicely locked up computer. So, my simple example is a good way to go, so you know you are out of the key itself... Bruce Sent: Thursday, May 24, 2012 8:01 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Thanks Bruce. I'll check it out bu

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-24 Thread RicksPlace
ing@gwmicro.com Sent: Wednesday, May 23, 2012 10:40 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Rick, Sorry about not getting back sooner, but the data is not available is the reason why I did what I did. But, you would have to look at each event, I think you will fi

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-23 Thread BT
function. Sincerely Bruce Sent: Wednesday, May 23, 2012 10:50 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Rick, This is a tree view item but I think all key processes are the same but may be wrong. I capture the event change, store the

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-23 Thread BT
Hi Rick, This is a tree view item but I think all key processes are the same but may be wrong. I capture the event change, store the data of the event which submitted the data. Waited until the key processed event to insure that the data may or should be related to the key in question

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-23 Thread Stephen Clower
works for you. Bruce Sent: Wednesday, May 23, 2012 9:11 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Bruce: It sounds like you set up a handler for the KeyProcessedDown event and then, within that code, watch for the subsequent KeyProcessedUp event

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-23 Thread BT
2 subroutines for the processed event of the key which is set using the connectevent at the beginning of the call back function. See if that works for you. Bruce Sent: Wednesday, May 23, 2012 9:11 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Bruce: It

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-23 Thread RicksPlace
: Wednesday, May 23, 2012 7:58 AM Subject: Re: KeyProcessedUp and KeyProcessedDown Events Hi Rick, I think you will find that the data is not there until the key is released, only a guess. Look at my Uninstall program, and the addition to my Trek game. In both .vbs files I watch for

Re: KeyProcessedUp and KeyProcessedDown Events

2012-05-23 Thread BT
Hi Rick, I think you will find that the data is not there until the key is released, only a guess. Look at my Uninstall program, and the addition to my Trek game. In both .vbs files I watch for the key down and connect for the key up process. I think you will find that data and such i