Tool Trigger Replace FileViewer

Working on new editor enhancements?
User avatar
HeX0R
Addict
Addict
Posts: 973
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Tool Trigger Replace FileViewer

Post by HeX0R »

I'm not sure how this tool-trigger works?!
I selected "Replace FileViewer - Special File" and set "supported File extensions" to xml.

It doesn't matter, if I just open a xml file, or doubleclick on the internal "explorer tool" on a xml file, it will always be displayed as raw text in the editor and the tool will not be triggered.
What am I doing wrong here?
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Tool Trigger Replace FileViewer

Post by Bisonte »

maybe the extension : you have only to write

xml

with no points or other characters.....
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
HeX0R
Addict
Addict
Posts: 973
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Tool Trigger Replace FileViewer

Post by HeX0R »

Does this work for you, or are you just guessing?
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: Tool Trigger Replace FileViewer

Post by chi »

The only way I was able to trigger the executable -> Tools / File Viewer / Open File / ...xml
Everything else doesn't work (anymore?)...
Et cetera is my worst enemy
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Tool Trigger Replace FileViewer

Post by Bisonte »

HeX0R wrote:Does this work for you, or are you just guessing?
Image

This works for me (Windows)
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
HeX0R
Addict
Addict
Posts: 973
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Tool Trigger Replace FileViewer

Post by HeX0R »

chi wrote:The only way I was able to trigger the executable -> Tools / File Viewer / Open File / ...xml
Everything else doesn't work (anymore?)...
Yes, this seems to be the only way, I hope this is not the "usual" way?
Why not trigger it, when just doing a file/open...?
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: Tool Trigger Replace FileViewer

Post by chi »

HeX0R wrote:Why not trigger it, when just doing a file/open...?
Would be beneficial for sure ^^
Et cetera is my worst enemy
Post Reply