Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Add Clipboard api #44

Open
ishu3101 opened this issue Mar 25, 2016 · 5 comments
Open

Add Clipboard api #44

ishu3101 opened this issue Mar 25, 2016 · 5 comments
Milestone

Comments

@ishu3101
Copy link

Add an api to send and receive items from the clipboard. Also, an api to insert text into front most application like in Alfred

@Braunson
Copy link
Contributor

@ishu3101 This is already available.. check the Electron docs here https://github.com/atom/electron/blob/master/docs/api/clipboard.md

@wilt00
Copy link

wilt00 commented Mar 26, 2016

@Braunson That doesn't seem to work, though. Adding const clipboard = require('electron').clipboard; results in Error: Cannot find module 'electron' in the log.

@appetizermonster
Copy link
Collaborator

require('electron") might not work, because plugins are running on separated node process (for responsibility).
I agree that Clipboard API will be useful.

@appetizermonster
Copy link
Collaborator

Finally, i made it using electron api 1367069

@notatestuser
Copy link
Contributor

@appetizermonster was this resolved?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants