美文网首页工作生活
ahk界面设计中的文件选择

ahk界面设计中的文件选择

作者: 妹妹好想你 | 来源:发表于2019-06-30 18:46 被阅读0次

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

相关文章

网友评论

    本文标题:ahk界面设计中的文件选择

    本文链接:https://www.haomeiwen.com/subject/cogbcctx.html