Page 1 of 1

TextPad 7.50 + 7.51 crashes

Posted: Tue Jun 02, 2015 6:10 pm
by ineuw
Created three simple Tool DOS batch files and now I tried to delete them, as follows: Deleted the first and clicked on apply, then when tried to delete the 2nd - both TP 7.50 and 7.51 versions crash. I kept the original 5.0 XML file before I upgraded TP to 7.51 and a screen capture of the event, and would like to upload it. I also tried to delete it in reverse, starting with 3rd tool but it crashes immediately. [strikeout]In the meantime, I will remove the XML tool entries and see if that works.[/strikeout]

http://pastebin.com/G90yZzsp
http://pastebin.com/ZXPBketk

Uploaded the two xml documents Image

Posted: Wed Jun 03, 2015 7:04 pm
by kengrubb
Just because I'm slow, I'm going to likely ask obvious questions. Too many years of COBOL, although I think it was mostly the DMS-II.

Are you trying to delete the tools via these steps?

Configure
Preferences
Tools
Click on the tool
Click on the Red X

Posted: Wed Jun 03, 2015 9:15 pm
by ineuw
kengrubb wrote:Just because I'm slow, I'm going to likely ask obvious questions. Too many years of COBOL, although I think it was mostly the DMS-II.

Are you trying to delete the tools via these steps?

Configure
Preferences
Tools
Click on the tool
Click on the Red X
Yes, the only way I know how.

Posted: Mon Jul 13, 2015 4:15 pm
by kengrubb
Sorry for not getting back to you sooner. Did you resolve it by deleting the Tool from ConfigState.XML--using an editor other than TextPad, and with TextPad closed.

You may have to "resequence" your other Tools in the XML. If I delete Tool 0, then I would make Tool 1 now Tool 0, Tool 2 now Tool 1, etc.
<Tools>
<0>
<value name="Properties" type="blob">000000005A80000046000000</value>
<value name="MenuText" type="string">Beyond Compare Queue</value>
<value name="Command" type="string">C:\Users\grub235\AppData\Roaming\Helios\TextPad\7\Tools\BeyondCompareQueue.cmd</value>
<value name="Parameters" type="string">$File</value>
<value name="Folder" type="string">$FileDir</value>
<value name="RE" type="string"/>
</0>
<1>
<value name="Properties" type="blob">000000005E80000046000000</value>
<value name="MenuText" type="string">Copy File to Workspace</value>
<value name="Command" type="string">C:\Users\grub235\AppData\Roaming\Helios\TextPad\7\Tools\CopyFileToWorkspace.cmd</value>
<value name="Parameters" type="string">$WspBaseName $File</value>
<value name="Folder" type="string">$FileDir</value>
<value name="RE" type="string"/>
</1>

Posted: Mon Jul 13, 2015 4:38 pm
by ineuw
kengrubb wrote:Sorry for not getting back to you sooner. Did you resolve it by deleting the Tool from ConfigState.XML--using an editor other than TextPad, and with TextPad closed.
Thanks for the reply. It is welcome anytime you got around to it. I corrected the problem the only way I knew at the time, - by reinstalling a fresh copy and recreating my preferences from scratch (because I know them by heart). When it came to defining the external tools - I was very careful and it works fine. (but will keep your code for future reference.)

More importantly - the three external tool I defined, call Textpad to open three different documents. This was the only way to get around the problem of disabled features when all documents are closed and the TP shell is still open. Previously, I used macros attached to the toolbar to open these documents, but macros do not function in the TP shell without an open document.

If this could be rectified, this would further extend macro capabilities. I say this because some of my macros were relegated to AutoHotkey and this created a whole new set of problems - about which I will be posting here shortly.

Posted: Wed Jul 15, 2015 7:27 pm
by kengrubb
It pays to back up ConfigState.xml and GUIState.xml from time to time--particularly after making a lot of changes.

Posted: Wed Jul 15, 2015 7:49 pm
by ineuw
kengrubb wrote:It pays to back up ConfigState.xml and GUIState.xml from time to time--particularly after making a lot of changes.
Got it, thanks.