;RGUI-like AutoHotKey macros for copying code from Notepad++ to Julia console for REPL-oriented development
; control-F5 will select the current line of text in Notepad++
; control-F6 pastes the clipboard contents into the Julia console, presses <Enter>
; then re-activates Notepad++ and moves the cursor down a line.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Recommended for catching common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; # = windows key
; ^ = control
; ! = alt
; + = shift
;select and copy current line in Notepad++, which is assumed to be the active window
;copy clipboard to julia console
; then re-activate Notepad++ and move the cursor down to support stepping through
IfWinExist, julia.bat - Shortcut
MouseMove, 60, 60
if RegExMatch(InitTitle, "- Notepad\+\+$")
MsgBox Julia console not found.