PSPad usage - Who uses PSPad?
Posted: 02 Apr 2015, 09:27
Dear all,
Who of you is using PSPad as their editor for AHK? Please post so that we can get in contact.
I would like to improve the integration of AHK in PSPad. Jan Fiala (author of PSPad) agreed to support.
But instead of doing all by myself I wanted first to see how others use PSPad and what they have come up with.
The aim is to basically creating an Best-Of that Jan could include in the official PSPad installer.
This is how I use PSPad up to now:
I would like to know how you use PSPad. And what do you use 'around' PSPad to work with AHK.
Edit 4/6: Happy Easter
I received the files of three PSPad users. Here are my analysis results and comments. Please post if you want to add comments or critize
Who of you is using PSPad as their editor for AHK? Please post so that we can get in contact.
I would like to improve the integration of AHK in PSPad. Jan Fiala (author of PSPad) agreed to support.
But instead of doing all by myself I wanted first to see how others use PSPad and what they have come up with.
The aim is to basically creating an Best-Of that Jan could include in the official PSPad installer.
This is how I use PSPad up to now:
- recently upgraded to PSPad 4.6.0
- use Compiler setting to run AHK scripts (like my old installer for PSPad used to set it up)
- use External Program Settings to compile scripts
- to use different AHK Versions I have a separate external AHK script, that exchanges the AHK files
- for Debugging I use mostly MsgBox. Yesterday I used for the first time XDebugClient
- the DEF und INI files (context & syntax) for AKH are pretty old (from the days of my old installer) and do not contain yet the latest functions/keywords of AHK yet.
I would like to know how you use PSPad. And what do you use 'around' PSPad to work with AHK.
Edit 4/6: Happy Easter
I received the files of three PSPad users. Here are my analysis results and comments. Please post if you want to add comments or critize
Code: Select all
.\PSPad.ini or C:\Users\%user%\AppData\Roaming\PSpad\PSPad.ini
property | toralf | user1 | user2 | Comment
| | | |
Filter |*.ahk |*.ahk;*.ahkl; |*.ahk |shouldn't harm to extend, even *.ahk2 possible
| | *.ahkla;*.ahkl64| |
| | | |
(Un)IndentChar |*none* |{} |*none* |already set in Syntax, no need to be done here
| | | |
Syntax Color | | | |personal choice
| | | |
Compiler Setting|Run AHK with Log|*none* |AHK2EXE |this should Run AHK, because of the LOG Parser
| | | |Could be a script that provides options,
| | | | e.g. which version, or even to compile
| | | |
External Tools 1|Compile with log|*none* |Run with AHK |Could be a single script that provides options,
2|Debug with XDC | |Run with RunA32 | e.g.
3| | |Run with RunU32 | - compile or debug
4| | |Run with RunV2 | - which version to use (lists all available)
5| | |Run with RunAHK_Test|
Code: Select all
.\Context\Autohotkey.def
files from all other users were completely identical to PSPad file
property | PSPad | toralf | Comment
| | |
Macro definition |basic definitions |some directives modified |adds some flexibility to clips
|for directives |additional directive definitions |see interactice clips below
|and some basic parameters|additional basic parameters |
| |additional GUI macro definitions |
| | |
PSPad Hotkeys |Resolve |added Quote |nice shortcuts could be expended
for "Selection" |Hotkey |modified Hotkey |
see after ]* |HotString |modified Hostring |
|BlockComment |no BlockComment |instead "Shift+Ctrl+A" can be used
| |added Subroutine |
| |added Function |
| |added OutputDebug |
| | |
Clips/snippets |Commands and Functions |removed optional [] |needs double check with current lists
for "Commands and|with parameter |added missing commands and functions|
Functions"| |fixed some typos |
(Ctrl+Space) | |added loop vars to loop clips |
| | |
Interactive clips|Directives |added missing directives |"flexible" clips
(Ctrl+Space) | |additional GUI macro definitions |but is sometimes not very intuitive
| | |don't know how often really used
| | |
Keywords |typically all the words |added missing words |needs double check with current lists
for | from the file |added Owner# and Choose# for |
"Auto-completion"|.\Syntax\Autohotkey.ini | # from 1 to 99 |
(Ctrl+J) | |added Limit# for |
| | # from 1 to 9 |
Code: Select all
.\Syntax\Autohotkey.ini
files from two users were completely identical to PSPad file
property | toralf | user1 | Comment
| |in addition to toralfs changes|
| | |
Settings |changed: |more file extensions |
|(Un)IndentChar | |
|TabWidth=2 |TabWidth=0 |
|KeyWordChars | |
| | |
|removed: | |
|SingleQuote | |
| | |
|added: |not present: |
|DocComment |DocComment |
| | |
Keywords |added missing keywords | |needs double check with current lists
"Commands and| | |
Functions"|removed duplicates | |
| | |
|removed: |re-added: |
|EndRepeat (AutoIt) |EndRepeat |should be deleted, only for AutoIt
|HideAutoItWin (AutoIt) | |
|Label (not a keyword) | |
| | |
ReservedWords|added Owner# and Choose#|additonal: |needs double check with current lists
"Parameters" | for# from 1 to 99 |DPIScale |
|added Limit# for |REG_DWORD_BIG_ENDIAN |some A_LoopRegType values missing
| # from 1 to 9 |REG_FULL_RESOURCE_DESCRIPTOR |add A_LoopRegKey values?
| |REG_LINK |
| |REG_QWORD |
| |REG_RESOURCE_LIST |
| |REG_RESOURCE_REQUIREMENTS_LIST|
| |wp |add hp?
| | |
| |not present: |
| |FloatFast |should be in file
| |IntegerFast |
| | |
Keywords2 |added missing keywords |additonal: |needs double check with current lists
"Variables" | |A_IsUnicode |
| |A_PtrSize |
| |A_ScreenDPI |
| | |
Keywords3 |added missing keywords | |needs double check with current lists
"Keys" | | |
|removed: | |
|key descriptions | |
| in {} brackets | |
|shortcuts for | |
| key modifiers |re-added: |
|Browser_Back |Browser_Back |should be in file
|Browser_Favorites |Browser_Favorites |
|Browser_Forward |Browser_Forward |
|Browser_Home |Browser_Home |
|Browser_Refresh |Browser_Refresh |
|Browser_Search |Browser_Search |
|Browser_Stop |Browser_Stop |
|Launch_App1 |Launch_App1 |
|Launch_App2 |Launch_App2 |
|Launch_Mail |Launch_Mail |
|Launch_Media |Launch_Media |
|Media_Next |Media_Next |
|Media_Play_Pause |Media_Play_Pause |
|Media_Prev |Media_Prev |
|Media_Stop |Media_Stop |
|Volume_Down |Volume_Down |
|Volume_Mute |Volume_Mute |
|Volume_Up |Volume_Up |