Gui Font, s16, 微軟雅黑
Gui Add, Edit, x56 y135 w431 h43 v文件路徑, 請輸入文件路徑
Gui Font, s16, 微軟雅黑
Gui Add, Picture, x486 y133 w48 gFilePath h48 Icon5, shell32.dll
returnGui Font, s16, 微軟雅黑
Gui Add, Edit, x56 y135 w431 h43 v文件路徑, 請輸入文件路徑
Gui Font, s16, 微軟雅黑
Gui Add, Picture, x486 y133 w48 gFilePath h48 Icon5, shell32.dll
Gui, Show, w688 h388, 信手拈來按鍵幫你來
return
FilePath:
Gui,Submit ,NoHide
FileSelectFile, SelectedFile, M,c:\ , 打開文件, 文本文檔 (*.txt; *.doc)
if SelectedFile =
MsgBox, 用戶沒有選擇任何文件
else
GuiControl, ,文件路徑, %SelectedFile%
return