1) AutoHotKey 설치하기
설치 파일을 다운로드하여 클릭 한번이면 설치 끝~~~~ .
- URL : http://www.autohotkey.com/
-
설치파일 : AutoHotkey_L_Install.exe
2) 스크립트 파일 생성하기
프로그램 설치 후 로컬 폴더에서 <새로 만들기> 버튼 클릭 후, <AutoHotKey Script> 를 선택.
간단한 예제 파일을 위한 AutoHotKey 스크립트 파일이 생성된다.
3) AutoIt3 Windows Spy 익히기
AutoHotKey 에서는 프로그래밍 과정에서 필요한 마우스의 위치 정보와 색깔(Color) 정보를 제공하기 위한 Spy 프로그램(AutoIt3 Window Spy)을 디폴트로 제공한다.
Spy 프로그램을 실행한 후 원하는 위치에 마우스 커서를 지정하면 정보가 표시된다.
이 때, Shift + Alt + Tab 버튼을 클릭하면 정보 표시가 고정되기 때문에 바로 창에서 표시된 정보를 COPY 해서 사용하면 편리하다.
4) Script to EXE Converter
AutoHotKey 스크립트로 제작된 프로그램은 AutoHotKey 이 설치되지 않은 환경에서도 사용할 수 있도록 스크립트를 실행파일(exe)로 변환해 주는 프로그램(Ahk2Exe for AutoHotKey)을 제공한다.
5) AutoHotKey 편집기
대표적인 편집기 외에도 AutoHotkey 문법을 인식하는 다음과 같은 편집기들을 사용할 수 있다
- SciTE4AutoHotkey – URL : http://www.autohotkey.net/~fincs/SciTE4AutoHotkey_3/web/
- AkelPad – http://www.autohotkey.com/forum/topic23586.html
- Crimson Editor – http://www.autohotkey.com/forum/topic5506.html
- Eclipse, FAR manager, and any other editors which use Colorer take5 – http://www.autohotkey.com/forum/topic10378.html
- Emacs – http://www.autohotkey.com/wiki/index.php?title=Emacs
- Notepad++ – http://www.autohotkey.com/forum/topic58792.html
- Notepad2 – http://www.autohotkey.com/forum/viewtopic.php?t=37652
- PSPad – http://www.autohotkey.com/forum/topic9294.html
- SciTE and possibly other Scintilla based editors – http://www.autohotkey.com/forum/topic9656.html
- Sublime Text Editor – http://www.autohotkey.com/forum/viewtopic.php?p=368326#368326
- Total Commander with Synplus plugin – http://www.autohotkey.com/forum/topic7278.html
6) 기본 익히기
AutoHotKey 사이트에는 기본적으로 익혀야 할 기본 문법에 대한 정보를 제공한다.
- Tutorial and Overview
- URL : http://www.autohotkey.com/docs/Tutorial.htm
영어보다 한글이 편한 분들이 참고할 수 있는 번역된 내용도 존재한다.
- AutoHotKey 포럼 AHK ( AutoHotKey 를 사용하는 사람들 )
- URL : http://www.autohotkey.co.kr/cgi/contents.php?id=tutorial
이후, 목적에 맞는 명령들은 스크립트를 작성하면서 Command List 를 참고하면 된다.