0

我是 VBScript 世界的新手,我已经制作了一个程序,这是一部关于新游戏 Watch Dogs 的短片。我目前有这个,因为我希望它是定时的,但如果它没有按钮,我会更喜欢它,并且它会发出类似于警告的声音(左侧带有红色 x 的那些)这是我当前的代码:

Option Explicit
Dim Wshell, BtnCode

Set Wshell = CreateObject("wscript.shell")

BtnCode= Wshell.Popup ("Tracking IP", 1, "CitiOS Firewall")

BtnCode= Wshell.Popup ("IP Rooted", 2, "CitiOS Firewall")

BtnCode= Wshell.Popup ("Device Identified as: Smartphone", 2, "CitiOS Firewall")

BtnCode= Wshell.Popup ("Hacker Identified as: Aide...", 1, "CitiOS Firewall")

BtnCode= Wshell.Popup ("The Mainframe is under an attack", 2, "CitiOS Firewall")

BtnCode= Wshell.Popup ("Blackout Activated by remote host", 2, "CitiOS Firewall")

BtnCode= Wshell.popup ("Emergency Lockdown In Place", 2, "CitiOS Remote Firewall")

请给我一个答案的例子:D

4

1 回答 1

1
intButton = object.Popup(strText,[nSecondsToWait],[strTitle],[nType])

您可以自定义图标和按钮,但无法隐藏所有按钮。检查文档中最后一个参数的值。

于 2013-08-18T01:07:33.173 回答