close

下載 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 提取。
Ahk2Exe(Script to EXE Converter)

arrow
arrow
    全站熱搜

    呆丸北拜 發表在 痞客邦 留言(1) 人氣()