Try the following in Immed: Set ck = ActiveSettings.CursorKeys Set k = ck(1) k.SecondAction.ID = ckaExecuteHotkey k.SecondAction.Parameter = hkTimeAndDate - 1
Press whatever k.Key happens to be, and you should hear the time and date. That -1 won't be necessary in 7.1, but 7.01 has a bug wherein the hotkey enums are off by one for cursor key action parameter properties.
Aaron On 5/29/2009 2:11 PM, Kevin Huber wrote:
Hi: I am trying to define the second action of a cursor key and here is what I have done so far: set a = activesettings.cursorkeys print a(1).key 'the result was left arrow set f=a1.secondaction 'resulting in a CursorKeyAction object print f.description 'undefined Now, in order to change the section should i use the ActionID property or the ActionParameter property. I understand that i have to set it to a CursorKeyActions Numid such as CKAMouseToWindow, but I keep getting an error no matter what I try. What should I be doing? Kevin Huber
-- To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team. Aaron Smith GW Micro Phone: 260/489-3671 Fax: 260/489-2608 WWW: http://www.gwmicro.com FTP: ftp://ftp.gwmicro.com Technical Support & Web Development
