|
Hi Avril,
+ \* I4 W7 g1 p8 F' H+ \/ c v2 T
7 v' y( }" P. [0 m. M剛剛有空試了一下...6 a% e. b9 q/ x9 \1 v
; N, }+ B7 B! w6 u: O9 G
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:, I& ]8 Y/ R( ~* j- w' m: M- J
================================
2 G$ |3 M: V9 H vIf t_key ends with “EF”, the SKILL command is used in
0 l9 r% l( e% M+ a& t* Kenterfunction mode. Otherwise, it is a nonenterfunction3 N1 T9 r; Q, b$ |1 _
mode command. If there is no
2 v+ \$ M; f8 renterfunction mode command defined when a key or mouse
- ^: E4 ^5 j+ K8 j+ f$ Eevent happens in enterfunction mode, the nonenterfunction
6 T) U% ^! i# j8 t$ j3 h) Pmode command for this key is used.
1 Y, Q2 e9 v* j) X. f1 R4 S/ o================================
; r& D, ]+ \& j, @7 Z9 ^9 f+ e; b4 C/ ~
意思就是若你在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.7 x6 [' k( r1 T, ?- e8 J
2 l# d5 p1 z h6 i6 v' I
這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。) K; ?3 z, k) l) s0 J/ y) b: ]
5 }# _+ X2 B9 \, v0 S
Hope this help,
# ?1 U8 `$ c0 e4 z) M8 jVeteran |
|