Quicklook a file in the finder

Hi all,

Is there a way to simulate the user selecting a file in the finder and hitting the space bar to reveal the quicklook window? Maybe via a declare? I’ve used a shell to call ‘qlmanage’ but the window that appears doesn’t have the same functionality of a file quicklook’ed in the finder.

Regards,
Dave.

You can use QLPreviewPanelMBS class in MBS Xojo Plugins for this.

Some examples using this class:

1 Like

Many thanks Christian!