Davor, I have no idea if the following can help you, but I'm going to throw it 
in anyway.

The keytrap plugin, found in the yahoo file download section, can let you do 
very sophisticated things 
with keys. There's a fairly steep learning curve. I think that it's easier to 
set up the plugin ini file using 
the bundled program, KTconfig.exe.

A while ago I saved some examples (by Mockey, I think) of how to use AltGr to 
send accented 
characters. For instance, press AltGr+u to send ü (umlaut). Perhaps you can 
find something useful for 
your case...

;=== sample keytrap.ini ===
keys1=0,0,0,56,165,1,modKeys["AltGr"],,[EMAIL 
PROTECTED]("AltGr"),1,0,1,0,0,1,,,,,,AltGr
keys2=0,0,0,29,162,1,modKeys["Ctrl"],,[EMAIL 
PROTECTED]("Ctrl"),1,0,1,0,0,1,,,,,,AltGr
keys3=0,0,0,42,160,1,modKeys["Shift"],,[EMAIL 
PROTECTED]("Shift"),1,0,1,0,0,1,,,,,,AltGr
keys4=165,0,0,30,65,0,,,.keys("AltGr"\, "{225}"\, 1),1,1,0,0,0,1,,,,,,AltGr + a 
- á:
keys5=165,0,0,18,69,0,,,.keys("AltGr"\, "{233}"\, 1),1,1,0,0,0,1,,,,,,AltGr + e 
- é:
keys6=165,0,0,22,85,0,,,.keys("AltGr"\, "{252}"\, 1),1,1,0,0,0,1,,,,,,AltGr + u 
- ü:
;========== end==========

;=== keys.powerpro script file ===
;;; function for sending keys from actions with modifier keys
;;; without the normal PowerPro delay (waiting for modifier key to be up)
;;; usage:

;;; .keys(modifier_1, ... , modifier_n, keys_to_send, repeat)

;;; the global var for the modifier key(s) is set to 0
;;; and a keyup-event is sent for the modifier key(s):
for (local i = 1; i < arg(0) - 1; i = i + 1)
        modKeys[arg(i)] = 0
        eval(".@" ++ arg(i) ++ "(1)")
endfor
;;; keys are sent normally via PowerPro:
win.keys(arg(arg(0) - 1))
;;; for repeated triggering the global var for the modifier key(s) is set to 1
;;; and a keydown-event is sent for the modifier key(s):
if (arg(arg(0))) do
        for (local i = 1; i < arg(0) - 1; i = i + 1)
                eval(".@" ++ arg(i) ++ "(0)")
                modKeys[arg(i)] = 1
        endfor
endif
quit

;;; functions with the scancode and vkcode parameters
;;; for the various modifier keys:
@AltGr
keytrap.sendkeys(56, 165, arg(1))
quit

@Ctrl
keytrap.sendkeys(29, 162, arg(1))
quit

@Shift
keytrap.sendkeys(42, 160, arg(1))
quit

@Alt
keytrap.sendkeys(56, 164, arg(1))
quit

;;; the modifier keys are always resetted onkeyup (defined in keytrap.ini):
@reset
modKeys[arg(1)] = 0
eval(".@" ++ arg(1) ++ "(1)")
quit


;;; functions for redefining the Win-key,
;;; can be used as modifier-key and also alone
@Win
static WinMod
;;; using Shift to avoid the Win-Menu onkeyup:
keytrap.sendkeys(42, 160, 0)
if (not WinMod) do
        win.debug("win key alone!")
else
        WinMod = 0
endif
;;; resetting the Win-key (stays pressed otherwise):
keytrap.resetKeys(91)
;;; resetting the Shift-key:
keytrap.sendkeys(42, 160, 1)
quit

;;; Win-key as modifier:
@WinMod
static WinMod = 1
do(arg(1))
quit
;============ end======= 



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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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