microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.35k stars 6.55k forks source link

Peek command line support #26712

Closed vemundha closed 3 months ago

vemundha commented 1 year ago

Description of the new feature / enhancement

The new peek tool is super NICE! Im looking for any documentation on how to use the tool form the command line. Or from other apps then Windows Explorer. Like x2 explorer (to preview files). I found the exe here C:\Program Files\PowerToys\modules\Peek\PowerToys.Peek.UI.exe. And tested with .\PowerToys.Peek.UI.exe C:\temp\test.pdf => but it don't work hmm..

Scenario when this would be used?

Preview files in x2 and all other apps. Or trigger preview from command line.

Supporting information

Please add this feature or documentation of it's already supported ;) @SamChaps

Nicofisi commented 1 year ago

Also very interested to know :)

micceo commented 1 year ago

Me too! Running PowerToys.Peek.UI.exe with a file as argument looks like it spawns a new process but there is no window.

TishSerg commented 9 months ago

I want to use Peek as an external viewer in Total Commander.

atmomomo commented 8 months ago

I second this idea. 👏

jordantrizz commented 6 months ago

Also looking for the same, specifically to set it as the default .pdf viewer!

m1l commented 6 months ago

A few people asked me to integrate it with OneCommander file manager. While the command-line option would be OK-ish, please consider a more direct way. Seer Preview has a very easy way to integrate so maybe get inspiration from them.

jordantrizz commented 6 months ago

A few people asked me to integrate it with OneCommander file manager. While the command-line option would be OK-ish, please consider a more direct way. Seer Preview has a very easy way to integrate so maybe get inspiration from them.

How does Seer Preview compare to Peek?

crutkas commented 3 months ago

/dup 26422

crutkas commented 3 months ago

/dup #26422

microsoft-github-policy-service[bot] commented 3 months ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!