如何在 DOORS 中创建自定义键盘快捷键?

发布于 2025-01-21 03:59:28 字数 77 浏览 2 评论 0原文

航行非常耗时: 例子: x-> y-> z-> a-> b

我们可以在门中为此创建自定义键盘快捷键吗?

Its very time consuming to navigate through:
example:
X->Y->Z->A->B

Can we create a Custom Keyboard Shortcut for this in DOORS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终止放荡 2025-01-28 03:59:28

这是关于以下外链吗?
如果是这样,您可以编写一个 DXL 脚本来打开第一个外链接模块并导航到链接对象。该脚本可以放置在自定义下拉菜单中。可以为脚本指定快捷键(加速键)。
脚本看起来像这样。

Object o = current
if (null o) error "no current object"
Link lnk
for lnk in o->"*" do {
    ModName_ targetMod
    targetMod = target lnk
    Module mTgt = read(fullName(targetMod), true)
    if (null mTgt) error "cannot open target module"
    current = mTgt
    Object  oTgt = target lnk
    current = oTgt
    break
}

有关如何构建菜单和加速键的信息,请参阅 DXL 手册的“Rational DOORS 窗口控制”一章

is this about following out-links?
If so, you could write a DXL script that opens the first out-linked module and navigates to the linked object. This script can be placed in a custom pull-down-menu. The script can be given a shortcut (accelerator key).
Script would look like this.

Object o = current
if (null o) error "no current object"
Link lnk
for lnk in o->"*" do {
    ModName_ targetMod
    targetMod = target lnk
    Module mTgt = read(fullName(targetMod), true)
    if (null mTgt) error "cannot open target module"
    current = mTgt
    Object  oTgt = target lnk
    current = oTgt
    break
}

For information of how to build menus and accelerator keys, look in DXL manual, chapter "Rational DOORS window control"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文