|
Hi Avril,
1 i2 V& U, a* Z/ j+ ?/ M' ?5 A J$ H2 c- d/ @0 p4 b7 f; a
剛剛有空試了一下...0 ]# }. W- v8 J7 C9 v* g5 T# w
) y+ c* p# I! u9 o1 ^% h* J
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
1 y) O2 Z( @* e& Q6 c0 o/ N================================) W/ o, h9 T0 B: }$ u
If t_key ends with “EF”, the SKILL command is used in1 P% w. r K! d7 Q+ k% @1 p4 v
enterfunction mode. Otherwise, it is a nonenterfunction
' O! q7 u) ?$ f- n. }* emode command. If there is no
" i* b9 q' S s; {enterfunction mode command defined when a key or mouse( {0 m6 r5 N) S$ \+ b% z+ L6 C: U) ^
event happens in enterfunction mode, the nonenterfunction
+ M4 k& V# i( M: Z$ Xmode command for this key is used.
2 c/ s( ~) G n6 w/ i6 J================================) ^2 u* Q3 o$ V- c4 q# C
6 V: g* \" h/ R& o7 z' e
意思就是若你在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.% w' I! F3 ]" M- b% M
" M2 D t/ A% u. [6 W, Y/ W這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。+ a& V( y2 C: a0 l( _
$ I( U. V& q, a; C! d
Hope this help,* j Z( p7 I3 p4 T* U5 J
Veteran |
|