ok, thanks. I thought the enum would be tied into the table of current definitions (for some reason), and so if it wasn't there, it couldn't be used. glad to know that's not the case.
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