Re:Yet another tool for making copy/paste/run experience bet...
by noseratio on Friday August 07, 2020 @01:13PM
(#24084248)
Thanks! I've added "Insert Guid" merely as an example of how to bind a custom C# script to a menu item or hotkey:
<hotkey name="InsertGuid" menuItem="Insert &Guid" isScript="true">
<!-- this is an example of a C# scriptlet handler -->
<![CDATA[
await Host.FeedTextAsync(Guid.NewGuid().ToString("B").ToUpper(), Token);
]]>
</hotkey>
<hotkey name="InsertGuid" menuItem="Insert &Guid" isScript="true"> <!-- this is an example of a C# scriptlet handler --> <![CDATA[ await Host.FeedTextAsync(Guid.NewGuid().ToString("B").ToUpper(), Token); ]]> </hotkey>