--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
> --- In [email protected], Alan Martin <[EMAIL PROTECTED]> wrote:
> > 
> > S>> A0/A1(160/161), A2/A3(162/163), A4/A5(164/165)
> > S>> for Left/Right Shift, Ctrl, Alt.
> > 
> > > None of those VKs quoted by Sean work here (also running WinXP).
> > 
> > Actually, it works in keytrap but not in pproconf/powerpro hotkey.
> 
> Yes, this is what I meant in my previous post.
> 
> > So in some ways, keytrap seems more capapble than PP's native
> > hotkeys. Unfortunately keytrap does not let you set the Ext byte
> > (scan codes preceded by 0xE0).
> > So keytrap can customise RightCtrl,etc, which Powerpro cannot do,
> > but keytrap cannot customise some of the extra keys such as Webcam
> > which have an extended scan code and a vk of 255.
> 
> Just try the scancode without the 0xE0 prefix, i.e., that
> KeyTrap.Scanmode(1) reports, it may work.
> 
> By the way, I was thinking to utilize the 'Eval' field in KeyTrap via
> keytrap's internal variable %key% like:
> "%key%"=="Enter" or "%key%"=="Num Enter"
> which would differentiate 'Enter'/'Num Enter' keys, which are the only
> pair in my keyboard that KeyTrap cannot differentiate in a native way.
> But, unfortunately it didn't work.

Finally I make it to work:
Enter=17,0,0,28,13,0,,,do(ifelse("%key%"=="Enter"\,"notepad"\,"wordpad")),1,1,0,0,

^{Enter} for notepad, ^{Num Enter} for wordpad.

By the way, you may replace 17 with 162 or 163 if like to
differentiate the Left/Right Ctrl. Or even can use it:
Enter=162,163,0,28,13,0,,,do(ifelse("%key%"=="Enter"\,"notepad"\,"wordpad")),1,1,0,0,
which is LCtrl+RCtrl+{Enter}/{Num Enter}.

Sean




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to