#Geektyper microsoft windows#
Enjoy! - Cake Kid off mode 1000 title Matrix color 0a set load= set/a loadnum= :Loading set load=%load%_ cls echo Microsoft Windows (c) 2016 Microsoft Corporation. Copy and paste it to notepad and save it as a (.bat) and open it from your documents. I am afraid I have done better than all of you. I have Ctrl+ ` defined as a hotkey to suspend the script.Echo -Įcho This Matrix Affect was created by MR.CMDĮcho The Matrix Effect begins CON: COLS=1000 LINES=500 You can make this only work in Notepad by uncommenting the #IfWinActive bit. StringTrimLeft, MasherBuffer, MasherBuffer, 1 #IfWinActive ahk_class Notepad This limits the button masher to Notepad. !`::Gui, Show, Magic Button Masher Buffer MasherBuffer = %MasherBuffer%`n`n%AddToBuffer% GuiControl, Move, MasherBuffer, W%NewWidth% H%NewHeight% Resize the MasherBuffer control to match. Otherwise, the window has been resized or maximized. If ErrorLevel = 1 The window has been minimized. Gui, Add, Edit, vMasherBuffer, %MasherBuffer% Gui, Add, Text, When you are ready, un-suspend this script (Ctrl and `` together will toggle the suspension).`nType any character on the main QWERTY keyboard to send the characters from the buffer instead. You can also drag-and-drop text files here. SendMode InputThenPlay Try to prevent the user from corrupting the buffer text.įileRead, MasherBuffer, magic-button-masher-text.txt
![geektyper microsoft geektyper microsoft](https://i.ytimg.com/vi/RQFHhapKXGY/maxresdefault.jpg)
Here's my script: #UseHook Avoid loops of the Send command triggering the hotkey again.ĪutoTrim, Off Don't auto-trim spaces and tabs from the beginning and end of the sourcetext. You may need to do a little replacement or conditional to handle sending, but maybe not. Use Send to send the character that you grabbed.Use StringLeft and StringTrimLeft to retrieve a single character from your big variable and delete it from the variable.Stack multiple hotkey definitions for pretty much every key on the keyboard for your one script action.Alternatively, or in addition, use #IfWinActive to restrict the mashing-keys function to the one window within which you will be doing this. Define a Suspend hotkey and start suspended, so that you can use your keyboard when you don't want to be mashing.I'm sure somebody else could whip this up in no time, but I can at least imagine a possible structure to the script: