Giter Club home page Giter Club logo

ahkcommandpicker's Introduction

AHK Command Picker GitHub license Number of GitHub downloads

An AutoHotkey (AHK) script that allows you to easily call AHK functions and run other AHK scripts. (Requires AutoHotkey v1.1 to be installed).

Instead of having to remember what hotkey maps to each of your AHK scripts (as you could have hundreds), this displays a list of Commands in a light-weight GUI that allows you to quickly and easily run your scripts. Simply type part of the command name and hit enter to run your script. You can also provide parameters to your commands, allowing you to change the functionality of a command with a few keystrokes.

For more reasons to use this with your AHK scripts, see Why Use AHK Command Picker.

๐Ÿš€ How to use AHK Command Picker

Start by downloading the latest release. To launch AHK Command Picker run the AHKCommandPicker.ahk script.

Press the Caps Lock key to bring up the AHK Command Picker GUI. From there, just type the name of the Command that you want to run and hit Enter to run it.

Note: You can still toggle Caps Lock on and off by pressing Shift+Caps Lock.

โœ Adding your own Commands, hotkeys, and hotstrings

AHK Command Picker comes with many Commands out of the box, but the real power comes from adding your own Commands, hotkeys, and hotstrings.

  • UserCommands\MyCommands.ahk: Add your own Commands here.
  • UserCommands\MyHotkeys.ahk: Add your own hotkeys and hotstrings here.

You can use AHK Command Picker to open these files for editing by running the EditMyCommands and EditMyHotkeys Commands. After you have modified a file, run the ReloadAHKScript Command to apply your changes.

For more information, see the documentation.

Additional tidbits

You will likely want to have AHKCommandPicker start automatically when you log into Windows.

Upgrading versions

If you are upgrading from v1 to v2, see the migration guide.

๐Ÿ–ผ Screenshots

All commands:

All Commands

Commands filtered as you type:

Filtered Commands

๐ŸŽฆ Videos

Get started with AHK Command Picker in under 2 minutes:

AHK Command Picker in under 2 minutes video

Some out of the box functionality provided by AHK Command Picker:

Out of the box functionality video

Motivation for creating AHK Command Picker and some AHK problems it solves:

Motivation for creating AHK Command Picker video

๐Ÿ’ฌ Quotes / Testimonials

I've found that by not having to find and assign a specific hotkey (i.e. keyboard combination) to each of my scripts, I am more likely to automate many more of my tasks. Before I would worry about having to remember too many keyboard shortcuts and the overhead involved (remembering which shortcut launches what, accidentally triggering them, etc.), so I would only use AHK to automate the tasks that I did all of the time. Now with AHK Command Picker these problems are gone, so I automate everything; even the tasks that I might only do once a month.

A great tool for any AHK user: the interface is intuitive, adding your own commands\hotkeys and interacting with other AHK programs is easy, and the source code is well written and modifiable. Most of all, Command picker does what it claims to do: make windows automation easy by removing the need to remember hotkeys.

โž• How to contribute

Issues and Pull Requests are welcome. See the Contributing page for more details.

๐Ÿ“ƒ Changelog

See what's changed in the application over time by viewing the Changelog.

๐Ÿ’ณ Donate

Buy me a pastry ๐Ÿฐ for providing this script open source and for free ๐Ÿ™‚

paypal

ahkcommandpicker's People

Contributors

deadlydog avatar yazgoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ahkcommandpicker's Issues

Listview of commandbox

I think it's be better if you could change command listbox style to listview style for separating the commands and its description,vvvv

Insert custom Command issues

Hi,
if i put this code in the file Mycommands.ahk

AddCommand("shortNameFunction","Name_Function","description Explore path D:\Downloads")
Name_Function()
{
Run, D:\Downloads
}

the list box show me this
shortNameFunction => Name_Function

instead of show me
shortNameFunction => description Explore path D:\Downloads

I'm sorry for my english i tried to explain...

but this command in the file defaultcommands.ahk works fine and show me in the listbox
WindowCloseAll => Closes all open windows

AddNamedCommand("WindowCloseAll", "CloseAllWin", "Closes all open windows")
CloseAllWin()
{
MatchList = AutoHotKey Help, Any Other Window Names To Leave Open

WinGet, ID, List, , , Program Manager
Loop, %ID%
{
	StringTrimRight, This_ID, ID%A_Index%, 0
	WinGetTitle, This_Title, ahk_id %This_ID%
	If This_Title in %MatchList%
		Continue
	WinClose, %This_Title%
}

}

Bug: GUI selects the wrong command when typing very fast and using parameters

Sometimes when typing very fast to select a command and then hitting the , to specify a command parameter, the listbox will choose the wrong command.

e.g. Typing ff, will have the Food for family command selected and list its parameters when it should actually have Firefox selected and list its parameters. Simply backspacing out the , will have the picker reset and select the correct Firefox command.

This issue does not happen all of the time. It seems to only happen some of the time, likely due to a race condition.

How to modify the trigger shortcut key

Hello author! I am learning ahk, so I am not very familiar with ahk code. I want to modify the trigger shortcut keys. How should I modify the source code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.