How to open file in pure lister (not using pluding) by default

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
nick58
Junior Member
Junior Member
Posts: 21
Joined: 2013-03-17, 21:55 UTC

How to open file in pure lister (not using pluding) by default

Post by *nick58 »

Hi,
I am installed jsonview wlx plugin for .json files, but i want to view json in pure lister text view by default and switch to plugin only after "4" qill be pressed.
I need this setting only for json files, other plugins should work as is.
Is it possible to achieve this?

User avatar
Dalai
Power Member
Power Member
Posts: 7101
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: How to open file in pure lister (not using pluding) by default

Post by *Dalai »

Yes, this is possible by adding the FORCE keyword to the plugin's detect string. Here's an example from my wincmd. Change this

Code: Select all

23=%COMMANDER_PATH%\plugins\JSONViewer\JSONViewer.wlx
23_detect="MULTIMEDIA & EXT="JSON" & (SIZE<100000)"
to this

Code: Select all

23=%COMMANDER_PATH%\plugins\JSONViewer\JSONViewer.wlx
23_detect="FORCE & (MULTIMEDIA & EXT="JSON" & (SIZE<100000))"
You can use Configuration > Change Settings Files Directly to open the correct wincmd.ini in Notepad.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups

nick58
Junior Member
Junior Member
Posts: 21
Joined: 2013-03-17, 21:55 UTC

Re: How to open file in pure lister (not using pluding) by default

Post by *nick58 »

Thank you very much.

Post Reply