Requested: Ideas for new scripts
-
highend
- Posts: 14946
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Requested: Ideas for new scripts
Hi,
I'm a bit bored atm...
Is there anything that fit's into the general XYplorer style of functions but isn't implemented yet (but can be done through scripting)?
I'm looking for something that could be fun to create.
Wishes / expectations?
I'm a bit bored atm...
Is there anything that fit's into the general XYplorer style of functions but isn't implemented yet (but can be done through scripting)?
I'm looking for something that could be fun to create.
Wishes / expectations?
One of my scripts helped you out? Please donate via Paypal
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Requested: Ideas for new scripts
http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=5528
Script Request - Remissive Index Builder - Report Tool
Script Request - Remissive Index Builder - Report Tool
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Requested: Ideas for new scripts
Uh, this very morning I was thinking "XYplorer should be the thing that will help me with a particular task, but I don't have time to code..."
I'd like to "verify" a backup I perform with another utility. I'm particularly interested in the case of the filenames and the attributes. Something that takes in input a source folder, a destination folder, and then performs recursively those checks.
I'd like to "verify" a backup I perform with another utility. I'm particularly interested in the case of the filenames and the attributes. Something that takes in input a source folder, a destination folder, and then performs recursively those checks.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Slavaon
- Posts: 158
- Joined: 29 Mar 2012 07:35
Re: Requested: Ideas for new scripts
Perhaps it will be useful and interesting. Archive with thumbnails and descriptions.highend wrote: Is there anything that fit's into the general XYplorer style of functions but isn't implemented yet (but can be done through scripting)?
I'm looking for something that could be fun to create.
Convenient to keep old files in the archives, but there is a drawback to this method - poor visual perception and search for the content.
I suggest to make our archives which were more convenient for work, search and indexation.
Most often, information is sought in two ways - to browse the directory (on the cover and title), or any local search.
In this way, each file should / want / must provide a description - pictures, and text.
Well suited for this standard image files - jpg. It is possible to introduce a comment - the necessary textual information.
The concept:
a) Combine image files .Jpg to .Rar archives
b) In the files .Jpg add the necessary information.
1. Archiving your files
Better to use WinRar. Then a bit of advertising the application
2. Attach a picture illustrating the contents of the archive command (Save as .bat file):
Code: Select all
@echo off
if /I %~x1==%~x2 exit
if /I %~x1 NEQ .jpg (if /I %~x2 NEQ .jpg exit)
if /I %~x1 NEQ .rar (if /I %~x2 NEQ .rar exit)
if /I %~x1==.jpg (
copy /b %1+ %2 "%~d1%~p1%~n1 rarjpg.jpg"
) else (
copy /b %2+%1 "%~d2%~p2%~n2 rarjpg.jpg")3. Add a description, which will be available for indexing by search engines, and file info tips.
You can use IrfanView: Image\information\IPTC info\Caption...
Obtain the file, which can be edited with an illustration and description.
Example image, save and open in WinRar or 7z: http://www.mediafire.com/view/?0l0qg8ghb9w8012
All this can be done by hand, but it is better to automate. If you are interested and have the opportunity to write a script.
P.S. My English is not very good, but I hope to have written clearly.
-
kunkel321
- Posts: 664
- Joined: 10 Jun 2012 03:45
- Location: Near Seattle
Re: Requested: Ideas for new scripts
How about a script that will search my computer for commonly-used file types and their corresponding applications, then smartly make Portable File Associations for my "Open With" toolbar button....
(I don't even know if this is possible.)

(I don't even know if this is possible.)
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
-
admin
- Site Admin
- Posts: 66304
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Requested: Ideas for new scripts
Another idea: Scan a branch for descript.ion files and import them into XY's tag.dat.
FAQ | XY News RSS | XY X
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Requested: Ideas for new scripts
What do such files contain? How are they structured?admin wrote:Another idea: Scan a branch for descript.ion files and import them into XY's tag.dat.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
admin
- Site Admin
- Posts: 66304
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Requested: Ideas for new scripts
Well, this is part of the task.Marco wrote:What do such files contain? How are they structured?admin wrote:Another idea: Scan a branch for descript.ion files and import them into XY's tag.dat.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66304
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Requested: Ideas for new scripts
Found something: http://jpsoft.com/ascii/descfile.txt
FAQ | XY News RSS | XY X
-
highend
- Posts: 14946
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Requested: Ideas for new scripts
My PM ist stuck in the outbox folder...
@Don
Can you explain the format of the entries in the tag.dat file?
What does the <number> mean, can it be different from zero? If so, in which cases?
What do the four | at the end of the line stand for, the end of a one line tag description?
Are they fixed (or can they contain anything between them)... Etc.
Anything else worth to mention (apart from the fact, that the lines and the tags are sorted
ascending)?
If I didn't misinterpret anything, the script is nearly ready.
It searches for descript.ion files in a user selectable path and converts all comments to XY tags.
Should it write them to the tag.dat file automatically or save them as a new.txt file, open it and let
the user do it?
What it doesn't do: It doesn't compare all found TC comments with already existing (file) entries
in the tag.dat file. Too time consuming if you have thousends (or more) files commented. At least
I haven't found a really good way to speed that process up enough...
@Don
Can you explain the format of the entries in the tag.dat file?
<filename with path>|<number>|<tag1>, <tag2>, <tag x>||||C:\Temp\hallo.txt|0|"Mit Anführungszeichen", Hallo, Neue Zeile!, Red Yellow||||
What does the <number> mean, can it be different from zero? If so, in which cases?
What do the four | at the end of the line stand for, the end of a one line tag description?
Are they fixed (or can they contain anything between them)... Etc.
Anything else worth to mention (apart from the fact, that the lines and the tags are sorted
ascending)?
If I didn't misinterpret anything, the script is nearly ready.
It searches for descript.ion files in a user selectable path and converts all comments to XY tags.
Should it write them to the tag.dat file automatically or save them as a new.txt file, open it and let
the user do it?
What it doesn't do: It doesn't compare all found TC comments with already existing (file) entries
in the tag.dat file. Too time consuming if you have thousends (or more) files commented. At least
I haven't found a really good way to speed that process up enough...
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66304
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Requested: Ideas for new scripts
XY Help File:

ATM I'm not sure how XY would handle dupes in tag.dat and no time to check. Can't you make an experiment to find out?The Database: tag.dat
All tag data are retained across sessions and stored in one file, tag.dat, located in the application data folder. The file is kept in an open, simple, and human-friendly text format (UTF-16 Text File) so that you can easily edit it manually using an editor or programmatically using any scriptable software.
File Format of the XYplorer Tag Database (version 2)
Line 1: Header and version info: XYplorer File Tags v2
Line 2: Label schemes, separated by ";". Each scheme: Name|TextColor|BackColor. Colors are in RRGGBB.
Line 3: (reserved)
Line 4: Tagged item #1: Full filename|LabelID|Tags|reserved1|reserved2|reserved3|Comment.
Line 5: Tagged item #2: ... etc. ...
In case you edit tag.dat manually...
Sort Order. The tagged item lines must be in binary ascending sort order (A < B ... < a < b ...). If you manually edit tag.dat and are unsure about the correctness of the sort order, you can have the data sorted by using "Database Clean Up..." in Configuration | Tags.
Capitalization matters. You must care for the right capitalization of the file names. Reason: For better performance, the comparisons are done by byte, not by character.
Hm, not sure. I'd say add them to tag.dat. Or let the user choose.It searches for descript.ion files in a user selectable path and converts all comments to XY tags.
Should it write them to the tag.dat file automatically or save them as a new.txt file, open it and let
the user do it?
FAQ | XY News RSS | XY X
-
jjk
- Posts: 202
- Joined: 10 Oct 2007 20:11
- Location: Paris
Re: Requested: Ideas for new scripts
Support ++admin wrote:Another idea: Scan a branch for descript.ion files and import them into XY's tag.dat.
It would be part of XY, not only by scripting.
-
highend
- Posts: 14946
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Requested: Ideas for new scripts
The thread for importing descript.ion files from Total Commander can be found here: http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9145
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club