How to get list of previewed format?

Discuss and share scripts and script files...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

How to get list of previewed format?

Post by binocular222 »

The .ini only show custom extension such as TextPreviewCustomExtensions; OfficePreviewCustomExtensions
How to get the full list?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: How to get list of previewed format?

Post by admin »

I added this trick yesterday (not yet documented):

Code: Select all

echo get("genericfiletype", "{:Image}", <crlf>);

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: How to get list of previewed format?

Post by binocular222 »

Nice, but should
1) support {:All}
2) return txt instead of *.txt
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: How to get list of previewed format?

Post by admin »

It was just a quickie. No time ATM to develop it further.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How to get list of previewed format?

Post by bdeshi »

admin wrote:(not yet documented)
Makes me want to read new exes with a hex editor/differ/disassembler, just to try and find any such new features. :ugeek:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply