|
Hi Avril,
4 c# v( `0 y. Z' X5 b. G6 t2 F$ b8 H+ d' C' Q4 j- K
剛剛有空試了一下...) _4 D' k( t) [' e
6 a" x3 p- \9 U4 F. o
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
" Z1 j' ]/ Y) ~" x# L) K================================+ j% z8 E9 q/ S
If t_key ends with “EF”, the SKILL command is used in2 V2 u b1 j3 ?1 {7 P
enterfunction mode. Otherwise, it is a nonenterfunction
4 t& {9 H: g, F j! mmode command. If there is no6 {7 S- u; _: C6 g
enterfunction mode command defined when a key or mouse
& x7 \ u% X' F- M! r$ v. Ievent happens in enterfunction mode, the nonenterfunction1 r2 D; d* t9 Y w! l3 A
mode command for this key is used.
5 u7 U4 @' x1 x: q; ]- F9 ?================================' C" M. [& t+ O$ w
8 x! P3 g0 ^: K* d0 K3 u: t9 t意思就是若你在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.
$ [8 C6 k) A) k" k1 t2 |% T* ? m
* `1 ?8 o# x# v6 e; t& R9 v- ~這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
( n. K4 r& X3 q. Z. Q: a7 B/ O. q+ @- M' v6 `. x
Hope this help,. i5 g I- S9 L
Veteran |
|