Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win.previewFile(path[, displayName]) #8643

Closed
elhachmi opened this issue Feb 9, 2017 · 3 comments
Closed

win.previewFile(path[, displayName]) #8643

elhachmi opened this issue Feb 9, 2017 · 3 comments

Comments

@elhachmi
Copy link

elhachmi commented Feb 9, 2017

  • Electron version: 1.5.0
  • Operating system: OSX 10.11.6

win.previewFile(path[, displayName])

You have introduced this function to support mac quicklook, but no reel documentation how to use it! with native mac app you must develop a quicklook plugin but with this function what must we do. Call it when a event is fired or what exactly?

@MarshallOfSound
Copy link
Member

@elhachmi I think there's a bit of confusion here

win.previewFile is used to launch quicklook on a given file, not provide a quicklook plugin from your application. I.e. Calling previewFile on a path will result in the quicklook window being opened for that path

Let me know if I've misunderstood what you mean

@elhachmi
Copy link
Author

elhachmi commented Feb 10, 2017

Yes I understand now, I was looking for a solution for providing a quick look to files associated to my app with electron, but I think that is not possible. By the way, can you recommande a simple solution to do that?

@kevinsawicki
Copy link
Contributor

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

No branches or pull requests

4 participants