|
Hi Avril,
3 K9 b4 k0 y8 O2 [5 y
/ q0 k6 z1 v) W5 D1 O4 h剛剛有空試了一下...! Z( g/ v$ h/ F [- i: p: F+ ]% a
" i* J+ _2 K0 \5 o9 _" E看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
% m4 |/ w& Q7 h# [================================
) Q" k! f9 e6 JIf t_key ends with “EF”, the SKILL command is used in
3 y j) A* M& C8 i5 [$ {3 genterfunction mode. Otherwise, it is a nonenterfunction
# _# g/ _' ]1 W" u7 Fmode command. If there is no" j- `$ _2 M1 C4 K
enterfunction mode command defined when a key or mouse1 m) |+ P3 F4 r% Y, l# Z
event happens in enterfunction mode, the nonenterfunction
' T* F; T/ z1 Emode command for this key is used./ q- n+ ^: q6 Z; U- M0 B4 N. W3 j
================================
2 v9 \8 F x, ?# _; _) P/ g3 Z
意思就是若你在bindkey中多了EF的描述,這個bindkey就會用在有使用enter function的command時才會作用。Ex,原本default bindkey有設定Delete鍵就是delete object,若你這時候多設了一個這樣的bindkey給它,hiSetBindKey("Layout" "<Key>Delete EF" "leHiLayerGen()"),當你在layout view中,先使用create->rectangle啟動後,在未完成該rectangle前,按下Delete鍵,這樣你將發現它啟動的不是leHiDelete() function, 而是leHiLayerGen() function.
0 F# i2 h' L( k( H' F) m0 Y
# ^) \) p9 a# K+ z2 c# Y6 i2 p這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。0 V; N n1 y j4 h- m0 _5 ~2 Q
. e7 a, Q2 r8 q* @Hope this help,# a" u: Q, n! v8 B/ l {' f' [
Veteran |
|