Posted by: mger | Date: 2019-03-06 07:45 | IP: IP Logged
is there any way to recall scripts via right-click menu inside PSPad?
E.g. the possibility to recall comment lines/uncomment lines script directly via right click menu would be a very appreciated feature.
This is my very first post, I checked the FAQ without success
Posted by: pspad | Date: 2019-03-06 09:59 | IP: IP Logged
There is no possibility to Call script with right click, but there is possibility to assign shortcut to script and you can call it with shortcut.
Posted by: mger | Date: 2019-03-06 10:33 | IP: IP Logged
Thank You for reply.
Do You mean keyboard short-cut? Can You please indicate me in which menu I can find the settings? The Program settings->Keymap seems not to be the right place.
Posted by: pspad | Date: 2019-03-06 10:44 | IP: IP Logged
You need to edit script (subfolder script\language)
Find function/sub INIT
There is definition of the menu items.
For ListTransform.vbs you should see something like:
addMenuItem "&1. List of strings","List conversion", "ListString", "Shift+Ctrl+H"
addMenuItem "&2. List of items","List conversion", "ListItems", "Shift+Ctrl+J"
addMenuItem "&3. Line to list","List conversion", "LineToList", "Shift+Ctrl+L"
Menu item, Menu group, function to run, Shortcut
More information is in the help, included with PSPad under "scripting"
Posted by: mger | Date: 2019-03-06 10:55 | IP: IP Logged