如何知道 openoffice 的哪个应用程序正在运行?
我想查看进程列表以确定 OpenOffice Calc 是否正在运行或者 OpenOffice Writer 是否正在运行。关闭 QuickStart 后,我会得到一个 scalc.exe 和一个 swriter.exe,所以它很简单。
但是,当快速启动打开时,我只得到 soffice.bin 和 soffice.exe
有没有办法询问这些进程哪个应用程序正在运行?
I want to look in the list of processes to determine if OpenOffice Calc is running or if OpenOffice Writer is running. With QuickStart off, I get a scalc.exe and an swriter.exe so its simple.
However when the quick start is on I just get soffice.bin and soffice.exe
Is there a way of asking those processes which application is running?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为没有办法检查窗口标题。您必须枚举所有窗口并检查标题是否以“- OpenOffice.org Writer”或“- OpenOffice.org Calc”等结尾。
以下简短示例将检查 Writer 是否正在运行:
I think there is no way around checking the window title. You would have to enumerate all windows and check whether the title ends with "- OpenOffice.org Writer" or "- OpenOffice.org Calc" etc.
The following short sample would check whether Writer is running: