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”)

作者:Yoby  创建时间:2021-05-31 14:16
 更新时间:2024-12-05 13:26
上一篇:
下一篇: