markdwags / Razor

Razor is a free tool designed to help with simple tasks while playing Ultima Online.
https://www.razorce.com
GNU General Public License v3.0
134 stars 90 forks source link

[Enhancement] Assistant.Macros.HotKeyAction #207

Open DemonRok opened 1 year ago

DemonRok commented 1 year ago

After last commit, isn't possible to record any HotKeyAction.

markdwags commented 1 year ago

I'm not able to reproduce. What I tried:

New macro Click record Go to Hot Keys tab Select random hot key (I picked All Names) Go back to Macros tab and saw recorded hotkeyaction Assistant.Macros.HotKeyAction|1372|

DemonRok commented 1 year ago

I left out how. before it was enough to press the hotkey previously set, without moving to the hotkey tab.

As you described it works.

markdwags commented 1 year ago

I tried that as well.

DemonRok commented 1 year ago

I found the difficulty... Me too, no problem with standard HotKey. The problem arises when another script is assigned to the hotkey. There is no possibility to stop the recording as the script assigned to the hotkey is executed. If, with little patience, you change tab, the recording is empty. On the other hand, if you wait about 30 seconds without changing tab, the recording remains. As a workaround, it could be made that during recording the selected hotkey does not execute the assigned action or script, so it does not block the possibility of stopping the recording.

DemonRok commented 1 year ago

I think it's time to change this from bug to enhancement