|
Hi Avril,8 j$ Y7 O- @& [& W
6 O* i! {7 r- M. i+ a& |1 H剛剛有空試了一下...
7 t- Y% h% G I6 n \5 [' W3 l1 W) y" a5 a" B
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:* U: ?. }$ e0 s' J( ~
================================
' c+ }, m7 R0 w; P( Z9 kIf t_key ends with “EF”, the SKILL command is used in
# M4 Y k5 \& s! K! ?enterfunction mode. Otherwise, it is a nonenterfunction/ W2 k ^' G, t4 j1 u
mode command. If there is no
: ] f7 y2 z3 L2 nenterfunction mode command defined when a key or mouse- Z* r1 n6 _- w/ z
event happens in enterfunction mode, the nonenterfunction
; [1 W3 \8 H" r* Y9 |" v4 Jmode command for this key is used.7 \7 H4 E1 t! f: Y8 F8 s, U- I0 i. [
================================
- H7 Y+ O5 q) z' a% K$ _, Z+ A! K2 D5 N$ g
意思就是若你在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.
; J) _8 \! Y) A4 j y7 J- L v3 q) r- `3 ]* Z4 ?3 C
這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
" U9 M& @0 ~3 V2 K% p2 z z, D/ P1 Z! V6 n9 o W& g
Hope this help,, p1 |# \# d. [! x3 j2 L x5 [
Veteran |
|