|
Hi Avril,
: z! M+ E/ a& S& O* m8 q" ~5 A, @% |+ F& c
剛剛有空試了一下...( u, N# r. H1 K3 y. b: {
5 E) v- I+ E/ \" t3 F* s) z9 W) Q看來我之前的認知是錯的,先跟你說聲抱歉。在skuiref這本on-line ducument第10章談hiSetBindKey()時有提到以下內容:
+ y; S. _3 H* S================================" y$ V8 j7 _$ {, Q
If t_key ends with “EF”, the SKILL command is used in1 D4 C% G1 y! |% s7 W* s
enterfunction mode. Otherwise, it is a nonenterfunction `% z4 D8 ^1 n9 E9 p% R
mode command. If there is no: E4 M' x6 k/ h& J# v
enterfunction mode command defined when a key or mouse7 e7 w3 y- f' m. ^
event happens in enterfunction mode, the nonenterfunction
2 ^6 @ x) G$ n$ y/ dmode command for this key is used.
# i+ j. y: N0 W================================2 c/ w) o* Y7 N6 u6 }* T4 Q1 ?, l
+ a* N8 O5 T- V# K! \* \
意思就是若你在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.
1 h9 |2 r9 B2 D# w# O, q; K; }! t; T, T& U: u9 `
這跟鍵盤位子無關。若是要使用鍵盤右下角的Enter Function區域,則你需要的是利用<Key>KP_Delete。
6 J/ s2 {! g) i$ ^9 E" {+ U$ \! N+ j, r) K$ y' j/ P8 {3 e9 ~0 c" k
Hope this help,; r! m j" @2 l2 l
Veteran |
|