XY scripts Library - Discussion, Questions and etc.

Discuss and share scripts and script files...
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

Open discussion regarding XY scripts Library.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

As a remark (501th post!), I'd like to say "thank you!" to all scripters who contributed for the entire XY sake and to me personally.
To name a few of them which often you'll stumble upon when scrolling the XY Scripts Library:

Jacky
Muroph
Serendipity
Stefan
TheQwerty
zer0

...keep the XY-voodoo magic [x] Always ON!

Code: Select all

::msg "Thank you very much, guys!"
[/size][/b]
:mrgreen:
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

...Finally finished!
Included a .txt containing all FILE NAMES plus sizes (not the scripts themselves!) for this part 1 of XYLib.
Will require more work, waiting for a function that is already included in the next build of Data Mining Tool as I've been told and probably another one for the renaming part of the to-do stuff.
Now, some offline activities and be back with... MORE!
To see the attached files, you need to log into the forum.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

XYwiki is down for a few days now.
Since it happens, later I'll try to retrieve some backups and make XYwiki scripts available in a proper section, allowing users to have access to such content locally.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

Here it goes:
XYwiki Scripts Library Placeholder.
All I was able to gather - personal backups, data mining and even Google cache.
*will exclude when XYwiki is back*

Contents:

Code: Select all

(43 items)
GoogleCache_Library_About_QuickGoTo_search.htm
GoogleCache_Library_About_Selections_search.htm
GoogleCache_Library_Main_search.htm
=============================
Batch New Items.xys
Batch New Items_RECOVERED.xys
C4.xys
CollectItems.xys
CollectItems_28_97.xys
CollectItems_29_87.xys
common-jacky.xys
common-jacky_18_52.xys
common-jacky_18_53.xys
common-jacky_18_54.xys
common-jacky_Retrieved.xys
CopyHereFrom.xys
CountMove.xys
ExtractMovie.xys
ExtractMovie_19_59.xys
ExtractMovie_19_60.xys
ExtractMovie_19_63.xys
ExtractMovie_Retrieved.xys
ForEachItem.xys
Loop Through Selected Items.xys
MiniTree.xys
MiniTrees_17_62.xys
Multi-Item Rename.xys
Select.xys
SelectEveryX_thLineAndMore.xys
VirtualCopy_Older_ForEachItem.xys
XYplorer Automatic Updater.xys
XYplorer Automatic Updater_16_34.xys
XYplorer Automatic Updater_16_37.xys
XYplorer Automatic Updater_16_39.xys
XYplorer Automatic Updater_16_44.xys
XYplorer Automatic Updater_16_97.xys
=============================
_MultiWebSearch.xysNOTFOUND
_QuickFileEdit.xysNOTFOUND
_QuickGoTo.xysNOTFOUND
_ReportHTML.xysNOTFOUND
_Selections.xysNOTFOUND
SkyFrontier out.
To see the attached files, you need to log into the forum.
Last edited by SkyFrontier on 05 Sep 2010 04:42, edited 1 time in total.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

...and please, if you have a backup of the following scripts, can you share it with us?

Code: Select all

MultiWebSearch

Selections
Thank you!

EDIT: Managed to retrieve the following:
Quick File Edit
QuickGoTo
ReportHTML (I guess... See next posts :arrow: )
Last edited by SkyFrontier on 05 Sep 2010 17:35, edited 1 time in total.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

xyWIKI Retrieved scripts:
QuickGoTo.

QuickFileEdit.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

(I guess this is what ReportHTML was all about... if someone can please confirm...)

Code: Select all

  Generate An HTML Listing Of The Current Folder

Here's an easy way to generate an HTML listing of the current folder. Here's what you need to do to use it :

1. Copy the following and paste it into a script file, e.g. GenerateReport.xys (Tip: Use Ctrl+Alt+V to Paste Text Into New File)

"Generate Report"
	self $path, path;
	$data = readfile("$path\Report Template.htm");
	strpos $posB, $data, "<!-- BEGIN -->";
	strpos $posE, $data, "<!-- END -->";
	sub ( ( (($posB + $posE) == 0) + ($posB > $posE) ) == 0) ? "_doReport" : "_tplError";
"_tplError"
	self $path, path;
	msg "Unable to find a valid template in $path\Report Template.htm !";
"_doReport"
	self $path, path;
	$data = readfile("$path\Report Template.htm");
	strpos $posB, $data, "<!-- BEGIN -->";
	strpos $posE, $data, "<!-- END -->";
	substr $header, $data, 0, $posB;
	substr $footer, $data, $posE + 12;
	substr $tpl, $data, $posB + 14, $posE - $posB - 14;
	$header = $header, r;
	$footer = $footer, r;
	sortby Name, a;
	sub (writefile("Report.html", report($tpl, 0, $header, $footer))) ? "_rptOk": "_rptError";
"_rptError"
	msg "An error occured while generating the report to <curpath>\Report.html";
"_rptOk"
	load ((confirm("Report generated !<br><curpath>\Report.html<br><br>Do you want to open it with the default browser ?")) ? 'open "<curpath>\Report.html";' : 'incr $void;'),,s;

2. Copy the following ans paste it into a file named Report Template.htm stored in the same folder as the script file above

<html><head><title>File Report For <curpath>\</title>
<style type="text/css">
body { font-family: "tahoma", "arial", "helvetica", "sans-serif"; font-size: 8pt; background-color: #FFFFFF; color: #000000; }
h1 { font-size: 14px; text-align: center; color: #0069DD; font-weight: bold; }
table { border-collapse: collapse; border: 1px solid #000000; background-color: #F6F6F6; }
tr.head { text-align: center; background-color: #E0E011; font-weight: bold; }
tr.zebra { color: #DD6900; }
td { font-family: "tahoma", "arial", "helvetica", "sans-serif"; font-size: 8pt; border: 1px solid #AAAAAA; }
td.center { text-align: center; }
td.right { text-align: right; }
</style></head><body><h1>File Report For <curpath>\</h1><table width="90%" align="center">
<tr class="head"><td rowspan=2 nowrap="nowrap">Name</td><td colspan=2 nowrap="nowrap">Size</td><td rowspan=2 nowrap="nowrap">Created</td><td rowspan=2 nowrap="nowrap">Modified</td></tr>
<tr class="head"><td nowrap="nowrap">Rounded</td><td nowrap="nowrap">Bytes</td></tr>
<!-- BEGIN --> <tr{Zebra | class="zebra"}{Dir  style="background-color: #A2E2FA;"||}><td>{Name}</td><td class="center">{Size FLEXR}</td><td class="right">{Size B}</td><td class="center">{Created dd/mm/yyyy hh:nn:ss}</td><td class="center">{Created dd/mm/yyyy hh:nn:ss}</td></tr>
<!-- END -->
</table><br />Report generated on <date dd/mm/yyyy hh:nn:ss> by XYplorer v<xyver>
</body></html>

3. Go into any folder, and load the script file. A file Report.html will be generated in the current folder, based on the HTML template, and you will be asked if you want to open it (with your default Internet Browser).

4. Tweak the file Report Template.htm to your liking, using XY's Report Fields directly into the HTML, and putting the actual template (to be repeated for each item) in between <!-- BEGIN --> and <!-- END --> 
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

(reinventing the wheel isn't bad sometimes, huh?) :wink:
Just found the original XY Scripts Library thread.
This is what interested me more:

Jacky:
Of course every scripter is welcome to create an account and share their scripts, that's the whole point! ;) As you'll see, it works with a "version system" each requiring to include a version number (a.bb.cccc), the date the version was released (yyyy.mm.dd), the required version of XY, the changelog for this version and, of course, the actual XYS file.
...
And to make my life easier, as that was (also) the point here ;) when uploading an XYS file and clicking on "Load file and try to auto-fill form" it will look for an Internal INI section at the end of the file, looking for keys name, version, requiredXY, and requiredCJ. (Note that if an extra key CJoptional is set to 1 then requiredCJ is ignored.)
It will also look for a changelog at the beginning of the file, and if formatted like I do mine it will extract the date and changelog for this version. For this to work, the XYS file must begin with a multi-line comment like this one:
Code:
/* Script Name

v0.01.0000 2009.01.18 XY v7.80.0032
+ changelog goes here
*/
-anyone interested in doing the commenting part of the job? (I WON'T, even partially, not for the next 2 or 3 years at least!) (Data Mining Tool may be of help with this, or a custom made tool - which also interests me!)
-any scripter willing to help in fixing some broken scripts? (I've done myself a few fixes, posted them on original threads or made notes at the Library; looking for "BROKEN" string on [will have to rename the thing, now] SkyFrontier's XY Scripts Library will be a good starting, as I've tested a good bunch of them; fully revising each and every one would be of help; reports on this thread out of all users will be welcome, too!)
Thanks!
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

Perhaps the same as MultiWebSearch, but it's a Serendipity's script named SearchTheWeb.
Can someone please confirm...?
(I'm astonished by seeing such participative audience over here... wait... I can hear the heartbeat of a cricket, on the other side of the room!)
:P

-one to go: Selections.
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...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: XY scripts Library - Discussion, Questions and etc.

Post by serendipity »

SkyFrontier wrote:Perhaps the same as MultiWebSearch, but it's a Serendipity's script named SearchTheWeb.
Can someone please confirm...?
(I'm astonished by seeing such participative audience over here... wait... I can hear the heartbeat of a cricket, on the other side of the room!)
:P

-one to go: Selections.
I have not tried MultiWebSearch, but I wrote only SearchTheWeb. I vaguely recall that MultiWebSearch searched all given links (google, wikipedia etc) in one go, while mine has one button each for each search. BTW where can i find MultiWebSearch?

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

Serendipity:
BTW where can i find MultiWebSearch?
Don't know, sorry. XYwiki's down and I went heaven and hell after it and nothing thus far, even for the "Selections" script.
-that's why I *always* want to keep offline versions of *everything*, and had *not* downloaded XYwiki Scripts for trying to not infringe any unwritten law. But I am changing my mind on this matter (ie, I will probably keep retrieved XYwiki scripts hosted at XY forum, with Don's and Jacky's permissions - assuming "Ok" while nobody complains).
Thanks for the answer, this makes me keep an eye on XYwiki after missing scripts.
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...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: XY scripts Library - Discussion, Questions and etc.

Post by serendipity »

Here you mention that my script "Compare Files Across Panes" is broken. It was actually a bug in command "focus" which was recently fixed by Don (here). So the script works now.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

serendipity wrote:Here you mention that my script "Compare Files Across Panes" is broken. It was actually a bug in command "focus" which was recently fixed by Don (here). So the script works now.
Updated (but not tested, sorry - not time for now). Thank you!

EDIT: Makes sense, as I was testing a good bunch with a 9.40.0104 and a few others with a pretty outdated version.
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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XY scripts Library - Discussion, Questions and etc.

Post by SkyFrontier »

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...

Post Reply