[英]Open IE URL in windows 8 app mode NOT desktop mode
I need to open and IE page from a VBScript that is run by a batch file in Windows 8 app mode, not desktop mode. 我需要从Windows 8应用程序模式而不是桌面模式下的批处理文件运行的VBScript中打开IE页面。 This is so that users can use the swipe feature between IE and the desktop on a tablet.
这样,用户可以在IE和平板电脑上的桌面之间使用滑动功能。 Any suggestions on how to do this?
有关如何执行此操作的任何建议?
This is a bit of code that will open IE and go to the URL: 这是将打开IE并转到URL的一些代码:
Set IE = WScript.CreateObject("InternetExplorer.Application", "IE_")
urlLine = "https://www.google.com/"
IE.Navigate urlLine
IE.Visible = True
I have tried setting the default browser and settings to Metro mode, but it still opens in desktop mode. 我尝试将默认浏览器和设置设置为Metro模式,但仍在桌面模式下打开。
You can read IE Command-Line Options , then you can use: 您可以阅读IE命令行选项 ,然后可以使用:
Set oWSH = CreateObject("WScript.Shell")
oWSH.Run "iexplore.exe -k http://www.myweb.com"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.