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 » 07 Aug 2015 09:50

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: 47703
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Floating Preview to Portable File Associations

Post by admin » 07 Aug 2015 10:36

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: 1536
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Floating Preview to Portable File Associations

Post by LittleBiG » 07 Aug 2015 11:24

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: 2293
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Floating Preview to Portable File Associations

Post by Filehero » 07 Aug 2015 13:13

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 » 10 Aug 2015 11:01

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: 47703
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Floating Preview to Portable File Associations

Post by admin » 10 Aug 2015 11:25

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

Post Reply