我目前正在博物馆使用投影仪,运行Windows的服务器应该在全屏启动时自动播放视频。此外,在下午2点和下午4点,投影机必须显示一个图像,而不是一个小时左右的全屏。这是否可能与任务调度程序有关,还是我必须创建一个AutoHotkey脚本或类似的脚本?
发布于 2016-04-01 23:11:58
您可以使用包括在内的几个工具来完成这一任务。我在这里没有XP来测试这一点,但是下面的内容应该可以用。
“C:\Files\VideoLAN\VLC\vlc.exe程序”“c:\路径到视频\example.mp4”-全屏-循环“
- Click next. See if taskkill is in the list. If not browse to it (should be in the system32 folder).
- Select Daily for the frequency and give it a name.
- Set 2PM for the time. Click Next.
- Check Open Advanced properties for this task when I click finish and click finish
- Enter the following for the Run command.
"C:\Windows\System32\taskkill.exe /F /IM vlc.exe /T“
1. Now you just need to create the tasks to open the images. Basically use the process above with a couple key differences: - Select for your program you're running.
- When you open the advanced options for that task set the target to be something like this:
"explorer.exe“"C:\path-to-file.jpg”
我不能测试这个,所以我不确定它会起作用。您可能需要玩它一点,让它打开一个图像全屏。一旦您通过命令提示符找到了它,只需将它放在目标框中就可以了。
确保您在下午2点和4点创建其中的两个如果您想确保VLC首先关闭,可以将其设置为2:01和4:01。或者,您可以尝试按字母顺序将它们的名称设置为在第一组任务之后的内容。我不知道首要地位是如何计算出来的。
应该是这样的。希望这至少能让你开始。
https://stackoverflow.com/questions/36359543
复制相似问题