arg = _ARGV;//命令行输入参数
string.fromto(str,0,936) 编码转换 0是原来编码 936是gbk 65001是utf8

//输入框
import win.inputBox;
inputbox = win.inputBox(mainForm.hwnd)//mainForm是主窗体
inputbox.text = “弹出输入框”
inputbox.info.text = “请输入”
inputbox.input.text = “”
name = inputbox.doModal();
//cmd隐藏窗口
var prcs = process.popen.cmd(ls)
win.msgbox(prcs.read(-1))
//执行程序或打开url
process.execute(“/cfg/ll.exe”);process.execute(“https://www");
process.execute(“cmd.exe”,”/c devmgmt.msc”,,false);

//浏览图片
import process.imageView;
process.imageView(“/websnap.jpg”)

文档更新时间: 2021-12-28 17:00   作者:Yoby