Can't record a macro
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Can't record a macro
I have TextPad 5.2.0 and I'm trying to record a macro. Normally I would do this by going to the Macro menu and selecting "Start recording", but I don't see that option. I only see "Stop recording". I thought that maybe I had picked the start command by accident, so I selected "Stop recording", and then opened the menu again, and it is still there. How can I get the "Start recording" command back?
The macro system still works normally...
The macro system still works normally. the label on the menu itsm is just wrong half the time. When you first pop up the macro menu, the item says, "Stop Recording" but if you click on it, you will be recording.
When you go to stop recording, the menu label is right. ie, it still says "Stop Recording" .
This is a very confusing bug that hopefully will be addressed by the next version, but it doesn't adversely impact functionality.
When you go to stop recording, the menu label is right. ie, it still says "Stop Recording" .
This is a very confusing bug that hopefully will be addressed by the next version, but it doesn't adversely impact functionality.
Phillip H. Blanton
Radwarrior.com
Radwarrior.com
Macro menu
No, but I edited it and changed "Stop Recording" to "Record" and it works right now. I was just telling the earlier poster that he didn't actually need to delete the config file, because the functionality wasn't impacted by the incorrect menu string.
For what it's worth, here is my edit to the config file. The magic part is Caption="Record"...
<?xml version="1.0" encoding="UTF-8"?>
<GUI CompactMode="1">
<NormalLayout>
<CommandBars>
<CommandBars>
... snip ...
<CommandBar Class="CXTPPopupBar" Type="2" Position="5" BarID="16777231" Style="4194304" Title="Macros">
<Controls>
<Control Class="CGUICmdMenu" Id="33104" Caption="Record" ShortcutText="Ctrl+Shift+R" TooltipText="Record or stop recording a keystroke macro" DescriptionText="Record or stop recording a keystroke macro"/>
... snip ...
</Controls>
</CommandBar>
... snip ...
</CommandBars>
</CommandBars>
</NormalLayout>
</GUI>
For what it's worth, here is my edit to the config file. The magic part is Caption="Record"...
<?xml version="1.0" encoding="UTF-8"?>
<GUI CompactMode="1">
<NormalLayout>
<CommandBars>
<CommandBars>
... snip ...
<CommandBar Class="CXTPPopupBar" Type="2" Position="5" BarID="16777231" Style="4194304" Title="Macros">
<Controls>
<Control Class="CGUICmdMenu" Id="33104" Caption="Record" ShortcutText="Ctrl+Shift+R" TooltipText="Record or stop recording a keystroke macro" DescriptionText="Record or stop recording a keystroke macro"/>
... snip ...
</Controls>
</CommandBar>
... snip ...
</CommandBars>
</CommandBars>
</NormalLayout>
</GUI>
Phillip H. Blanton
Radwarrior.com
Radwarrior.com
-
- Posts: 18
- Joined: Sun Feb 15, 2009 12:50 pm
Re: Macro menu
To just add to this thread, I have encountered the same issue, and the behaviour IS related to closing TextPad whilst recording, as suggested by Helios above. Consequently, even with the .config renaming that you suggest here, this will also be lost in just the same way if you do the same again and close while recording.pblanton wrote:No, but I edited it and changed "Stop Recording" to "Record" and it works right now.
I guess what is needed - since obviously the macro recording is stopped when the program is closed - is for the config write to disk on closing to always write back the 'start' state, rather than writing back the 'current' state. Writing back a state that indicates the recorder is recording when it won't be the next time TextPad loads is a logic error in the config routines leading to a potentially inconsistent start up, as in this instance. A bug, really.