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.