|
Hi Avril,, m% {" g& l( h0 [! n! S' V
1 L8 _3 _7 _: v
剛剛有空試了一下..." a7 p( B% x6 j# E Y# N$ N& C0 p
: b$ X; O& f: }. @' }. G
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
* @2 l4 S1 H2 i================================- N$ }( p, i' u' {) o
If t_key ends with “EF”, the SKILL command is used in6 h* r) T' C* y+ Z0 @6 O
enterfunction mode. Otherwise, it is a nonenterfunction
+ q& Q1 ]) l& T- x0 t- p" Nmode command. If there is no# i$ W, g K! `0 \& Z, E
enterfunction mode command defined when a key or mouse3 y& a1 Y) k) B( a5 Q
event happens in enterfunction mode, the nonenterfunction
) ]$ p; A1 z, W1 C5 Jmode command for this key is used.
% f4 x; ]* _7 p/ b================================7 ^' E7 g! ]3 D$ }
' h1 L7 M0 Y2 w w7 u 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.
) J6 ^0 R- |' G9 T9 M/ n$ N# d1 G! z4 V1 v; n
這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
+ D `! l" Y6 t1 X' w- P
1 v# T, w( V0 S+ e/ q$ ~# cHope this help,
6 \! c: ?# H2 J% FVeteran |
|