|
Hi Avril,
1 {- |" K& f# N' b- h, s- ]5 {$ S t0 w! R9 B
剛剛有空試了一下..." B$ Y0 T- y c
% |& f# o3 K1 V4 i7 ~. q
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:# U9 p; g1 l; b2 W1 l. u$ j
================================
. {: s3 e2 \1 V0 g1 rIf t_key ends with “EF”, the SKILL command is used in
; J! ?, c" ^$ N- H- Yenterfunction mode. Otherwise, it is a nonenterfunction
& w1 [/ m2 |& C8 C& W3 w. ]( j6 mmode command. If there is no
0 j: e- F0 r" W* lenterfunction mode command defined when a key or mouse( x& _' @0 {/ d/ j2 K
event happens in enterfunction mode, the nonenterfunction! y' u+ P% q1 [: H0 e8 N
mode command for this key is used.
9 y2 \, `6 j6 a- z3 z================================0 ]) M1 y5 Q$ u. ~6 R7 K4 [
$ w3 k, h2 f9 [! z! m意思就是若你在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.
% n' }1 `- s+ A. _% F$ ^
! m9 o& l) e& [( D2 Q0 i這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。& h) K' |, X: l
* T" Z8 q I) ?$ K+ {
Hope this help,6 k8 l. y. i9 g; m+ K
Veteran |
|