command_help
AutoHotkey
Our great sponsors
command_help | AutoHotkey | |
---|---|---|
8 | 1,026 | |
88 | 8,308 | |
- | 2.7% | |
0.0 | 9.0 | |
over 3 years ago | 24 days ago | |
Shell | C++ | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
command_help
-
Ask HN: What do you use to make CLIs?
I use a lot of CLI tools, but haven't written many for myself. Mostly, aliases/functions and some scripts in Bash/Python.
Extract details for command options from man/help: https://github.com/learnbyexample/command_help/blob/master/c...
cut-like syntax for field manipulations with regexp, negative indexing, etc: https://github.com/learnbyexample/regexp-cut/blob/main/rcut
simple calculator using python syntax: https://learnbyexample.github.io/practice_python_projects/ca...
- A better way of displaying help text on the command line
-
Enter a command to see help text for each arg
I wrote a Linux CLI tool [0] that parses the man/help pages to extract option details. Works most of the time for me, but there are plenty of corner cases that don't work.
-
What tools / utilities have you written that you use regularly?
https://github.com/learnbyexample/command_help to extract help text from builtin commands and man pages, ex:
-
What's a program you made that you actually use regularly?
https://github.com/learnbyexample/command_help is big enough to warrant a repo, examples, limitations, etc. I had a list of todo items to improve the script, but after years of usage, I'm fine with the limitations since I rarely encounter them. This helps me to extract documentation of particular options, here's an example:
-
Save Time Using Manop to Print Only Selected Content From the Man Page using Manop
I wrote one a few years back (https://github.com/learnbyexample/command_help). It has a few corner case issues, but works most of the time for me and supports multiple options to be retrieved.
-
Explainshell - A tool that takes any shell commands, looks up the syntax and options from man pages, and steps you through what it does!
I particularly wanted to lookup documentation for command options from my terminal (instead of the website), so wrote a script for it: https://github.com/learnbyexample/command_help ... Have a long pending todo list, but despite the issues, the tool is good enough for my needs.
-
Testing
When I start a project, I usually try to write the programs incrementally. Say I need to iterate over files from a directory. I will make sure that portion is working (usually with print() statements), then add another feature — say file reading and test that and so on. This reduces the burden of testing a large program at once at the end. And depending upon the nature of the program, I'll add a few sanity tests at the end. For example, for my command_help project, I copy pasted a few test runs of the program with different options and arguments into a separate file and wrote a program to perform these tests programmatically whenever the source code is modified.
AutoHotkey
-
I need help! I believe I have someone able to see my screen, record my keys, alter windows sys files, alter reg keys, phish webpages, inject custom script-code into genuine windows apps, load webpages as installers, fake uninstall, fake shutdown, tons more from one file. Please tell me anything!
DownloadAHK() { global wb wb.Stop() file := A_Temp "\ahk-install.exe" switchPage("downloading") Sleep 10 if !Download("https://autohotkey.com/download/ahk-install.exe", file, "DownloadAHK_Progress") { MsgBox 0x2010,, Download failed. switchPage("start") return } Run "%file%" /exec waitclose %A_ScriptHwnd% /exec downloaded "%file%" ExitApp } Exec_WaitClose(hwnd) { DetectHiddenWindows On WinWaitClose ahk_id %hwnd% } Exec_Downloaded(file) { ; global SilentMode := true DetermineVersion() QuickInstall()
-
I made an alternative to convar helper so you can easily activate your favorite cheats and other vconsole commands, and it's versatile enough to use for other purposes too!
All you have to do (other than have autohotkey installed) is
-
Multiple dictionaries or alternatives.
But, if you just install AutoHotKey, you can run these two scripts to select a first and a second dictionary: Select Dictionaries Zipfile
- [Autohotkey] Aide automatiquement
- RegExReplace a range of special characters with underscores
-
Add prompt to text?
You could try (and I have no affiliation with) http://autohotkey.com - then allocate the key to something like ctrl-F13 (often unused - but reachable via sending system keystroke).
-
retrieving AHK 'version.txt' screwed up by "Cloudflare's Challenge Campaign"?
Honestly, it's a bit silly of autohotkey.com to have such strict protections, especially on its downloads. You may be able to workaround by using the github releases instead which are far less restrictive.
- [Incremental_Games] À la recherche d’un bon autoclicker
-
Program that can macro clicks, as well as copy and paste in specific order.
try out autohotkey.com
-
Ctrl CapsLock Menu: The Best CapsLock Menu Script (Completely nonbiased statement)
autohotkey.com Go to the ahk website, click download, then choose 'Download v1.1 (deprecated)'
What are some alternatives?
pinpoint - Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.
PowerToys - Windows system utilities to maximize productivity
hn-reader - A dark mode reader app for Hacker News
espanso - Cross-platform Text Expander written in Rust
tera - Interactive Bash script terminal music radio player. Play your favorite radio station, CRUD your favorite lists, and explore new radio stations from your terminal.
Hypixel-Cobblestone-Mining-Script - Undetectable, Anti-antiafk, 50-75% efficient [guesstimate] (for collection exp) depending on how long your cobblestone generator is.
sc2-replay-go
gfn-antiafk - A script that will stop Geforce Now from kicking you after 5-7 minutes of AFK.
ffupdate - A shellscript to automatically install and update firefox on linux.
kmonad - An advanced keyboard manager
smenu - smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.
AutoHotInterception - An AutoHotkey wrapper for the Interception driver