|
本帖最后由 双响炮 于 2025-8-24 18:40 编辑
刚开始学习winxshell,看了文档,有个
- 对话框 对象
- Dialog:Show (caption, msg[, btns[, icon]])
- 弹出提示 对话框
- Parameters:
- caption string 标题
- msg string 消息内容
- btns string
- 按钮式样
- ok - 确定 (默认), ok-cancel - 确定 与 取消,
- yes - 是, yes-no - 是 与 否, yes-no-cancel - 是, 否 与 取消
- abort-retry-ignore - 中止, 重试 与 忽略, retry-cancel - 重试 与 取消,
- (optional)
- icon string
- 图标式样
- information (默认), question, warning, error
- (optional)
- Returns:
- 返回按下的按钮名称:
- ok, yes, no, cancel, try, abort 或者 retry
复制代码
但是没有看到示例用法,尝试着使用
- winxshell_x64.exe -shell
- winxshell_x64.exe -code Dialog:Show("1","2")
复制代码
但是没任何反应,是不是我没有弄明白,请老大指教 |
|