找回密码  加入

AUTOIT CN

搜索
查看: 247|回复: 6

[系统综合] afan大佬的AccAu3Wrapper不再更新了吗?

[复制链接]
发表于 2021-4-24 16:19:17 | 显示全部楼层 |阅读模式
16年出了版本再也没更新了,编译比autoitwrapper好用啊,autoitwrappe带选项编译全把参数写到au3配置
发表于 2021-4-24 17:18:39 | 显示全部楼层
acc都不在了,当然也就不会更新了
 楼主| 发表于 2021-4-24 17:20:54 | 显示全部楼层
afan 发表于 2021-4-24 17:18
acc都不在了,当然也就不会更新了

好软件,可惜了!
发表于 2021-4-25 10:30:06 | 显示全部楼层
本帖最后由 redapple2008 于 2021-4-25 10:32 编辑

自己可以写一个,官方有模块,自己改一下就可以。界面都给你做好了。
  1. #NoTrayIcon
  2. #include <ButtonConstants.au3>
  3. #include <ComboConstants.au3>
  4. #include <EditConstants.au3>
  5. #include <GUIConstantsEx.au3>
  6. #include <StaticConstants.au3>
  7. #include <WindowsConstants.au3>
  8. #Region ### START Koda GUI section ### Form=c:\users\desktop\au3\form1.kxf
  9. Global $txt="AutoIt3Wrapper",$W,$H,$l,$B
  10. Global $zj=20,$dj=20,$kd=50,$gd=25
  11. $D_Gui = GUICreate($txt, 560, 840, 100, 83)
  12. $Label1 = GUICtrlCreateLabel("当前文件", $zj, $dj+8, $kd, $gd)
  13. $Input1 = GUICtrlCreateInput("", $zj+60, $dj, $kd*8, $gd)
  14. $Button1 = GUICtrlCreateButton("...",$zj+60+$kd*8+$zj, $dj, $kd/2, $gd)
  15. ;$Pic1 = GUICtrlCreatePic("", $zj+60+$kd*8+$zj+20, 8, 68, 52)

  16. $Group1 = GUICtrlCreateGroup("", $zj, $dj*3, $kd*10.5, $gd*4)
  17. Global $zjhx=28,$djhx=80,$kdhx3=70,$kdhx2=400,$anqiuzj=510,$anqiugd=21,$anqiukd=25
  18. $Checkbox1 = GUICtrlCreateCheckbox("图标文件", $zjhx, $djhx, $kdhx3, 17)
  19. $Checkbox2 = GUICtrlCreateCheckbox("输出(X86)", $zjhx, $djhx+25, $kdhx3, 17)
  20. $Checkbox3 = GUICtrlCreateCheckbox("输出(X64)", $zjhx, $djhx+50, $kdhx3, 17)
  21. $Input2 = GUICtrlCreateInput("", $zjhx+80, $djhx, $kdhx2, 21)
  22. $Input3 = GUICtrlCreateInput("", $zjhx+80, $djhx+25, $kdhx2, 21)
  23. $Input4 = GUICtrlCreateInput("", $zjhx+80, $djhx+50, $kdhx2, 21)
  24. $Button2 = GUICtrlCreateButton("...", $anqiuzj, $djhx, $anqiukd, $anqiugd)
  25. $Button3 = GUICtrlCreateButton("...", $anqiuzj, $djhx+25, $anqiukd, $anqiugd)
  26. $Button4 = GUICtrlCreateButton("...", $anqiuzj, $djhx+50, $anqiukd, $anqiugd)
  27. GUICtrlCreateGroup("", -99, -99, 1, 1)

  28. $Group2 = GUICtrlCreateGroup("", $zj, $djhx+80, $kd*10.5, $gd*3.5)
  29. $Checkbox4 = GUICtrlCreateCheckbox("使用UPX压缩", $zjhx, $djhx+95, 97, 17)
  30. $Checkbox5 = GUICtrlCreateCheckbox("包含必要的Constans*.au3", $zjhx, $djhx+120, 200, 17)
  31. $Checkbox6 = GUICtrlCreateCheckbox("创建GUI控制台程序", $zjhx, $djhx+145, 150, 17)
  32. $Button5 = GUICtrlCreateButton("编译(C)", 260, 208, 75, 25)
  33. $Button6 = GUICtrlCreateButton("仅保存(S)", 360, 208, 75, 25)
  34. $Exit_Button = GUICtrlCreateButton("退出(X)", 460, 208, 75, 25)
  35. GUICtrlCreateGroup("", -99, -99, 1, 1)

  36. Global $Lb=270,$jj=25,$txtzj=90,$kdhx1=60,$inputkd=380
  37. $Group3 = GUICtrlCreateGroup("", $zj, $djhx+170, $kd*10.5, 270)
  38. $Label2 = GUICtrlCreateLabel("文件版本", $zjhx, $Lb, $kdhx1, 17)
  39. $Label3 = GUICtrlCreateLabel("程序语言", $zjhx, $Lb+$jj, $kdhx1, 17)
  40. $Input5 = GUICtrlCreateInput("1.1.1.1", $txtzj, $Lb-5, 121, 21)
  41. $Combo1 = GUICtrlCreateCombo("", 220, $Lb-5, 81, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
  42. GUICtrlSetData($Combo1,"不递增|自动递增|询问递增","不递增")
  43. $Label4 = GUICtrlCreateLabel("简防傻反", 320, $Lb, $kdhx1, 17)
  44. $Combo2 = GUICtrlCreateCombo("Combo2", 384, $Lb-5, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))

  45. $Combo3 = GUICtrlCreateCombo("", $txtzj, $Lb+20, 210, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
  46. GUICtrlSetData($Combo3,"English|中文|繁体","中文")
  47. $Label5 = GUICtrlCreateLabel("执行等级", 320, $Lb+20, $kdhx1, 17)
  48. $Combo4 = GUICtrlCreateCombo("", 384, $Lb+20, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
  49. GUICtrlSetData($Combo4,"Lowest|Low|Normal|High|Highest","Normal")
  50. $Label6 = GUICtrlCreateLabel("版权信息", $zjhx, $Lb+$jj*2, $kdhx1, 17)
  51. $Input_Copyright = GUICtrlCreateInput("", $txtzj, $Lb+$jj*2-5, 300, 21)
  52. $Label7 = GUICtrlCreateLabel("备注信息", $zjhx, $Lb+$jj*3, $kdhx1, 17)
  53. $Input7 = GUICtrlCreateInput("Input7", $txtzj, $Lb+$jj*2+20, $inputkd, 21)
  54. $Label8 = GUICtrlCreateLabel("描述信息", $zjhx, $Lb+$jj*4, $kdhx1, 17)
  55. $Input8 = GUICtrlCreateInput("Input8", $txtzj, $Lb+$jj*2+45, $inputkd, 21)
  56. $Label9 = GUICtrlCreateLabel("附加信息", $zjhx, $Lb+$jj*5, $kdhx1, 17)
  57. $Input9 = GUICtrlCreateInput("Input9", $txtzj, $Lb+$jj*2+70, $inputkd, 21)
  58. $Button8 = GUICtrlCreateButton("编辑", 472, $Lb+$jj*2+68, 60, 25)
  59. $Label10 = GUICtrlCreateLabel("图标资源", $zjhx, $Lb+$jj*6, $kdhx1, 17)
  60. $Label11 = GUICtrlCreateLabel("文件资源", $zjhx, $Lb+$jj*7, $kdhx1, 17)
  61. $Label12 = GUICtrlCreateLabel("编前运行", $zjhx, $Lb+$jj*8, $kdhx1, 17)
  62. $Label13 = GUICtrlCreateLabel("编后运行", $zjhx, $Lb+$jj*9, $kdhx1, 17)
  63. $Input10 = GUICtrlCreateInput("Input10", $txtzj, $Lb+$jj*2+95, $inputkd, 21)
  64. $Input11 = GUICtrlCreateInput("Input11", $txtzj, $Lb+$jj*2+120, $inputkd, 21)
  65. $Input12 = GUICtrlCreateInput("Input12", $txtzj, $Lb+$jj*2+145, $inputkd, 21)
  66. $Input13 = GUICtrlCreateInput("Input13", $txtzj, $Lb+$jj*2+170, $inputkd, 21)
  67. $Button9 = GUICtrlCreateButton("编辑", 472, $Lb+$jj*2+68+25, 60, 25)
  68. $Button10 = GUICtrlCreateButton("编辑", 472, $Lb+$jj*2+68+50, 60, 25)
  69. $Button11 = GUICtrlCreateButton("编辑", 472, $Lb+$jj*2+68+75, 60, 25)
  70. $Button12 = GUICtrlCreateButton("编辑", 472, $Lb+$jj*2+68+100, 60, 25)
  71. $Input_Copyright_button = GUICtrlCreateButton("&#169; ", 400, $Lb+$jj*2-5, 20, 20)
  72. GUICtrlCreateGroup("", -99, -99, 1, 1)

  73. $Group4 = GUICtrlCreateGroup("", $zj, $djhx+440, $kd*10.5, 146)
  74. $Checkbox7 = GUICtrlCreateCheckbox("语法检查", $zjhx, $djhx+460, 97, 17)
  75. $Checkbox8 = GUICtrlCreateCheckbox("代码整理", $zjhx, $djhx+460+25, 97, 17)
  76. $w_Func = GUICtrlCreateCheckbox("清除未用函数", 120,$djhx+460+25, 90, 17)
  77. GUICtrlSetState($w_Func,$GUI_DISABLE)

  78. $Checkbox9 = GUICtrlCreateCheckbox("代码精简", $zjhx, $djhx+460+50, 97, 17)
  79. $w_Func = GUICtrlCreateCheckbox("清除未用函数", 120,$djhx+460+50, 90, 17)
  80. GUICtrlSetState($w_Func,$GUI_DISABLE)
  81. $bl = GUICtrlCreateCheckbox("清除未用变量", 220,$djhx+460+50, 90, 17)
  82. GUICtrlSetState($bl,$GUI_DISABLE)
  83. $Re_Func = GUICtrlCreateCheckbox("整合删除注释", 320,$djhx+460+50, 90, 17)
  84. GUICtrlSetState($Re_Func,$GUI_DISABLE)
  85. $ZH = GUICtrlCreateCheckbox("保留注释", 420,$djhx+460+50, 90, 17)
  86. GUICtrlSetState($ZH,$GUI_DISABLE)

  87. $Checkbox10 = GUICtrlCreateCheckbox("代码迷惑", $zjhx, $djhx+460+75, 80, 17)
  88. $Re_Func = GUICtrlCreateCheckbox("重命名函数", 120,$djhx+460+75, 80, 17)
  89. GUICtrlSetState($Re_Func,$GUI_DISABLE)
  90. $ZH = GUICtrlCreateCheckbox("中文支持", 220,$djhx+460+75, 80, 17)
  91. GUICtrlSetState($ZH,$GUI_DISABLE)
  92. $Re_Func = GUICtrlCreateCheckbox("移除未用函数", 320,$djhx+460+75, 90, 17)
  93. GUICtrlSetState($Re_Func,$GUI_DISABLE)
  94. $ZH = GUICtrlCreateCheckbox("替换常量变量", 420,$djhx+460+75, 90, 17)
  95. GUICtrlSetState($ZH,$GUI_DISABLE)

  96. $Re_Func = GUICtrlCreateCheckbox("删除未用变量", 120,$djhx+460+100, 80, 17)
  97. GUICtrlSetState($Re_Func,$GUI_DISABLE)
  98. $ZH = GUICtrlCreateCheckbox("重命名函数", 220,$djhx+460+100, 80, 17)
  99. GUICtrlSetState($ZH,$GUI_DISABLE)

  100. GUICtrlCreateGroup("", -99, -99, 1, 1)

  101. $Group5 = GUICtrlCreateGroup("", $zj, $djhx+590, $kd*10.5, 155)
  102. $Checkbox11 = GUICtrlCreateCheckbox("用WINrar自动打包", $zjhx, $djhx+610, 197, 17)
  103. $Label14 = GUICtrlCreateLabel("+ 改变打包格式", 100, $djhx+610+25, 142, 17)
  104. $Combo5 = GUICtrlCreateCombo("", 200, $djhx+610+20, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
  105. GUICtrlSetData($Combo5,"7z|rar|zip","rar")
  106. GUICtrlSetState($Combo5,$GUI_DISABLE)
  107. $Checkbox12 = GUICtrlCreateCheckbox("压缩包密码", 60, $djhx+610+47, 117, 17)
  108. GUICtrlSetState($Checkbox12,$GUI_DISABLE)
  109. $Input14 = GUICtrlCreateInput("Input14", 152, $djhx+610+45, 121, 21)
  110. GUICtrlSetState($Input14,$GUI_DISABLE)
  111. $Checkbox13 = GUICtrlCreateCheckbox("添加注释", 60, $djhx+610+70, 97, 17)
  112. GUICtrlSetState($Checkbox13,$GUI_DISABLE)
  113. $Input15 = GUICtrlCreateInput("Input15", 152, $djhx+610+70, 121, 21)
  114. GUICtrlSetState($Input15,$GUI_DISABLE)
  115. $Button13 = GUICtrlCreateButton("...", 288, $djhx+610+70, 75, 25)
  116. $Label15 = GUICtrlCreateLabel("Label15", 112, $djhx+610+95, 42, 17)
  117. $Input16 = GUICtrlCreateInput("$Input16", 184, $djhx+610+95, 185, 21)
  118. GUICtrlSetState($Input16,$GUI_DISABLE)
  119. $Checkbox14 = GUICtrlCreateCheckbox("Checkbox14", 40, 912, 97, 17)
  120. GUICtrlSetState($Checkbox14,$GUI_DISABLE)
  121. $Checkbox15 = GUICtrlCreateCheckbox("压缩包密码", 60, $djhx+610+115, 117, 17)
  122. GUICtrlSetState($Checkbox15,$GUI_DISABLE)
  123. GUICtrlCreateGroup("", -99, -99, 1, 1)
  124. GUISetState(@SW_SHOW)
  125. #EndRegion ### END Koda GUI section ###

  126. While 1
  127.         $nMsg = GUIGetMsg()
  128.         Switch $nMsg
  129.                 Case $GUI_EVENT_CLOSE
  130.                         Exit
  131.                 Case $Input_Copyright_button
  132.                         C()
  133.                 Case $Exit_Button
  134.                         Exit
  135.         EndSwitch
  136. WEnd


  137. Func C()
  138.         If StringInStr(GUICtrlRead($Input_Copyright), '&#169;') = 0 Then GUICtrlSetData($Input_Copyright, 'Copyright &#169; ' & GUICtrlRead($Input_Copyright))
  139. EndFunc   ;==>C
复制代码


发表于 2021-4-25 10:35:26 | 显示全部楼层
&#169;是什么?怎么传上去的代码会变?
 楼主| 发表于 2021-4-25 13:36:25 | 显示全部楼层
redapple2008 发表于 2021-4-25 10:35
&#169;是什么?怎么传上去的代码会变?

确实变了。。
发表于 2021-4-25 14:22:46 | 显示全部楼层

这个把功能加上去就可以用了,加功能就看autoitwrapper。autoitwrapper汉化一次就差不多懂流程了。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|小黑屋|手机版|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2021-5-7 18:52 , Processed in 0.156250 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表