gSender 1.1.7 Macro Shortcut List - Still in 1.4.10 and 1.4.11

gSender 1.1.7
OS=windows 10 22h2

I have created macros that do not appear in the shortcut list. How do I get them onto the shortcuts list?

I have deleted macros from the macros list and they continue to appear in the shortcut list. I can live with this as I can simply turn off the shortcut, but I would prefer to be able to remove them.

These bugs may have been present in previous versions. I’ve only noticed them now.

We’ll take a look, thanks!

This bug should’ve been fixed for a while now so I’ll do some housecleaning and close the topic :slightly_smiling_face:

@chrismakesstuff I re-opened this as it is not fixed. Attached is the .json file showing the current list of macros. Note that there is no macro named kkkk. Attached also is a screencap of the keyboard shortcut list. Note that kkkk is there and there is no way to delete it.

gSender-macros-3_2_2024-2_19_53 PM.json (1.6 KB)

This first screenshot shows that the macro menu window is overlaid by the import/export macro window so that the bottom row of macros cannot be selected. This is likely old news, but since I use a tablet sending keyboard shortcuts to run my macros, I have not noticed it before. I needed to edit the crosshair offset macro and found that I could not access it.

To get around this, I exported the .json file using the export macros button. Here is the file that was exported

gSender-macros-12_7_2024-2_50_33 PM.json (7.3 KB)

You will note in that file that there are many duplicates. In fact, pretty much all of the macros are shown two or three times. Again, I’m assuming this has been like this for some time.

In this case, though, I noticed it. Here is the file that is now loaded, after I exported it, edited the entry for crosshair laser offset and re-imported it.

after import and export.json (15.3 KB)

Again, you will see that all the macros have been duplicated many times, presumably each time that I exported and imported the file. It would appear that the export and import function appends the imported file to the one in place each time it is imported.

Note, in this case though, that the jog values for crosshair laser offset are not the same for each entry of that macro. I assume this is because I edited the file to change these values in notepad. However, when gSender imported the file, it kept the previous values and appended the new ones to the end of the loaded file.

In this graphic, you can see duplicate entries for the crosshair offset macro. In fact, there are several of them - as there are now several for all my macros.

I assume that this is not the expected behaviour for the export and import function. If I am correct, can you please tell me how, after I clean the .json file to remove all the duplicates, I can get it into gSender without gSender duplicating it all again?

edit: I just spent some time to create a new, clean .json from the one shown above. In doing so, I found that each macro was entered in that file 7 or 8 times.

@chrismakesstuff @KGN
Update
I read the release notes for 1.4.11 and I took from them that this issue was resolved. It is not. I’ve installed 1.4.11 and the list of macros in the list showing keyboard shortcuts still contains several instances of each maco in the list show in the macros tab. If the fix in 1.4.11 fixes this only going forward, how can I get rid of the copies in the shortcuts menu?

This is still an issue in 1.4.10. I just figured out how to delete dozens of duplicate macros that were in .sender_rc. They are gone in the macros list , but still in the list available for keyboard shortcuts.

@chrismakesstuff @KGN I give up.
I uninstalled gSender 1.4.10. I renamed .sender_rc to .sender_rc_old. I installed gSender 1.4.11. The multiple instances of macros are still in the macros keyboard shortcut list. I just assumed that a clean install, having renamed .sender_rc would fix this. I figured that I would need to add all my macros to the macros list and re-assign all the keyboard shortcuts. However, clearly the uninstall function in windows is leaving some file that gSender uses.
Next, unless you advise otherwise, I will look in the registry to find any and all instances of sienci and gsender and delete them.

@chrismakesstuff @KGN
I finally removed all the macro occurrences in the keyboard shortcut list. I uninstalled 1.4.11. I renamed .sender_rc. Then, in registry editor, I removed dozens of keys that the uninstall module left on the PC. I installed a clean install of gSender 1.4.11 and all the macros are gone from the keyboard shortcut list.
I have no idea which of the dozens of registry keys that I deleted resolved the problem. Since I did this on my test computer, I assume that the only way to get the same result on my live computer will be to delete the dozens of registry keys on it, too.
Now, I need to re-enter all my macros in the clean install and assign keyboard shortcuts to all of them.
I will mark this issue as solved and close the topic. That said, I would like to suggest that future versions of gSender address this issue.

Just to follow up on this, @gwilki confirmed that the new feature we implemented into gSender 1.5.0 and later is working where it will no longer cause macro duplication issues (as long as you export your macro list on 1.5.0 and later) and also handles keyboard and gamepad shortcuts without any funniness.

Hooray!