AutoHotKey, AutoKey and Text Expander Scripts
This is an area for users to share their AutoHotKey, AutoKey and Text Expander scripts and macros
- AutoHotKey is an open source project for Windows users. It is a handy utility that allows for the creation of text macros, useful when entering text in any application, including into OSCAR. You need to download and install AutoHotKey on every Windows workstation computer. The AutoHotKey library of scripts and macros can be backed up centrally in your eDocs folder in OSCAR and run from there.
- A link to a handy tutorial to get you started using hotstrings/macros in AutoHotKey
- Sample Text Macros (Hotstrings)
- This script is to give you a taste of what you can do with AutoHotKey in your OSCAR text scroll. Install AutoHotKey from the link above on your Windows computer. Then run this script. Type the following phrase codes (hit space or ENTER after each code): zzcc zzfup zznote zzsig. Now open Notepad and start creating your own library of phrases in the format "::zzcode::This is where the text phrase goes" (without the inverted commas), and substitute your own initials for the "zz". Save the file to your desktop (or elsewhere) as "MyTextPhrases.ahk". Simply double click to run it with AutoHotKey (notice the little green H in your system tray indicating a running .ahk script)
- BMI Calculator for AutoHotKey
- This is a BMI calculator script shared by Peter Hutten-Czapski. Windows users: go to http://www.autohotkey.com/download/ and download and run the exe Then save the attached .ahk file on your desktop Now double click it to run it, notice the little green "H" in the task-bar Example of use: Open your favourite test patient's chart in OSCAR, put your cursor in the text scroll, type: 189lb (and hit space) 5'8" (and hit space) BMI (and hit space)
- Lab Signoff Script
- This is a handy little AutoHotKey script, contributed by Peter Hutten-Czapski, that allows Windows users to quickly sign of normal lab reports. Run the script, then open your lab inbox. When acknowledging a normal lab hit CTRL +N. The script will sign off the lab, place the word "reviewed" in the comments field and close the window returning you to the lab inbox.
- AutoKey is an open source macro editing program for Linux users, available for download from the Ubuntu Software Centre. It is a Python package with a GTK front end with similar functionality as AutoHotKey. AutoKey has a very nice graphical user interface that makes creating new text macros very easy. The configuration file can be backed up centrally in your eDocs folder, and shared from there to multiple Ubuntu computers. Your AutoKey configuration file is a .json formatted file, that you can find in your Home folder. Open your home folder, hit CTRL+H to reveal hidden folders, then navigate to: ~/.config/autokey/autokey.json
- If you are a Mac user, then you will have to buy Text Expander or a similar program, such as Typinator, SizzlingKeys, TypeIt4Me or QuickKeys to get this functionality.