Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:win32:console [2011/06/03 19:33] – A title should reflect content. biomathjdailyhowtos:win32:console [2011/06/05 13:14] – make script snippet downloadable enrico
Line 1: Line 1:
-==== Terminal Connectivity in Windows using Console ====+===== Terminal Connectivity in Windows using Console ====
 This HowTo documents how to integrate Geany with [[http://sourceforge.net/projects/console/|Console]] using [[http://www.autohotkey.com/|AutoHotKey]] in Windows. This is useful since the terminal emulation feature is absent in geany on windows. Console is a tabbed wrapper for terminal-like programs in windows, and can be used as a shell to run anything from cmd.exe, python, rterm, etc. to Midnight Commander. AutoHotKey is a scripting language and interpreter that specializes in process management and keyboard shortcuts.\\ This HowTo documents how to integrate Geany with [[http://sourceforge.net/projects/console/|Console]] using [[http://www.autohotkey.com/|AutoHotKey]] in Windows. This is useful since the terminal emulation feature is absent in geany on windows. Console is a tabbed wrapper for terminal-like programs in windows, and can be used as a shell to run anything from cmd.exe, python, rterm, etc. to Midnight Commander. AutoHotKey is a scripting language and interpreter that specializes in process management and keyboard shortcuts.\\
 +
 ==== Setup ==== ==== Setup ====
 +
   * Download and install Console 2.0 and AutoHotKey.   * Download and install Console 2.0 and AutoHotKey.
   * Configure Console's tabs. To run shells other than cmd.exe, just go to Edit > Settings > Tabs. From here add another tab using Add and provide an appropriate function in the shell option.   * Configure Console's tabs. To run shells other than cmd.exe, just go to Edit > Settings > Tabs. From here add another tab using Add and provide an appropriate function in the shell option.
   * Create the file AutoHotKey.ahk in your 'My Documents' folder. Alternatively, running AutoHotKey.exe will automatically generate this file. Just delete the contents.   * Create the file AutoHotKey.ahk in your 'My Documents' folder. Alternatively, running AutoHotKey.exe will automatically generate this file. Just delete the contents.
   * Paste the following script into the file, replacing the path on line 5 with your path to Console, and the argument DefaultTab with the name of the tab you specified in Console:   * Paste the following script into the file, replacing the path on line 5 with your path to Console, and the argument DefaultTab with the name of the tab you specified in Console:
-<code autohotkey>+<code autohotkey AutoHotKey.ahk>
 TestConsole() TestConsole()
 { {
Print/export