Project1
标题:
怎么在事件里打开外部的文件
[打印本页]
作者:
枪胜贤者
时间:
2012-1-23 16:05
标题:
怎么在事件里打开外部的文件
本帖最后由 枪胜贤者 于 2012-1-23 18:36 编辑
在事件第3页的脚本添加代码,怎么打开外部文件
打开EXE文件
这段脚本怎么写? dsu_plus_rewardpost_czw
作者:
ML4455739
时间:
2012-1-23 21:14
本帖最后由 ML4455739 于 2012-1-23 21:44 编辑
脚本编辑器里:
def open_exe_file
shell = Win32API.new("shell32", "ShellExecute", ['L', 'P', 'P', 'P', 'P', 'L'], 'L')
shell.Call(0, "open", "file.exe", 0, 0, 1)
end
复制代码
事件里:
open_exe_file
也许有效
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1