 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Titan
Joined: 11 Aug 2004 Posts: 5049 Location: imaginationland
|
Posted: Fri Feb 03, 2006 9:20 pm Post subject: ACConsole |
|
|
AutoHotkey Command Console (ACConsole) is like a command prompt window where you can type or paste in commands to execute.
The window can be hidden to the system tray and called up whenever you need it. Like PSPad, you can press F1 while the cursor is on a word to bring up the reference for it in the AutoHotkey help file.
This can be useful whenever you need to use AutoHotkey for something quick (e.g. like replacing linefeeds in the clipboard) or for trying out code you see on these forums
Download (3kb) _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4002 Location: Pittsburgh
|
Posted: Fri Feb 03, 2006 9:48 pm Post subject: |
|
|
Nice!
I have been using a much simpler version in my main script (this is the 5th GUI in there). I post it here, so you could appreciate the extra functionality Titan's 5 times longer script offers. This one is activated by its hotkey (Alt-Z). You could type an AHK script in its edit window (showing the last one you entered highlighted, so a DEL clears it up, a cursor move allows editing it). Pressing the hotkey again executes the script, and hides the edit window, to be activated by the next press of the hotkey. Closing the window with ESC or clicking on [x] does not execute the script. You can terminate this little executioner via its tray icon. | Code: | !z:: ; Execute temp script
GuiControlGet VisibleCx, 5:Visible, MyEdit
If (VisibleCx <> 1) {
FileRead COMMAND, %TEMP%\execute!.ahk
Gui 5:Font, S10, Courier New
Gui 5:Add, Edit, r15 w700 WantTab vMyEdit, %COMMAND%
Gui 5:Show,,Alt-Z: Execute AutoHotkey Script
Return
}
Gui 5:Submit
FileDelete %TEMP%\execute!.ahk
FileAppend %MyEdit%, %TEMP%\execute!.ahk
Run %TEMP%\execute!.ahk
5GuiClose:
5GuiEscape:
Gui 5:Destroy
Return |
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|