//PB使用系统的计算器(其他的小程序也类似)
string ls_fileExists, ls_fileExists2
boolean lb_Exists, lb_Exists2
ls_fileExists='c:\windows\calc.exe'
ls_fileExists2 = 'C:\Windows\system32\calc.exe'
lb_Exists=fileExists(ls_fileExists)
lb_Exists2 = fileExists(ls_fileExists2)
if lb_Exists then
run(ls_fileExists)
elseif lb_Exists2 then
run(ls_fileExists2)
else
messagebox("提示信息","本机的没有计算器或计算器文件已经移动!",stopsign!)
end if
PB使用系统的计算器(其他的小程序也类似)
最新推荐文章于 2021-11-04 23:25:57 发布