|
Hi Avril,; M% F# A: `. Z( T, S; w5 z% J
) {! Y1 k! l) l, ]2 h: k" l剛剛有空試了一下...+ n3 d0 K9 K0 L. t
7 E0 U" `2 m& x, }看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
. A: a; s5 Z$ U- ?3 v% c4 X================================
' k2 W: u1 Q) K0 {If t_key ends with “EF”, the SKILL command is used in6 j% l9 {" }' R" m4 y
enterfunction mode. Otherwise, it is a nonenterfunction
* ^( \% N* _4 @9 Imode command. If there is no
* w( b3 @: m5 J$ u6 W; B8 eenterfunction mode command defined when a key or mouse
* _, Z% e) a5 z ~# y& F2 gevent happens in enterfunction mode, the nonenterfunction& D: i+ h# k+ M( `
mode command for this key is used.6 _* ]4 t7 i9 p3 u
================================% ?* U4 y1 G! Q, L' t8 W
' o7 U* _* H2 N+ |1 Q意思就是若你在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.
6 E( Q' j( {) z' g: I1 _& y6 Z8 N9 [
. Z' b! ]) N, \) D這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
& D" C2 y% m/ F& d) }8 |
, ^- D( C5 M& l! x* BHope this help,- R% [1 {) }, z( M& h; N( G
Veteran |
|