从 VB6 IDE 退出时自动运行脚本/EXE 以签入 SVN

发布于 2024-09-01 03:03:45 字数 125 浏览 1 评论 0原文

我想运行一个脚本来在退出 VB6 IDE 时自动执行 SVN 签入。

有没有简单的方法可以在 IDE 中做到这一点? (我想我可以编写一个启动 VB6 IDE 的脚本,等待它退出,然后运行该脚本,但我希望有更简单的东西)。

I'd like to run a script to do a SVN check-in automatically when exiting the VB6 IDE.

Is there any easy way to do that from within the IDE? (I guess I could write a script that launches the VB6 IDE, waits for it to exit, then runs the script, but I'm hoping for something simpler).

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

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

发布评论

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

评论(1

黑白记忆 2024-09-08 03:03:45

虽然外部脚本看起来不那么麻烦,但看起来您应该能够捕获 VB IDE 关闭并让它触发您的操作。

我不是 VB6 插件方面的专家,但有关于使用 VBE(可扩展性)对象模型创建它们的信息。如果您编写一个实现 VBIDE 事件的插件,也许您可​​以捕获“OnClose”或类似事件。只要您的项目文件此时已保存,您的脚本就可以执行所需的操作而不会受到干扰。

正如我所说,我不是专家,所以我无法给你直接的建议。但也许这会引起插件专家的参与。(-:

While an external script doesn't seem like that much of a hack, it looks like you ought to be able to catch the VB IDE closing and let that trigger your action.

I'm not any kind of expert on VB6 add-ins, but there's information out there on creating them using the VBE (extensibility) object model. If you write an add-in that implements VBIDE events, perhaps you could catch an 'OnClose' or similar. As long as your project files have been saved by then, your script could do what it needs without interfering.

As I said, I'm no expert so I can't give you direct advice. But maybe this will provoke an add-in maven to chime in. (-:

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