|
Hi Avril,
$ A, u* _6 \# B5 Y- z; _) l5 P" q. m- G5 P
剛剛有空試了一下..." q2 y* u8 F8 p, \5 }/ q* \
% ^0 ]$ e+ r' l9 w- I( ?# K1 c5 e
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:* j( W7 H2 f7 H: [0 u
================================
" ]! P, N6 \1 m/ k! _If t_key ends with “EF”, the SKILL command is used in$ Y( n' r# S+ ?! M; V
enterfunction mode. Otherwise, it is a nonenterfunction
! B0 V) k) _# I3 z+ Cmode command. If there is no) l' d1 ?$ d5 t: w! \
enterfunction mode command defined when a key or mouse4 ^# i( V, Q/ u, W4 J
event happens in enterfunction mode, the nonenterfunction% g$ H) J5 `& l( L
mode command for this key is used.
4 l" u# d/ }, m' P0 s8 Y1 ~================================
9 x& A) W9 `: y! j+ y3 X3 q
1 W0 V+ v9 x9 P+ k. ]+ k3 ~意思就是若你在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.- F8 s. ^! B5 I/ A9 [0 _
! m; U* h5 c7 u, J6 S* M6 k% v
這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
: [: a9 v& x, f
6 C% p( F% z. j+ m/ j$ t% EHope this help,
( d" x: x2 ^1 D) w& j8 Q! ?, G& KVeteran |
|