我想让2个程序在Windows启动时同时启动 [英] I want to have 2 programs launch side by side when windows starts
问题描述
我正在某种日程安排屏幕上工作,并且我的屏幕上必须同时装有Outlook日历和IP摄像机.稍后,这将在带有计算棒的电视上实现,因此我每次启动计算棒时都无法启动程序.因此,问题是,有没有办法在Windows启动时自动并排启动2个程序?
I am working on some kind of schedule screen, and i need to have outlook calendar and a IP camera both side by side on my screen. Later this will be implemented on a television with a compute stick, so i wont be able to launch the programs every time when i start the compute stick. hence the question, is there a way to start 2 programs side by side automatically when windows starts?
推荐答案
没有捷径可做.但是Windows snap是这样做的事情.没有dos命令直接调用snap.vb脚本,您可以从命令中调用snap ...您可以使用以下命令:
步骤1:使用任何编辑器创建一个类似于"Snap.vbs"的vbscript文件.
Step 1: Create a vbscript file like 'Snap.vbs' using any editor.
步骤2:将此代码粘贴到"Snap.vbs"文件中
Step 2: Paste this code to 'Snap.vbs' file
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.TileVertically
set objShell = nothing
步骤3:现在编写一个批处理文件"StartOutlook.bat"以启动Outlook日历.
Step 3: Now write a batch file "StartOutlook.bat" to start outlook calendar.
cd C:\Program Files (x86)\Microsoft Office\Office15
OUTLOOK.exe /select outlook:calendar
步骤4:现在,创建另一个批处理文件以运行"StartOutlook.bat",Ip Camera App和"snap.vbs".启动每个应用程序后,请花一些时间来启动并正常运行.
Step 4: Now Create another batch file to run "StartOutlook.bat",Ip Camera App and "snap.vbs". After starting each app give some time to start and functioning properly.
start OpenOutlook.bat
timeout /t 15
start ipcam.exe
timeout /t 5
start snap.vbs
步骤5:在计算机启动时分别启动此批处理文件.
Step 5: Start this batch file each when the computer boots.
要在启动时运行批处理文件:
启动>>所有程序>>右键单击启动>>打开>>右键单击批处理文件>>创建快捷方式>>将快捷方式拖动到启动文件夹.
start >> all programs >> right-click startup >> open >> right click batch file >> create shortcut >> drag shortcut to startup folder.
我认为这可以解决您的问题.
I think this will solve your problem.
这篇关于我想让2个程序在Windows启动时同时启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!