Giter VIP home page Giter VIP logo

ahk.autotemplates's Introduction

autoTemplates

Scripts and Macros in Autohotkey for pasting templates

Getting Started

Download the Source Code and run the AutoTemplates.ahk

Configure Signature

  1. Start AutoTemplates.ahk
  2. Open the names.ini file
  3. Copy the fullname section.
  4. Replace [fullname] to your name keeping the brackets.
  5. Replace username with whoami. That should autoreplace it with your Windows username.
  6. Configure the other settings accordingly.
  7. Save the names.ini file.

You should now see your name when you use either hotstrings/hotkeys that output a signature.

Adding Templates

Create a text file in the Templates folder to add a new template. You can also use the NewTemplateButton hotkey to open a text file in notepad with GreetingKey and SignatureKey already added.

Settings

The settings are split accross multiple files.

General Settings

The settings.ini file contains the general settings for AutoTemplates.ahk

Setting Name Description Default
company Company Name (optional) Cabbage Corp
templateCountry Name of Template folder for network folder Templates
menuName Name of Template menu AutoTemplates
defaultSignature Default signature to use when printing signature.
Options: simpleSignature, emailSignature, casualSignature
simpleSignature
networkpath Path to network folder unknown
MenuButtonMouse Hotkey which opens menu to select multiple templates for tickets ^RButton
MenuButtonKeyboard Hotkey which opens menu to select multiple templates for tickets ^!j
ReloadButton Hotkey for reloading script ^!r
NewTemplateButton Hotkey for creating a blank template in Notepad ^!t
EditTemplateButton Hotkey for opening a menu for editing templates in the template folder ^!e
HelpButton Hotkey for opening help menu ^!h
FolderButton Hotkey for opening root folder where the script is located ^!f
SettingsButton Hotkey for opening settings.ini ^!s
hotstringadderButton Hotkey for adding custom hotstring button ^!w
SignatureKey Replaced with the default signature {SIGNATURE}
EmailSignatureKey Replaced with emailSignature {EMAILSIGNATUREKEY}
CasualSignatureKey Replaced with simplesignature {SIMPLESIGNATUREKEY}
SignatureKey Replaced with casualSignature {CASUALSIGNATUREKEY}
GreetingKey Replaced with emailGreeting from names.ini {GREETING}
closingDatekey Replaced with date three business days away {DATE}

Signature Settings

The signature settings are located in the names.ini file.

Setting Name Description Default
[fullname] Your name [fullname]
username Windows username (this is how the script identifies you) Cabbage Employee
emailGreeting Default email greeting, used when {GREETING} used in template Hello
emailClosing Default email closer, used when generating signature, when {SIGNATURE} is used in template Thanks
position Third line of email signature Cabbage Agent
department Fourth line of email signature Cabbage Customer Service

Signature Structure

Here is the structure for each signature type defined in defaultSignature.

  • emailSignature:
    • emailClosing
    • fullname
    • position
    • department
  • simpleSignature:
    • emailClosing
    • fullname
  • casualSignature:
    • emailClosing
    • first name

Custom Hotstring Settings

The hotstring.ini file stores custom hotstrings. You can also use the hotstringadderButton for generating hotstrings.

Setting Name Description
keycombo Key combo that activates hotstring (ie: \custom)
action Text that appears when keycombo is used
Description Description of hotstrings for GUI

Hotkey GUI Settings

The hotkeys.ini file stores information about all the built in hotstrings and hotkeys.

Setting Name Description
keycombo Key combo that activates hotkey
alternate (optional) Alternate hotkey for the action
Description Description of hotkey for GUI

ahk.autotemplates's People

Contributors

aburt2 avatar

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.