下載 AutoHotkeyzip file,解壓縮後執行裡面 Compiler 資料夾中的 Ahk2Exe.exe(Script to EXE Converter)

假設批次檔中執行的命令為 firefox -profile defaults\profile,那麼在 Compiler 資料夾中新增一個文字文件,副檔名為 .ahk,用記事本開啟,輸入以下內容:

run firefox -profile defaults\profile
return


於 Ahk2Exe 視窗中:Source(script file),指定方才新增的 .ahk 檔案;Destination(.exe file),指定欲生成 .exe 執行檔之檔案名稱。

Custom Icon(.ico file)為可選項,指定欲生成 .exe 執行檔之圖示,若不指定,則會預設使用和 Ahk2Exe.exe 同樣的圖示。圖示必須使用 .ico 檔案,可用 Resource Hacker 提取。

文章標籤
全站熱搜
創作者介紹
創作者 呆丸北拜 的頭像
呆丸北拜

<a href="http://twpcsx2.blogspot.com/2014/02/blogger.html">呆丸北拜已搬家至 Blogger</a>

呆丸北拜 發表在 痞客邦 留言(2) 人氣(6,220)