Preview won't see particular text files.

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
john3774
Posts: 28
Joined: 27 Aug 2010 16:54

Preview won't see particular text files.

Post by john3774 »

I have two text files created by another program. XYPlorer will preview one of them, but not the other. Is there any mechanism to figure out why the Preview is not working for one file?

Observations:
1. XY thinks both are type: "Text Document".
2. If I go to DOS and do: type "filename" , then both files appear correctly, as far as I can tell.
3. If I doubleclick on both files, they open in my Text editor and look ok.
4. Both files are less than 4K in lenght.
5. The writing program is closed, so there should not be some file locking problem.

Thanks for your time.
Best regards,
John

highend
Posts: 14582
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Preview won't see particular text files.

Post by highend »

Does any of these commands do not show the content of one of the files (select the first file, run those 3 commands one by one, select the second file, again, run the 3 commands)?

Code: Select all

text extracttext(<curitem>, , 1); //auto-bitness; suppress IFilter errors
text extracttext(<curitem>, 32, 1); //32-bit; suppress IFilter errors
text extracttext(<curitem>, 64, 1); //64-bit; suppress IFilter errors
Not previewed where, in the preview pane and / or the preview tab in the info panel?

Any message in one of those panes with the file that is not displayed?
One of my scripts helped you out? Please donate via Paypal

Post Reply