Page 1 of 1

Floating Preview to Portable File Associations

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

Re: Floating Preview to Portable File Associations

Posted: 07 Aug 2015 10:36
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;

Re: Floating Preview to Portable File Associations

Posted: 07 Aug 2015 11:24
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.

Re: Floating Preview to Portable File Associations

Posted: 07 Aug 2015 13:13
by Filehero
LittleBiG wrote:Cooooool, I like this.
Meee toooo.

@Don: :appl:

Re: Floating Preview to Portable File Associations

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

Re: Floating Preview to Portable File Associations

Posted: 10 Aug 2015 11:25
by admin
Perfect! (I did not try it, but if it works it's the solution.)