5,003
edits
(Created doc) |
m (Fix copy to clipboard not working) |
||
Line 7: | Line 7: | ||
}); | }); | ||
let output = ``;results.forEach(alias => output += alias + '\n|-\n');console.log(output); | let output = ``;results.forEach(alias => output += alias + '\n|-\n');console.log(output); | ||
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set( | self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(output, 'text') : copy(output); | ||
</syntaxhighlight> | </syntaxhighlight> |