Edit: Updated on Nov 10, 2013 to streamline code and to also account for the Breadcrumb Bar. It will change XY to go minimalistic (no menu bar, address bar, toolbar, status bar, navigation panel) such that you're viewing your thumbnails or whatever using the XY's full realestate. Because of that I tend to use this method in lieu of using tabs to quickly go to folders containing pictures/icons/pdfs in thumbnail view. Like I said, simple but sometimes simple is a good thing. I've made a toolbar button called "Thumbnail Viewer" to load the script e.g.,load("<xyscripts>\ThumbnailViewer.xys"). Obviously, you would have to customize/tweak the folders/script/icons to where you want to go to view your thumbnails but you get the general idea.
Code: Select all
"Icons|:viewthumbs" goto "d:\graphics\icons";
sub _expand_it; //these commands will provide a clean uncluttered XY, a must for for viewing thumbnails
"Skerries, Ireland|D:\Graphics\Icons\Picture.ico" goto "G:\Pictures\Ireland Trip 2011\2011-07-02";
sub _expand_it;
"All Ireland Pics|D:\Graphics\Icons\k321-icon-218.ico" goto "G:\Pictures\Ireland Trip 2011";
sub _expand_it;
"Maine|D:\Graphics\Icons\Picture.ico" goto "G:\Pictures\Maine\Bailey Island 06-19-2012";
sub _expand_it;
"Cascade Falls|:viewthumbs" goto "G:\Pictures\Cascade Falls";
sub _expand_it;
"Wallpaper|D:\Graphics\Icons\wallpaper.ico" goto "g:\Wallpaper\1920x1080";
sub _expand_it;
"Ireland Wallpaper|D:\Graphics\Icons\Picture.ico" goto "G:\Wallpaper\1920x1080\Ireland";
sub _expand_it;
"New River Trail|D:\Graphics\Icons\k321-icon-219.ico" goto "G:\Pictures\New River Trail";
sub _expand_it;
"England|D:\Graphics\Icons\Picture.ico" goto "G:\Wallpaper\1920x1080\England";
sub _expand_it;
"The Channels|D:\Graphics\Icons\k321-icon-218.ico" goto "G:\Pictures\The Channels";
sub _expand_it;
"_expand_it";
if get(#660) {#660;} // Address Bar
if get(#661) {#661} // Toolbar
if get(#662) {#662;} // Tab bar
if get(#663) {#663;} // Nav Pnl
if get(#665) {#665;} // Info Pnl
if get(#670) {#670;} // Status Bar
if get(#671) {#671;} // Breadcrumb Bar
if get(#1061) {#1061;} // Menu Bar
if get("#800") {#800;} // Dual Pane
end (1==1);Code: Select all
#552;#1040;#1009;goto "C:\";
if get(#660) {#660;} // Address Bar (if you normally work with the Address Bar put a "!" in front of "get")
if !get(#661) {#661;} // Tool Bar
if !get(#662) {#662;} // Tab bar
if !get(#663) {#663;} // Nav Pnl
if !get(#664) {#664;} // Show Catalog
if get(#665) {#665;} // Info Pnl
if !get(#670) {#670;} // Status Bar
if get(#671) {#671;} // Breadcrumb Bar (if you normally work with the BC Bar put a "!" in front of "get")
if !get(#1061) {#1061;} // Menu Bar
if get("#800") {#800;} // Dual PaneThanks,
Ken
XYplorer Beta Club
