Add new DOS commad:
Parameters:"C:\Program Files\NSIS\makensis.exe" /V4 $FileName
Initial Folder:$FileDir
check: Save All Documents first
check: Capture output
Regex to match output:
^.+in script "(.+)" on line ([0-9]+)[.,]?
Registers:
File 1 Line 2
For the laziest (on your own risk ; ).Change the num of tools also ; )
===================COPY PASTE START
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\13]
"Properties"=hex:01,00,00,00,68,80,00,00,e8,49,00,00
"MenuText"="\"C:\\Program Files\\NSIS\\makensis.exe\" /V4 $FileName"
"Command"="cmd.exe"
"Parameters"="\"C:\\Program Files\\NSIS\\makensis.exe\" /V4 $FileName"
"Folder"="$FileDir"
"RE"="^.+in script \"(.+)\" on line ([0-9]+)[.,]?"