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