Userful scripts for XYplorer. A collection of useful scripts to enhance the XYplorer file explorer (add it as a. XYplorer-Scripts / Wiki. Pull requests 0. Projects 0 Wiki Insights Code. Pull requests 0. Pulse Dismiss Join GitHub today. GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Collage of various quick scripting methods. Collage.png (221.63 KiB) Viewed 183606 timesHowever, when it comes right down to it, there are really only three ways to deal with scripts. Quick Scripting.
As seen in: Catalog Items; Favorites; Aliases; Portable File Associations/Open with Menu. A quick script is one that is typically a one liner and can be called from any place that XYplorer accepts locations for navigation. This is the default type of script for the above features, which all default to a single line edit field. Normal Script(s). As seen in: Catalog Items; Custom Toolbar Buttons; and User Commands - Run Script While all of these places have a single line edit field for quick scripts they also have an Edit button which allows you to more easily work with multi-line scripts.
These are scripts that typically become a little too cumbersome for a single line, or are a collection of scripts that need to be stored/called together. Script Files. As seen in: User Commands - Load Script File In these cases the script is stored in a file, typically within XYplorer's script folder (Scripting - Go to Scripts Folder), and XY reads the file to execute the script. Storing scripts in a file also allows you to use '::Load('ScriptFile');' as a quick script, which gives you a lot more flexibility. Those are the three main options, but it doesn't show how you can make it easy to manage all of your scripts and access them everywhere - that key is within User Defined Commands (UDC).
When you create a new UDC XY automatically assigns it an ID number starting from #1400, this is the same as all the other command IDs shown in the Customize Shortcut Keys dialog, in that it is also a scripting command '#1400;'. What this means is you can use UDCs to manage your scripts and then access them anywhere via their command IDs, and if you want to change/move the script you only have to do it in one place. Let's walk through how you would do this using a script file for an (overly) simple script. Steps:. Save your script to a script file. Copy our script to the clipboard.
Code: $message = 'Hello!' ; Msg '$message';. From XY's main menu select 'Scripting' - 'Go to Scripts Folder'. This will navigate to XY's current script folder, which is the first place it looks when attempting to load a script file. From XY's main menu select 'Edit' - 'Paste Special' - 'Paste Text Into New File'.
This will create a new file with the copied script as its contents. Name the file 'Greeting.xys'. Take care that you name the file properly with an extension of 'xys' and not 'Greeting.xys.txt'. Create a new Load Script File UDC. Steps 2B through 2G: Creating a UDC for the Script File. 2B-G.png (36.24 KiB) Viewed 183606 times.
From XY's main menu select 'User' - 'Manage Commands.' To open the Manage UDC dialog. In the Manage UDC dialog on the left side under 'Category' select 'Load Script File'. Click 'New' - 'Add New Command'. For 'Caption' enter 'Execute Greeting.xys'.
Tip: See below for ways to hide this command from the user menu. Click 'Browse' beside the 'Script File' field, and navigate to/select the 'Greeting.xys' that we just created. As you can see there is a button on the right that shows '#1400' (or similar). This is the command ID that XY has assigned to this UDC. If you click the button it will be copied to the clipboard, so click it. You now have a UDC that can be referenced by '#1400;' so click OK. Reference the UDC where you want the script.
Now anywhere you want to call that script (another script, a custom toolbar button) you can use '#1400;'. As a quick script in the address bar, alias, catalog, favorites you can use '::#1400;'. As a Portable File Association/Open with Menu: 'Say Hello'.::#1400;'. Optional: Keep your script updated. Now if you want to change your script you only have to edit the script file and everywhere that uses the command ID will use the new version. Tips:. The UDC's Label field allows you to call a specific Script in the file by label, which can be useful if your file has a specific entry point.
Since we saved the script to XY's script folder, we can also just enter 'Greeting' in step 2E (as pictured); XY will automatically search the script folder for 'Greeting.xys'. XY will also resolve paths entered here relative to the Script folder, which is extremely beneficial when using XY portably. Sometimes you may want to manage a script but do not want to unnecessarily clutter up your User Menu, in that case set the 'HideUnderscoredUDCs' to 1 and you will be able to prefix the caption with an underscore ('Execute Greeting.xys'), telling XY to hide it from the menu, but maintaining the command ID and ability to customize its shortcut.
It may be helpful to add custom icons to your script (and other) UDCs. You can do this by suffixing the UDC caption with ' ' followed by the path to an icon (or internal icon name), such as 'Execute Greeting.xys C: Icons Hello.ico' or 'Execute Greeting.xys Greeting.ico'. (From SkyFrontier). Many (but not all) of the places you may want to reference your script accept aliases, so if you would rather refer to the script by name than by number you can create an alias by entering '@SayHello=::#1400;' into the address bar. Now in those places you can just use '@SayHello'.
(From admin). The method I have described is not any different than calling 'Load('Greeting');' in all the places you might want to use the script, so why bother with a UDC? Indeed, there isn't much advantage, but if you ever want to rename/move the script file itself you only have to do it within the UDC as opposed to in every Load. Please note that this is based on XYplorer v9.60.0106, but it applies to many previous and (hopefully) future versions. EDIT: Clarity 2013-10-28: Corrected path to Go to Scripts Folder. 2013-10-28: Added link to INI tweak directions. 2010-10-26: Added some tips.
When you really think about it, file management in Windows hasn't really changed all that much since the olden days of Windows 3.1. But the way that we use our computers, coupled with the explosion in the number of files that we now store, has made dealing with file management an onerous, almost painful task! Thank goodness XYplorer is here to inject some balance, order, and fun to file management!
XYplorer is the last file manager you'll ever need to install! With XYplorer, you get multiple tabs to jump quickly between folders, a powerful search function, a preview feature that should have been part of Windows years ago, and a highly customizable and intuitive interface.
![Xyplorer Xyplorer](https://www.kubusoft.com/wp-content/uploads/2017/10/xyplorer1.jpg)
Even better, XYplorer offers this to you in a very fast, very light application that doesn't require any installation or make any system or registry changes. If you're a fan of tabbed browsing, you already know how to work the tabs in XYplorer!
Click between folders, rename them, reposition them, and drag and drop files onto them - a whole lot easier than using Windows Explorer, that's for sure. You can even create a tab dedicated to a search filter! The Dual Pane makes it easy to move and copy stuff between folders, plus there's Manual Sorting to enable you to view files exactly as you like.
And when you quit XYplorer and come back later, your tab configurations are there waiting for you! Combine this extraordinary functionality with intuitive Tree, List, and Mini-Tree views, and you're all set with XYplorer. The Mini-Tree contains a history of files and folders that you've actually used, so it's easy to jump to something you've been working on. Ever wanted to create a magic button to launch files in your app of choice? Custom Toolbar buttons makes that happen! You can color code your files, tag files, highlight and bold favorite folders, or use the Catalog function to combine folders and items from all over your hard drive, LAN, and the Internet under a single heading. There's even support for file names longer than 260 characters, an impossibility in Windows!
Plus, aliases make typing long directory structures into the address bar a thing of the past! The robust features just keep on coming with XYplorer! Imagine one-click previews of any of your media files, plus multiple (up to 100) level undo/redo for your file operations that persists from session to session.
An advanced Recycle Bin that leaves your default Windows Bin in the dust! You can even enable queuing in XYplorer and stack file operation jobs without even waiting for the first few to finish, then continue working as your jobs complete in the background! XYplorer also offers Select Special, which lets you modify selections in one pane based on items in the other pane, synchronous scrolling and sorting of both panes, the ability to bring back accidentally erased selections, item name editing, and a quick way to bump selected files up in the folder hierarchy!
ATTENTION PHOTOGRAPHERS!!! XYplorer includes a powerful Floating Preview feature. Essentially a new preview pane separate from the main window, Floating Preview supports Mouse Down Blow Up and the transparency grid for transparent images.
It's one of the features customers have requested most! Check out a sampling of what else is new in XYplorer v17.40:. Content Search - Now multi-field search supports content. So you can search for files that contain 'Country' OR 'Western'. Self Update - Finally XYplorer can update itself. Simply click 'Check for Updates' and you are offered to download and install the update right away if there is one.
(Pro Edition Only). Audio Tags - Now scripting supports reading and writing ID3 tags.
(Pro Edition Only). Multilingual Support - Added support for Serbian.
Enjoy the greatest flexibility in file management you've ever seen!. Utilize multiple tabs to jump quickly between folders. Leverage the power of a Dual Pane view to work with two folders. Get started quickly with intuitive Tree, List, and Mini-Tree views. Customize your toolbar and views!.
Preview any media file in a single click. Undo your file operation mistakes. Queue up multiple file operations and get on with your day. Color filters by date, by age, and by size. Transparency grid for preview and thumbnails. Backup with byte-by-byte verification.
Mass-rename files using meta properties like camera model, width and height, or bit rate. View the complete contents of two or more folders in a single list. Save and load the tabset of a pane.
Finding files by content now supports Regular Expressions. You can download and install a free trial of this software before purchasing. Download available for: XP, Vista, 7, 8, 8.1, 10, Windows Server 2003, 2008, 2012, 10 Server. Buy with BitsDuJour's promotional coupon code and get all this at a discounted price!.
After you purchase XYplorer Lifetime License Pro it may be used indefinitely. XYplorer Lifetime License Pro is licensed per user, so if more people are going to use XYplorer Lifetime License Pro you will need to purchase additional copies. Each license allows installation on all owned computers, but XYplorer Lifetime License Pro may not be used at exactly the same time on each of them. Transfer of a license to another owned computer is allowed. License activation isn't required. License can be used for Commercial and Personal use.
Upgrades to future versions of the software will be free for the lifetime of the product. No return policy. Prices do not necessarily include taxes, which will vary by country. Review what others have to say. “Robust features and extremely fast. I have used this portable software daily (9 to 10 hours a day) for approximately one year. I truly believe this is my most useful software on the windows platform.
I have purchased/used several explorers over the last 14 years. This software stands in a league all it's own.
I use the portable version on a Corsair Survivor GT. I often have 10-12 tabs open at a time (accessing Network drives). XYplorer is extremely fast at accessing the network drives and uses very little resources. Adding templates to the 'New Items' options (right click in a window) provides a great deal of flexibility. The Wiki knowledgebase link (from the developer's web site) provides a wealth of easily understandable information. The scripting is also quite powerful.
I spend approximately $1,500 on software each year and this is the best application I own. I liked the software enough to buy a lifetime license (and I very seldom buy these type of licenses).
This software is consistently rated 5 out of 5 on many web sites. My review is typical of the comments/ratings posted. Thanks for the great software.
SIgned, AS400 Systems Programmer for over 23 years.” - W. Droge, USA. “XYplorer is not about any one particular feature; it's about how all those little parts come together to form a cohesive application. Days, weeks, months after you install this gem you will notice those little treats that will make you smile, and say to yourself, 'Mmmm, Nice.' Anyone who has used this app for any length of time will see that every feature was carefully considered before it was added. You will love it!
This application is a work of art, it really is that.” - Ax Fleming, USA. “Let's face it, I'm a hopeless techno-junkie.
My latest fix, 'XYplorer' is the cleverest file management program I have ever encountered and I've been vetting software for quite a few years. Having used several file managers, including dual pane, I was blown away by XYplorer's tabbed interface.
This makes flicking between several drive partitions and file groups unbelievably quick and easy. The multitudinous things this user-friendly program can do continually amaze me but are far too numerous to go into here. It's even more astounding when you realise how small a footprint XYplorer leaves on your hard drive.
It does not even have to be installed. Importantly, I had an almost immediate and very helpful response from the developer himself, when I emailed a few questions. Not bad considering that I'm still waiting for replies months later, from others to whom I've emailed software queries.” - Brian, Western Australia. “XYplorer is perfect for an admin like myself to take with them on an USB memory stick when helping users logged in as users or power users without having to mess around re-authenticating all the time, since they can do a RunAs on XYplorer directly and authenticate just once to then browse to many servers without the need to log the user off and on as them and without constantly being prompted over and over again for credentials, etc. Windows Explorer does not work well with RunAs. There is a trick of using Internet Explorer instead to get around this, however, this no longer works with Internet Explorer 7. Using XYplorer instead works great for this!
All of my favorite settings will save right to the USB memory stick, and there is no need to have it installed on all the computers that I use it on since it is portable!! Very cool!” - Bruce Weston, I.T. Manager at BASIC, www.basiconline.com. “I recently downloaded the trial version of XYplorer and am really impressed! I'm usually one to support open source communities by using and contributing to their software, as I am a software engineer by trade. Yet, there appears to be no open source project that I am happy with for file management on Windows PCs. I am usually very picky about applications' GUIs.
As a software engineer, very few applications satisfy my high expectations of both visual aesthetics and usability. Then I found XYplorer. Everything I want to do with file management is included in XYplorer. Nothing is out of place; everything is so easy to find, even information in the help files. 'I quickly found what I was looking for with your 'Backup' option to act as a Copy w/ 'no to all' option that File Explorer and Windows Explorer lacks. I instantly transferred over new and newer version files from one folder on one drive to a duplicate folder on another drive. It found 2 newer versions and a dozen new files out of 16GB of 58,000 files.
It would have taken me days to sort through my files and file the new ones. I might have even missed the new versions all together on my own. I also found worthwhile options, including one of my favorites: automatic folder size calculations.
I have a Western Digital Raptor drive with fast access, so I can take advantage of quick folder size calculations.” - John Suit, State College, PA, US. Kelly Hamblin There simply is not a better file manager than this one. I tried XYplorer years ago when I was looking for a decent file manager. I wanted it badly, but couldn't afford the price. In 2012, I found it on sale here at Bits and grabbed the lifetime license. Best software purchase I ever made.
Any file manager I use gets a good workout. I spend lots of time every day 'managing' files. XYplorer makes it easy for me to find things, change things, view things, add information about files and folders. After all this time, I still haven't made use of, or even discovered, all the features of this application. Which brings me to another thing I want to mention — more of a thank you to Donald Lessau — unless things have changed, XYplorer comes with a great help file that I don't have to open a browser or a pdf file to read. @HBOY - I also have a license for xplorer2, which is another very good file manager, but answering your question would take (me) hours even if I had the expertise to do so.
I can only say that I use xplorer2 once in a while, but I use XYplorer every day. There is always a lot of personal preference involved when choosing between applications. Doug Atkinson @HBOY - I own both and use them both. Xplorer2, XYPlorer and Directory Opus are all great programs and you'll probably like best the one you use the most. I've used Xplorer2 the longest, so I am quite used to it and use the search function all the time, and like the quickview feature.
Xplorer2 had an issue in an earlier version with displaying certain linked images so I used XYplorer when doing those operations. For a lifetime license, this is a great price, so if you are a utlility fanatic like I am, they're both worth having! Steven Avery Lets not forget Total Commander. I have lifetime licenses to XYPlorer and TC. Both are great deals.
I use TC more, but that could change tomorrow, and every program can have a little issue here and there. The XYPlorer developer was very responsive on Donationcoder when I pointed out a problem in copying files that begin with a blank in the name. Depending on finances, I would suggest everyone try to have TC and/or XYPlorer in their life-time arsenal.
Both have been faithful in their licenses. (No new names, no Premium Ultimate editions after the license is bought.) This is an unusual area in that four different programs have all kept a stellar reputation. (Add xplorer2 and DOpus.). You really cannot beat a lifetime license when it comes in under $50 and the program has a proven track record of many years.
You get a lifetime license now, and you smile in 2018-2020 when there is no upgrade fee. M User Highly recommended software/deal!! Let me tell you, I have them 'all': Directory Opus, Total Commander, XYplorer Pro, MultiCommander, Double Commander, xplorer², FreeCommander, Q-Dir, FolderViewer. Directory Opus (Professional + FTP Advanced and USB-plugin) is my favorite (as the past file manager on earth IMO - at this time), but XYplorer is (together with Total Commander) absolutely number 2!
Of course, If you use, let's say TC for 20 years, then you will prefer Total Commander over DOpus or XYplorer. As TC is your daily workflow to go.
XYplorer is really great and this is a great deal! Lifetime, for all your own PC's. It's a bargain!!
And, really, I follow the beta development every day at Development-cycle is great! After a official release, sometimes a few days 'rest', an then again every day a new beta. Thanks Donald Lessau! I would like to see a litlle improvement in the new 'auto'-update in XYplorer. Something like the update mechanism in Display Fusion, or EMDB (a movie database). Mean, auto-update faster or with a build-in progress bar for 'the eye-candy':D) Another thing for improvement out of the box: with DOpus, when you click a mp4 movie in the lister you can see the movie in the preview-pane. With XYplorer is stays.
Black;) Happy to see that sync is on the roadmap Donald! Keep up the very, very good and hard work! As I said: HIGHLY recommended (Lifetime licence for all your own PC's + portable installs!!!).
John User So, I downloaded the trial version and have been using it the last couple of days instead of xplorer2 which I have been using for several years. Typically there were things I like about both. I decided to give the benefit of the doubt to XYplorer because I have not been using it that much and shelled out the $39.95 for the lifetime license. So now I have two pretty good Explorer replacements.
Thank you for the opportunity to try the software before buying and for the very nice discount! Merry Christmas. Thomas K Merry Christmas to all!!!
Reading all the reviews I can only agree - the lifetime licence for XYplorer is great deal! I have now been using it for 1-2 years and can really say it is one of the best managers out there. One thing I really love the most however is the great support. New features every 2-3 weeks and continual checks on what to improve - outstanding.
SO if you do not have it yet go and grab your licence! Regards from germany P.S: I paid for my licence and will not get a free copy / discount for being truthfull and positive:-). Javier Gil Hboy: xplorer2 does show Pdf previews, I've been using it for years and I can confirm that xyplorer has that feature as well. (it normally depends on which Pdf viewer you have installed on your computer) Both are great programs. Although I have a license for xplorer2, I bought xy yesterday.
I think the lifetime license is a great deal and I love the labels feature, which is very useful to me. Support seems really good and the software is updated regularly. You can't go wrong with either. I'm sure Donald will sort out your issues with xyplorer crashing.
(never happened to me) I did try optus and commander. Couldn't stand either of them to be honest. Peter Schaeffer This is a quite good product.
I have only purchased a small number of software products for my work. This is one of them. Years ago, the Explorer built into Windows was good enough. Sadly, Microsoft removed the Explorer than worked, and replaced it with a piece of dumbed-down junk. At that point I switched to XYplorer and have not looked back. XYplorer works rather well and is stable across many releases of Windows (7, 8, 10).
This is a non-trivial virtue given that many versions of Windows are commonly in use these days. XYplorer has many important features. Of course all of the views are important. However, file search (many kinds) is crucial.
The previews come in handy more often that you might think. Tiberius MY LITTLE GRAIN OF SALT I usually don't comment on apps as long as they do what they are meant for, unless I detect dishonesty or too much greed. Yet, I couldn't skip XYplorer.
I thought the price was steep though (I am obviously interested in the pro version deal), but it made me save hours in minutes and, once I understood, seconds, especially the filter and the flatten folder functions, which just took a few minutes to learn with the excellent help page and online description. After just a few days on the trial version, I just got infatuated. I guess I will discover other useful tools among the incredible amount the program provides (300+).
A really great app I should have discovered years before, since I often work with hundreds of folders and thousands of files. I guess I was too busy working on those, lost in the forest, but no more! That is what I call a good buy. Thank you Donald Lessau for your great work and transparent offer for several machines. I don't know nor work for him; I'm just very glad with his creation. I just went directly to his page to buy the app, because there was no discount here at the time. Sorry to bother you with my rambling.
N.B.2 I wrote this for nothing: just see his reviews page: and I just noticed the 800 older comments here. That is a star program that should have a niche by itself. Could it be a new category for program collectors?