#SingleInstance force #NoTrayIcon note = 提示:若存在与压缩包同名jpg文件,则制作相应图片和压缩包的图种 否则使用自带图片 By:Thinkai FileInstall, image.jpg, image.jpg FileSelectFile, file, M 1, , 选择要制作的图种的压缩包, 压缩文件(*.rar;*.7z;*.zip) if file { make_imagezip(file) MsgBox, 64, 提示, 制作完毕! } make_imagezip(file){ StringSplit, var, file, `n path := var1 loop % var0-1 { id := A_index+1 tmp_var := path "" var%id% SplitPath, tmp_var, , , , name, IfExist, %path%%name%.jpg RunWait, %ComSpec% /c copy /b `"%path%%name%.jpg`"+`"%tmp_var%`" `"%path%Out_%name%.jpg`", , Hide Else RunWait, %ComSpec% /c copy /b `"%A_ScriptDir%image.jpg`"+`"%tmp_var%`" `"%path%Out_%name%.jpg`", , Hide } }