转码过程中的Window cmd
我正在尝试从 cmd 进程捕获数据(读取窗口类型命令行中显示的转码进程的最后一行,将比特率数据放入 vb6 形式,并使用此数据构建剩余时间和进度)专家 WQW 向我发送了使用脚本主机对象模型的源代码。通过这一行,我可以捕获最后一行,
With New WshShell
Set oExec = .Exec("tasklist.exe")
End With
但是会出现一个小窗口类型的命令行,我必须每 10 秒执行一次处理,因为我需要捕获实时比特率,它一直在变化,所以你可以想象屏幕中的屏幕每次窗口....我怎样才能退出这些窗口的屏幕,我尝试放入行,vbminimized但不起作用,我完成了我的高中,这是我的项目,有人帮助我..谢谢大家身体,请原谅我的英语,我来自洛杉矶,这太奇怪了
i'm tryng to capture the data from a cmd process (read the last line of a trascoding process show in a window type comman line, to put the bitrate data into a vb6 form with this data build a remainnig time and the progress) the expert WQW send me a source code using the scripting host object model. with this line i can capture the last line ,
With New WshShell
Set oExec = .Exec("tasklist.exe")
End With
but appear a little window type command line ,i must to do thix process each 10 second , because i need capture the real bitrate , which change all time, so you can imagine the screen in the window each time.... how can i quit the screen of these window , i try to put in the line ,vbminimized but don't work , i finish my high scholl and this is my project ,somebody help me.. thanks every body , excuse for my english it's freak i'm from L.A
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用额外的自动关闭 shell 窗口
Try using additional self-closing shell window