ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2019

NANY 2019: AHK Script Center

<< < (3/3)

mat2016:
Correct, an installed AHK can be detected or selected. But, on my blog, I have been distributing compiled AutoHotkey scripts and updating them to users via Zip files. A few of the Zip files contain a Setup.exe installer since that cut down on antivirus false positives. So, for my version of AHK Script Center, I am assuming the end users are not script writers. For this reason, I have included the AutoHotkey interpreter and for those who do wish to dabble with scripting, the NotePad2 program. Neither of these executables require actual installation.

For regulars to DonationCoder, the program can be updated to take advantage of script capable users. I am finishing a mechanism for users to check and optionally update individual scripts. After that, I will post my "mega pack" and will be done for a while. This script allows me to change my mindset away from the distribution and maintenance of separate EXE programs and just periodically update individual script files, which will be easier. It's not like I was making any money anyways, LOL.  :)

mat2016:
I believe I'm through with the essentials for AHK Script Center as the management application for my script library.

I have uploaded version 1.08. The VersionCheck and UpdateScript subroutines will have to be customized to your liking or removed if not necessary. If AutoHotkey is already installed on your system then the Exe can be removed since you can double-click the script to run it. And you can edit global variable Editor to point to SciTE or whatever script editor you use (line 57). There are some lines commented out as they were used for debugging purposes.

The larger Mikeys Mega Script Pack download uses Inno installer and creates a desktop shortcut for running AHK Script Center. It defaults to creating a Mikeys Mega Script Pack folder on your desktop as well but it is user selectable.

I hope this method of script management is useful for many of you. Happy early New Year's.

mat2016

Contro:
 :-*

Thanks to ToDoList i am making a work list to remember all the languages for scripting.
AHK, AutoIt, Batch, Java, C, etc.
An AHK Script Center is sure a organization tool for me. And for my poor memory.
 :P

Thanks a lot mat2016 !!!!!!!!! :tellme:

Note : Only two scripts detected running !!!!! Oh my God !

NANY 2019: AHK Script Center

 ;D

The pack seems an interesting marketing measure to try your software. Wonderful !!!!!!
 :P

NANY 2019: AHK Script Center

Why the detected scripts at the starting are not added to the ahk centre as available scripts ?

STOP Running Scripts close all the scripts, even the starting ones. And now I can reopen from the application.
I can only reopen those of your library .
How can I add any ahk script to the ahk centre ?

Best Regards

mat2016:
Contro,

The script can be easily modified to include other folders that contain AutoHotkey scripts files, but, the version on my blog only looks inside the folder the AHK Script Center is running in plus any subfolders. So, it will show other scripts that are running (with any version of AutoHotkey) as it looks at the full command lines of running process and filters on .AHK filenames. That's why you see your two script in Running Scripts list. If you have compiled scripts running, they aren't detected.

If you make a folder for those under the Mega Pak and move them under there, then they will show as Available IF you include the following in the first line as an example.

;this script does the following stuff [include] | version 0.4

By using the first line of each script in this way, you can include only those AHK files you regularly launch.

Conversely, you can copy the AHK Script Center.ahk file into an existing folder tree you have that contains AHK files. To use the right click Edit and double-click to run features, it's best to include AutoHotkey.exe and NotePad2.exe in the same folder as Script Center.

mat2016

Contro:
It sounds inconfortable. I can't move my scripts. Are controlled precisely in their position and are linked to my documentation database.
I can only put shortcuts.
I think you may adapt your script to support any convenience. And the AHK Script center scan all my disks and add all the scripts. At least with the extension ahk. Because I assume is difficult to detect when an exe is compiled with AHK.
All we have ahk scripts from the past located in our disks. It's not time to change this. I think you may adapt your script.
Best Regards
 :-*

Navigation

[0] Message Index

[*] Previous page

Go to full version