I have to give you an A plus for determination Rick!  I really think this is
doing things the hard way though; defining something as a cursor key in a
set file doesn't do anything for you at all, unless you define some action
you want to take place along with it, and there's no action you want to
happen.
 
Chip
 


  _____  

From: RicksPlace [mailto:[email protected]] 
Sent: Sunday, May 27, 2012 1:59 PM
To: [email protected]
Subject: Re: CursorKeys Object Problem


Oh Ya, I remember actually doing that before and giving up on it for some
reason.
I think It was firing but the functionallity of the default vb.net action
was not working.
I think this was the same result I was getting as when I used the Key object
from the Keyboard.
Anyway, I added a Shift-Escape Cursor Key to the CursorKeys Settings in the
WE Dialog and saved it in the SetFile for vb.net 2010 express.
I then Pulled the Keys Object from the SetFile and iterated it to find the
Shift-Escape Cursor Key I had added and I get that key from the indexed Item
Property.
I then use a Key object Property to set up the Handler and it is firing
properly but I cant tell if the screen is going dark, it is too light in
here.
So I will have to wait until dark to see if the screen goes dark meaning the
functionallity is passed through to vb.net2010 express as it should be or if
things are still not working properly.
Phew!a learning curve this morning but I know how to use a set file from
within an external script.
Rick USA

----- Original Message ----- 
From: Stephen  <mailto:[email protected]> Clower 
To: [email protected] 
Sent: Sunday, May 27, 2012 8:16 AM
Subject: Re: CursorKeys Object Problem

Rick,

You can do this programatically with Keyboard,RegisterCursorKey. The method
allows you to filter the key's scope when you initialize it. If you have
registered hotkeys before then you will have no problems with cursor keys.

Steve




  _____  

From: RicksPlace <[email protected]>
Sent: Sun May 27 07:41:11 EDT 2012
To: [email protected]
Subject: CursorKeys Object Problem


Hi Guys:
I wanted a CursorKey for my script:
I opened vb.net 2008 ( My Script )
Then I went into WE Dialog and in the CursorKeys tab switched to Program and

entered Shift-Escape as a CursorKey definition.
Does this sound right?
Is there a vbs app that uses a CursorKeys object defined in the WE Dialog in
this way?
how will WE know which Program to associate the CursorKeys object with at
run time.
Rick USA

--
Stephen Clower
App Development & Product Support
Gw Micro, Inc.
Sent from my phone.


Reply via email to