How would I get my clipboard's text? So if I have "Hello" copied, how would I retrieve that via node
我如何获得剪贴板的文字?所以,如果我复制了“Hello”,我将如何通过节点检索它
1 个解决方案
#1
0
Found it for windows 10, https://github.com/sindresorhus/clipboardy
找到它为Windows 10,https://github.com/sindresorhus/clipboardy
their example of usage
他们的用法示例
const clipboardy = require('clipboardy');
clipboardy.writeSync('????');
clipboardy.readSync();
//=> '????'
#1
0
Found it for windows 10, https://github.com/sindresorhus/clipboardy
找到它为Windows 10,https://github.com/sindresorhus/clipboardy
their example of usage
他们的用法示例
const clipboardy = require('clipboardy');
clipboardy.writeSync('????');
clipboardy.readSync();
//=> '????'