never-mind, I keep getting hung up on cursor keys; I see if I just look in the hotkeys collection of active settings I can find what I need.
thanks. Chip -----Original Message----- From: Chip Orange [mailto:lists3...@comcast.net] Sent: Wednesday, September 09, 2009 2:16 PM To: gw-scripting@gwmicro.com Subject: RE: problem with scripting manual enumerations Aaron, still, the thing that's confusing me, shouldn't there be a cursorKeyAction defined for each of the cursor keys that can be defined? I mean, how could I run through the list and find what your using for your key for this function, if I can't test against the action to see what it's doing? it does seem that there are actions defined for almost everything else except these two, so aren't they missing from the enums? thanks. Chip -----Original Message----- From: Aaron Smith [mailto:aa...@gwmicro.com] Sent: Wednesday, September 09, 2009 1:46 PM To: gw-scripting@gwmicro.com Subject: Re: problem with scripting manual enumerations Chip, You would execute the hotkey based on the hotkey's enum, not a specific keystroke. For example, say you have Character Prior defined as Control-T, but I have Character Prior defined as Control-J. How would you execute Character Prior successfully for both of us running your script? You'd do the following: ExecuteHotkey hkCharacterPrior Aaron On 9/9/2009 12:46 PM, Chip Orange wrote: > Thanks Aaron, I'm sure you're right. > > I seem to now have a problem though: since these functions are > normally undefined, how do I go about executing them from my script? > I don't see a way to define them from the hotkeys collection, so that > I could then use executeHotKey? > > thanks for any ideas. > > Chip > > > -----Original Message----- > From: Aaron Smith [mailto:aa...@gwmicro.com] > Sent: Wednesday, September 09, 2009 8:55 AM > To: gw-scripting@gwmicro.com > Subject: Re: problem with scripting manual enumerations > > Chip, > > I think you're confusing cursor hotkeys, and cursoring Keys. There are > left to cursor and cursor to right hotkeys, but there are no > corresponding cursoring keys. > > Aaron > > On 9/8/2009 7:42 PM, Allison and Chip Orange wrote: >> Hi Aaron, >> >> someone reported a problem in MS Word in that the cursor hotkey >> functions read left to cursor, and cursor to right, don't work quite > right. >> >> I verified that in 2003 at least, he's correct. >> >> I wanted to script around this, but in looking in the cursor key >> action enumerations, I see ckaToEndOfLine (*which I assume is cursor >> to right), but nothing for "left to cursor". >> >> can you tell me what value to use (if that is, it's really missing >> from the manual?). >> >> thanks. >> >> Chip >> > > -- > 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 > -- 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