Floating Preview to Portable File Associations

Features wanted...
Post Reply
Anselma
Posts: 78
Joined: 17 Jan 2012 07:31

Floating Preview to Portable File Associations

Post by Anselma »

Hi,

As the title suggests, I am longing flawless integration between FP and PFA.

The script found here http://www.xyplorer.com/xyfc/viewtopic. ... ng+preview
does not work with the "Open favorite files directly" option. If an image is added to Favorite list, that image will still open in default program, namely [in my case is] Windows Photo Viewer and not FP because that image is not actually selected. So, I must go to the List where the image resides and click it eventually. Impractical!

I used to read Don had plan to introduce a new script about FP on some topic. I second the motion.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Floating Preview to Portable File Associations

Post by admin »

FP can only show the selected file. So it cannot work the way you want.

You can, however, define your PFA like this, and it will first go to the file and then show it in PFA:

Code: Select all

"XYplorer Floating Preview Go and Show" bmp;jpg;jpeg;gif;png>goto <pfaitem>; #178;

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Floating Preview to Portable File Associations

Post by LittleBiG »

admin wrote:FP can only show the selected file. So it cannot work the way you want.

You can, however, define your PFA like this, and it will first go to the file and then show it in PFA:

Code: Select all

"XYplorer Floating Preview Go and Show" bmp;jpg;jpeg;gif;png>goto <pfaitem>; #178;
Cooooool, I like this.

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Floating Preview to Portable File Associations

Post by Filehero »

LittleBiG wrote:Cooooool, I like this.
Meee toooo.

@Don: :appl:

Anselma
Posts: 78
Joined: 17 Jan 2012 07:31

Re: Floating Preview to Portable File Associations

Post by Anselma »

admin wrote:FP can only show the selected file. So it cannot work the way you want.

You can, however, define your PFA like this, and it will first go to the file and then show it in PFA:

Code: Select all

"XYplorer Floating Preview Go and Show" bmp;jpg;jpeg;gif;png>goto <pfaitem>; #178;
Thanks! That workaround gave me an idea. How 'bout this?

Code: Select all

sel;tab("new");goto <pfaitem>;#178;tab("close");
First it deselect current List item, open the Favorite item in a new tab, FP it, close the tab and return to current tab. All is executed in background so it won't distract current task.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Floating Preview to Portable File Associations

Post by admin »

Perfect! (I did not try it, but if it works it's the solution.)

Post Reply