I’ve used hotkeys with bookmarklet code.
Now with new beta there are folders and bookmarklet code is not generated properly.
It goes as:
javascript:(function() {try {var evt = new CustomEvent(‘kantuRunMacro’, {detail: {name: ‘…/C:\Users\Username\path\kantu\macros\macrofolder\macro.json’,from: ‘bookmark’,storageMode: ‘xfile’,closeKantu: true}});window.dispatchEvent(evt);} catch (e) {alert('Kantu Bookmarklet error: ’ + e.toString());}})();
Doesn’t work. Kantu gives an error that macro is not found.
But if I manually modify it to:
javascript:(function() {try {var evt = new CustomEvent('kantuRunMacro', {detail: {name: '../C:\\Users\\Username\\path\\kantu\\macros\\macrofolder\\macro.json',from: 'bookmark',storageMode: 'xfile',closeKantu: true}});window.dispatchEvent(evt);} catch (e) {alert('Kantu Bookmarklet error: ' + e.toString());}})();
Then it works.
But I’d prefer if you used relative path like: macrofolder/macro.json. BTW I tried and it doesn’t work.