au3 命令

Case $Button1
                        _RunDOS(@SystemDir &"\sysdm.cpl");打开系统属性
                Case $Button2
                        _RunDOS(@SystemDir &"\desk.cpl");打开显示属性
                Case $Button3
                        Run(@SystemDir &"\taskmgr.exe");打开任务管理器       
                Case $Button4
                        Run(@SystemDir &"\control.exe");打开控制面板       
                Case $Button5
                        Run(@SystemDir &"\cmd.exe");打开命令行
                Case $Button6
                        Run(@WindowsDir &"\regedit.exe");打开注册表
                Case $Button7
                        Run("C:\WINDOWS\pchealth\helpctr\binaries\Msconfig.exe");打开msconfig
                Case $Button8
                        Run(@SystemDir &"\Sndvol32.exe");打开音量控制程序
                Case $Button9
                        ShellExecute(@SystemDir &"\gpedit.msc");打开策略组  另一种写法Run(@ComSpec&' /c gpedit.msc',@SystemDir,@SW_HIDE)
                Case $Button10
                        Run(@ComSpec &" /c"&GUICtrlRead($input1));这里是这个作品的关键 读取文本框里的内容然后运行
                Case $Button11
                        _RunDOS(@SystemDir &"\timedate.cpl");打开时间日期

转自

上一篇:Quagga服务器安装和配置


下一篇:Async/Await是这样简化JavaScript代码的