11
N.A.N.Y. 2019 / Re: NANY 2019: AHK Script Center
« on: December 29, 2018, 03:43 PM »
The name can be anything one desires. I just chose AHK Script Center as it is a management tool for AHK scripts.
The two purposes for the program being: 1) avoiding antivirus false positives as the managed scripts are not compiled (or compressed with MPress / UPX), only AutoHotkey.exe and Notepad2.exe are present, and 2) allowing users to create a folder tree containing their favorite scripts and easily be able to distribute it to others if they choose to.
I have added a version column to the Listview which is pulled from the first comment line that is required in each script. This is just how I will allow the program to check online for version updates. It checks the local version number against a text file with the same name on my blog site. Users will be free to change that to suit their needs.
;Sample 1st line comment - This script does XYZ [include] | 1.11
The [include] tell the Script Center to display this script in the list of Available Scripts.
This allows users to only show finished scripts and ignore test scripts, secondary include files, etc.
Programmers can temporarily ignore any script by adding the word ignore in the first line.
The | 1.11 allows the program to split line 1 on the vertical bar and grab 1.11 as the script's version number.
If anyone has ideas on better ways to do this, they are most welcome.
I also changed the right-click option from a menu to a GUI. I found that right-clicking then accidentally right-clicking again in the bottom Listview would freeze the program. I never could figure out why. So, I switched to a small GUI instead.
I have updated the blog page for version 1.06.
The two purposes for the program being: 1) avoiding antivirus false positives as the managed scripts are not compiled (or compressed with MPress / UPX), only AutoHotkey.exe and Notepad2.exe are present, and 2) allowing users to create a folder tree containing their favorite scripts and easily be able to distribute it to others if they choose to.
I have added a version column to the Listview which is pulled from the first comment line that is required in each script. This is just how I will allow the program to check online for version updates. It checks the local version number against a text file with the same name on my blog site. Users will be free to change that to suit their needs.
;Sample 1st line comment - This script does XYZ [include] | 1.11
The [include] tell the Script Center to display this script in the list of Available Scripts.
This allows users to only show finished scripts and ignore test scripts, secondary include files, etc.
Programmers can temporarily ignore any script by adding the word ignore in the first line.
The | 1.11 allows the program to split line 1 on the vertical bar and grab 1.11 as the script's version number.
If anyone has ideas on better ways to do this, they are most welcome.
I also changed the right-click option from a menu to a GUI. I found that right-clicking then accidentally right-clicking again in the bottom Listview would freeze the program. I never could figure out why. So, I switched to a small GUI instead.
I have updated the blog page for version 1.06.