找回密码
 注册
关于网站域名变更的通知
查看: 4148|回复: 1
打印 上一主题 下一主题

Expedition PCB 2005快捷键设置问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-8-14 14:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
大家好,我想问下在Expedition 2005中能不能设置或者更改快捷键?
8 [1 h3 ~+ A9 y& V, }6 k5 W" B6 O; X- Y. ?3 b' R
比如换层默认的快捷键是CL XX,如果我要换到第5层,就输入CL 5, 不过我觉得这样会显得有些慢,能不能把这条命令改成L5,省去多余的字母和空格?

该用户从未签到

2#
发表于 2010-9-10 15:06 | 只看该作者
可以查查Help->contents->Automation 裡的shortcut keys
# d9 d% U! C/ _, G
' p: \/ y0 u1 N1 j8 E+ p
4 U, L& B& B) t. `- f. B+ {% B- NAssign shortcut keys to a command7 W! r' k7 B& q! Z' x# s
You can assign shortcut keys to the PCB application commands. All these functionalities are provided by the key binding server. The sample script KeyBindings.vbs shows how to use the key binding server to assign shortcut keys.2 M' w5 ~- _5 ?6 K. D7 ~
7 Q3 O" a! i3 J" s2 f

$ z5 |+ e) I, }' D4 S  P( O: b* F# ?8 T6 p, e9 I9 H
  o4 n" t, s  m. {$ t$ g3 R, j6 C

1 d; _# ~" p7 [1 ]0 ]Shortcut keys modifiers# `1 J* Z8 A% S* o5 p8 M, h7 }9 X$ @
To assign shortcut keys, the following modifiers exist for key combinations such as:: W# e' l& @1 A* u. t+ w
; w' [7 o+ v* W
<key>
3 Z* I* q0 \2 [0 r  C" T9 T/ f# I0 W; L5 ]+ {
Alt+<key>. ]. C8 X" z: ]1 m$ G5 b
% p- d6 L" Z. n( f5 C
Ctrl+<key>" p. D1 ^) P8 G; X# J& M* I
0 {% L5 M+ u* X+ V5 J
Alt+Shift+<key>
% D1 s2 t) d- H% u  Z4 z6 l/ V: Z- K$ T  H. p, x
Ctrl+Shift+<key>3 @- e; {1 o4 @7 ^% q$ q# Q4 v
4 A& K: D3 ^7 n& m# n- T
Ctrl+Alt+Shift+<key>. q  u, ~6 H; e# t

9 b$ _) M( b! F- v/ Bwhere <key> is the keyname such as: Enter, Space, A-Z, 0-9, F1-F12. Note that do not override any of the existing function keys (F1-F12) without using a modifier or that functionality will be disabled in the product.
0 ^, |! }) c% ?  U  T9 a9 ?$ m$ p/ Q( z6 h  F6 S: B' [1 F
; h: l+ p0 K0 C+ J: ?3 N

) k5 Q6 W  J, s) Z' N! X8 Q( _+ s $ ^( O4 k+ q0 z0 m

, ]% E8 [0 X! ?6 hConnecting to the key binding server
, X9 v# T+ d$ ~3 q2 tThe Bindings property of the Gui object returns a reference to the BindingTables collection object and from which you can start assigning shortcut keys. The following example returns the BindingTables used when design is loaded :   p( e+ j- ]& z
+ z8 ]$ l" L* Y$ x  K# P

6 {8 ^1 e" w5 |/ D% m" V% h. u" p3 J, |. R0 i; W
  Set keyBindTables = Gui.Bindings("Document")
/ ^9 |( H; x5 ~7 O7 G4 Z& ]8 z; O& }* l5 o) R

# ?2 c- M7 \9 w
  g; v/ c- N1 H* j5 C9 k
7 ^" D* t3 m/ u+ x/ d2 p
2 Z8 u3 W) m0 _% O# yAssigning shortcut keys to menu command8 g" B3 S5 X% ?& F" ]3 Z6 k
The AddKeyBinding method of the BindingTables collection object allows you to assign shortcut keys to any menu command. The following example shows the use of the AddKeyBinding method to assign shortcut keys to some menu commands : ' \6 Z: I' Q2 r# l6 I: \2 t2 z
5 Z- j. \8 j2 s) i- a* x( k

5 K) Q# v  R! m" v
) ]) I" J" m( z8 l( g  keyBindTables.AddKeyBinding "Ctrl+1", "Edit->Review->DesignStatus", BindMenu, BindAccelerator) q5 ?3 ^; t5 i9 h" v. Q
  e" _5 M6 C7 y+ B5 V
  keyBindTables.AddKeyBinding "Alt+D", "View->DisplayControl", BindMenu, BindAccelerator
3 S! Y! V- D+ t: p4 H* ]5 ?' |9 P5 W( J
  keyBindTables.AddKeyBinding "Alt+F1", "Help->Contents->Automation", BindMenu, BindAccelerator
, k4 n0 R: i: F. M# d7 h2 A
# p9 v( q, f. f8 \  T6 ^% n
0 b8 `5 M" h) b! Q& E
5 [0 b7 k9 k8 L: ?
/ \! q2 Y' C- i/ k0 @" u! d: I6 v& [1 H/ d& b. d
Assigning shortcut keys to user-defined scripts
" _; F8 f3 O1 @1 W# ?1 p1 q+ HYou can also assign shortcut keys to your own scripts. In the Command parameter of the AddKeyBinding method, type in your script filename as if it is ran as a key-in command :
" g/ B9 R/ p( y! h8 [) T4 z2 J, z/ p6 W/ Y

  J9 {2 x4 ~% u: d9 _1 Z
0 Q  I# _$ h' k3 Q# k) y  keyBindTables.AddKeyBinding "Ctrl+3", "run c:/temp/ctrl_3.vbs", BindCommand, BindAccelerator' i0 q8 h( `, |5 R( P  r
8 l' Q- j9 V, w# s
  keyBindTables.AddKeyBinding "Alt+X", "run c:/temp/alt_x.vbs", BindCommand, BindAccelerator
" `' [$ {! n1 h! C2 i6 N! G* c# a& A7 t) e
, W" u) b8 b& R" ~' C+ C  keyBindTables.AddKeyBinding "Ctrl+Alt+Shift+5", "run c:/temp/ctrl_alt_shift_5.vbs", BindCommand, BindAccelerator
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-7-8 06:23 , Processed in 0.109375 second(s), 24 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表