Xy.sCollection Category + Template (update 07/03/2017)

Discuss and share scripts and script files...
Post Reply
edyyus
Posts: 48
Joined: 16 May 2014 11:14

Xy.sCollection Category + Template (update 07/03/2017)

Post by edyyus »

Dificult to me for explain more in english

Just some script for easy manage many script category and sub like small script or ctb script.
To easy to loding, find, manage and edit from one main menu page,

_Xy.s_Collection.gif
_Xy.s_Collection.gif
_Xy.s_Collection.gif (355.48 KiB) Viewed 1603 times

##>> To Make New Group/Category
Copy _Xy.s-EmptyGroup.xys Template, Rename Script, Keep _Xy.s in first name , edit category name in New Group/Category and Loading _Xy.s_Collection.xys And Go to Configuration & Tools > Refresh Data _Xy.s_Collection.ini

Refresh Data _Xy.s_Collection.ini menu to Collect and update all New Category and Sub data like edit menu title, icon, rename or create new sub menu or make new parent/category page and save All data in _Xy.s_Collection.ini as popupnested() command format.

Other Info And Using:
1- Extarct _Xy.s_Collection.7z File
2- Copy And Paste Icon to Icons folder in xyplorer data
3- Copy And Paste _Xy.s_Collection.xys (and All other sample) to Scripts folder in xyplorer data

#> Run Script to Main Menu Page, Loding from ctb or category :
load "_Xy.s_Collection.xys","_CtbLoad";

#> Run Script to Edit Menu Page(Default), Loding from ctb, category:
load "_Xy.s_Collection.xys";

#> Need Refresh/Update .Ini Data Only Every Add New Sub, Group, ParentPage Or edit Name, icon Or sub Name
#> Support open script file and Cursor to the Line($Line) with some text editor allow agrument like editplus, Notepad2 And Programmer's Notepad, default notepad.exe. Optional, to using Open and Cursor to the Line must add agrument in _Xy.s_Collection.xys, [Xy.s_Seting] ini section, EditorAgrument=
See sample in script.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Download :#> Update : 07/03/2017 : _Xy.s_Collection_v2.0beta
_Xy.s_Collection_v2.0b.7z
_Xy.s_Collection V2.0beta ( 07 / 03 / 2017 )
(18.21 KiB) Downloaded 144 times
#> 19Feb2017 : change some regex
_Xy.s_Collection V1
_Xy.s_Collection.7z
_Xy.s_Collection V1 ( 19 Febuary 2017 )
(9.78 KiB) Downloaded 137 times
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Changelog:
Version : _Xy.s_Collection V2.0beta
1- Change some separator e.g like => to )> and < to / for loding items, for some reason
2- Using two ini file _Xy.s_Collection.ini and _Xy.s_Collection#_Append.ini for easy manage and edit
_Xy.s_Collection.ini : to Save All Collected data from Refresh Uptade data
_Xy.s_Collection#_Append.ini : save all manual add like menu path and make easy to read and edit format(readable)
3- add more Options like add, manage and edit in configuration menu
4- Allow to using more Editor Agrument for multi text editor, loding from sub "_Arg1" or "_Arg2"
5- Add more Options loding type, e.g only add item , light, simple and full,
e.g loding from sub "_CatLoad", "_SubCatLoad" or "_OneCategoryLoad"
(sub for external call or ctb button loding )
6- Fix some and other............

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
For More Info, Please read in _Xy.s_Collection.xys Script, And Other Sample script.

Some Light and open-source text editor allow agrument Cursor to the Line
Page Notepad2,
http://www.flos-freeware.ch/notepad2.html
http://code.kliu.org/misc/notepad2/
Page Programmer's Notepad,
http://www.pnotepad.org

Sample editor argument in _Xy.s_Collection.xys Script

If want run xyplorer script from external like text editor allow run argument like editplus, using RunXyplorerScript.exe
http://www.xyplorer.com/xyfc/viewtopic. ... 86#p145060

Fell Free To Using And Edit :)
Last edited by edyyus on 07 Mar 2017 09:42, edited 3 times in total.

edyyus
Posts: 48
Joined: 16 May 2014 11:14

Run _Xy.s_Collection.xys from Notepad++

Post by edyyus »

Xy.s_CollectionInNotepad++
Xy.s_CollectionInNotepad++
Xy.s_CollectionInNotepad++.png (3.37 KiB) Viewed 1569 times
#>> How To run _Xy.s_Collection.xys from Notepad++

1- Download RunXyplorerScript.exe in thred bellow, and palce in some folder e.g xyplorer data folder

(using Update versions) http://www.xyplorer.com/xyfc/viewtopic. ... 86#p145060

make argument in editor like bellow(change to your correct path)

"C:\Program Files\XYplorer\Data\RunXyplorerScript.exe" "C:\Program Files\XYplorer\Data\Scripts\_Xy.s_Collection.xys"

2- Open Notepad++, in menu go to : Run and click Run (or press F5 in keybord)
3- In Program to Run dialog box, paste argument like above in text box, click save
4- In Shortcut dialog box, Add name e.g : Xy.s_Collection
5- press OK and exit/close Program to Run dialog box
6- Edit EditorAgrument in _Xy.s_Collection.xys script like bellow

EditorAgrument="""E:\YourPath\Notepad++\notepad++.exe"" -n$Line"

7- now click to Run in menu, you can see Xy.s_Collection in menu, just click Xy.s_Collection, make sure it work


#>> To loding from Notepad++ costum button.

1- Download CustomizeToolbar Notepad++ plugin at link bellow(for notepad++ x32)(can't find yet for x64) .
https://sourceforge.net/projects/npp-customize/

2- copy and paste CustomizeToolbar.dll to Notepad++\plugin folder,
3- Open Notepad++, in menu goto : Plugin > Customize Toolbar > and click Costum Button, restart Notepad++,
and new button show in tollbar
4- goto Notepad++\plugin\Config folder and open CustomizeToolbar.btn with text editor
copy and paste button argument bellow in new line and save.
(change Xy.s_Collection.bmp to your icon button or dowmload icon bellow and place in Notepad++\plugin\Config)

Run,Xy.s_Collection,,,Xy.s_Collection.bmp
Xy.s_CollectionIcon+Sample.btn.7z
Xy.s_CollectionIcon+Sample.btn
(986 Bytes) Downloaded 137 times
5- restart Notepad++, make sure it work like picture

:)

Post Reply