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

Add proper Quick Look support #115

Closed
skurfer opened this issue Jul 16, 2010 · 4 comments
Closed

Add proper Quick Look support #115

skurfer opened this issue Jul 16, 2010 · 4 comments
Milestone

Comments

@skurfer
Copy link
Member

@skurfer skurfer commented Jul 16, 2010

It would be nice if you could select a file in the first pane, then use the same keystrokes as Finder (spacebar or ⌘Y) to bring up a Quick Look preview. I realize that spacebar can already be assigned to a number of optional behaviors in Quicksilver, so I propose the following:

  • Make ⌘Y activate Quick Look for all users.
  • Add “Quick Look” as a choice on the drop-down for spacebar behavior.
  • Once the Quick Look window is open, the user should be able to dismiss it with spacebar or ⌘Y (and probably ⎋).

There is an AppleScript action out there, but that requires tabbing to the second pane and locating the action and then the resulting window can only be dismissed by using the mouse to click the tiny X in the corner.

@pjrobertson
Copy link
Member

@pjrobertson pjrobertson commented Mar 20, 2011

Had a quick look into this today, but ran out of time. Here's what I found:

The API was only made public in 10.6, so it'd be 10.6+ only (unless you want to go tinkering with private APIs).

Needs to #import the Quartz framework. That's where Quicklook's stuff is stored.
From there in it's all to do with 'QLPreviewPanel'

Some good references:
http://development.christopherdrum.com/blog/?p=109

And the Apple App 'QuickLookDownloader' in the documentation.

Would be easy to incorporate as an action - just add some stuff to the CorePlugin.plist (would assume it'd go there), and the action.name.strings files.

⌘Y support would also presumably be quite easy to add. Just an extension of QS's current ⌘Q, ⌘G etc. commands. Didn't look where these are made though

@pjrobertson
Copy link
Member

@pjrobertson pjrobertson commented Apr 13, 2011

Also reported in Bug #23
More information available there

@pjrobertson
Copy link
Member

@pjrobertson pjrobertson commented Feb 23, 2012

Released in: ß66 pre-release 23/02/12

@skurfer
Copy link
Member Author

@skurfer skurfer commented Feb 23, 2012

Awesome!

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

2 participants