|
Hi Avril,
* V2 T Q! @, `" a. |, u; e1 P9 n, m. g0 a, L* j9 q
剛剛有空試了一下...6 f% }8 V6 j7 C% W
4 Y' q- J# t' U0 [& S$ b7 J看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:" h! c9 X1 b4 s, g+ y
================================
: g1 P7 B* v7 o7 x$ DIf t_key ends with “EF”, the SKILL command is used in
8 a. U6 e) w6 F& ^7 j. H) v yenterfunction mode. Otherwise, it is a nonenterfunction
1 Y! D+ }& {0 y% _% Pmode command. If there is no5 b3 u6 B3 g& B
enterfunction mode command defined when a key or mouse7 ?" d) L0 X% q( b% `
event happens in enterfunction mode, the nonenterfunction% }6 H- A/ S# x; i+ u$ Z
mode command for this key is used.
8 M4 a2 D0 j! p: P' o================================
3 B/ Z5 f+ x. j( {
9 W$ t. A" |6 t9 V7 o% K4 O意思就是若你在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.
+ k) Q- J$ f0 U% k% O) y" _
4 P! U3 b6 V0 r/ b& g這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。# Z! H+ O9 G% s( w5 L! Y% }
; h8 l, J2 j- X, }& N- Z# h" @7 T
Hope this help,
3 ~9 R+ E; `: oVeteran |
|