|
Hi Avril,
$ f" s' [% |7 o' R" {* f& H+ t* n' H
剛剛有空試了一下...
2 t9 n1 O5 d; N5 F
5 h# A" ^3 v: Q$ r, c ?看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
- I! Y, R' _" ?3 Y/ W. X5 G# u================================& E6 m v8 Y8 B$ R: ^3 o5 w
If t_key ends with “EF”, the SKILL command is used in
/ k" A% D. N5 kenterfunction mode. Otherwise, it is a nonenterfunction. b8 K, d, D, G3 W& v7 u
mode command. If there is no5 |2 ^6 T6 {# Q) ~/ K7 [
enterfunction mode command defined when a key or mouse, ~- L, J i8 ]# ^9 q9 n
event happens in enterfunction mode, the nonenterfunction
4 v% i6 S1 F5 R: c8 n. V. v' G7 Dmode command for this key is used.3 q5 D3 J/ C3 ?5 m4 U
================================; V! W5 s2 _0 U' C
' ]6 H4 K. @& J4 V
意思就是若你在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.$ x, i6 r, O$ Y5 A* L
& I/ }3 r3 N- R7 [! d/ U. D4 |這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
2 g/ ` V9 q* L; O0 A1 `
' B& I& i4 ~2 @7 V( R5 ]Hope this help,
% H$ y3 `4 \4 O' ]2 D2 a, dVeteran |
|