Code: Select all
ReadSettings( { x : ""
, y : ""
, key3: "默认值" } )
Gui, Add, Edit, w300 vx , % x
Gui, Add, Edit, wp vy , % y
Gui, Add, Edit, wp vkey3, % key3
Gui, Show
Return
GuiClose:
ExitApp
Moderators: tmplinshi, arcticir
Code: Select all
ReadSettings( { x : ""
, y : ""
, key3: "默认值" } )
Gui, Add, Edit, w300 vx , % x
Gui, Add, Edit, wp vy , % y
Gui, Add, Edit, wp vkey3, % key3
Gui, Show
Return
GuiClose:
ExitApp
Code: Select all
#Include <WinHttpRequest>
#Include <UriDecode>
#Include <JSON_ToObj>
#Include <Class_ImageButton>
#Include <Class_CTLCOLORS>
对于中文用户不建议这么做。arcticir wrote:我记得曾经跟你讨论过。
即能当脚本,又能当INI读写。
HY脚本的基本格式。
Code: Select all
/* [Settings] A= [End] */ MsgBox,测试
如何混淆?用你的代码风格吗?arcticir wrote:直接EXE改名,代码保密就混淆下。
谢谢推荐。tmplinshi wrote:不容易设置图标(是的,用 Resource Hacker 可以修改。)
幸好我没大依赖,自己读文件转obj多好..不考虑直接配置ini的话,用json啥的也方便(我在用@Coco的SerDes() - AHK object (de)serialization,其他有什么推荐的没?)..amnesiac wrote:内置的 INI 函数只支持 ASCII 和 UTF-16 两种编码的文件。