|
Hi Avril,
( N- x1 J* |$ n2 s0 r0 }' v# l
* d* A, e4 Q; D0 P* J$ i$ y剛剛有空試了一下...
) f0 D" a/ h0 I# O& P+ k6 w( i& V; G. N1 Q0 W y5 A. {
看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
+ d5 @: S# D3 g================================
) g& x8 M' L. ~; l+ }1 M( G- jIf t_key ends with “EF”, the SKILL command is used in
$ v1 ?4 V) W3 k9 |0 C$ H6 z9 M! R* venterfunction mode. Otherwise, it is a nonenterfunction
- f- `2 D% K0 P g" Z# q9 Fmode command. If there is no
+ h# ~8 G( ] K6 R# b. renterfunction mode command defined when a key or mouse
- Q, r6 x# e Zevent happens in enterfunction mode, the nonenterfunction4 n* F# z# J0 U3 x
mode command for this key is used.9 B7 u0 X% K( X; G6 r2 q. Z; w) T
================================
5 P, ?# J8 a0 ?0 v% W6 Q/ Y' d) }; A% a0 R* M' s7 t9 Y
意思就是若你在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.
; g$ I% S3 s4 ~/ v8 g R' e/ X; X. A7 F: o
這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
) W% j9 L& |) s" p/ T& @; h+ i# [7 _6 f
Hope this help,! y+ u+ U2 d! ?$ |* X! X
Veteran |
|