<?xml version="1.0"?>
<button backcol="none" display="icon" icon_size="large" label_pos="bottom" textcol="none" timed="yes" type="menu_button">
	<label>Background Changer</label>
	<tip>\n</tip>
	<icon1>#setoff</icon1>
	<function type="normal">
		<instruction>@icon:slideshow,$glob:BackgroundChanger_highlight</instruction>
		<instruction>@label:=return ($glob:BackgroundChanger_path)</instruction>
		<instruction />
		<instruction>@toggle:update</instruction>
		<instruction />
		<instruction>@keydown:none:&lt;b&gt;Background Slideshow ON/OFF&lt;/b&gt;</instruction>
		<instruction>BackgroundChanger</instruction>
		<instruction />
		<instruction>@keydown:ctrl:   &lt;fixed&gt;Open config settings&lt;/fixed&gt;</instruction>
		<instruction>Prefs SCRIPTS=&quot;Background Changer.osp\Background Changer.js&quot;</instruction>
	</function>
	<button backcol="none" display="both" textcol="none" type="menu">
		<label>&lt;b&gt;Slideshow&lt;/b&gt;</label>
		<icon1>#slideshow2+menu</icon1>
		<button backcol="none" display="label" field_type="label" size="full" textcol="none">
			<label>Background Changer Slideshow</label>
			<icon1>#label</icon1>
			<function type="normal">
				<instruction>Set LABEL</instruction>
			</function>
		</button>
		<button backcol="none" display="both" label_pos="right" separate="yes" textcol="none">
			<label>Background Changer Settings</label>
			<icon1>#prefs</icon1>
			<function type="normal">
				<instruction>Prefs SCRIPTS=&quot;Background Changer.osp\Background Changer.js&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Pictures</label>
			<icon1>#viewerslideshow</icon1>
			<button backcol="none" display="label" field_type="label" size="full" textcol="none">
				<label>Pictures Folder</label>
				<icon1>#label</icon1>
				<function type="normal">
					<instruction>Set LABEL</instruction>
				</function>
			</button>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\To\Pictures&quot; FOLDERCONTENT=embeddedcmddirs,nofiles,&quot;dirfilter=~(+*)&quot;</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext}]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" separate="yes" textcol="none" type="menu">
			<label>Do&amp;wnloads</label>
			<icon1>#viewerslideshow</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\To\Downloads&quot; FOLDERCONTENT=embeddedcmddirs,nofiles</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext}]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Photographs</label>
			<icon1>#viewerslideshow</icon1>
			<button backcol="none" display="label" field_type="label" size="full" textcol="none">
				<label>All (recursive)</label>
				<icon1>#label</icon1>
				<function type="normal">
					<instruction>Set LABEL</instruction>
				</function>
			</button>
			<button backcol="none" display="both" separate="yes" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Folder\with\folders\called\Photograph\or\Photographs Processed\&quot; FOLDERCONTENT=nofiles,embeddedcmddirs,&quot;dirfilter=(Photographs|Photographs Processed)&quot;</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext} RECURSIVE=true]</instruction>
				</function>
			</button>
			<button backcol="none" display="label" field_type="label" size="full" textcol="none">
				<label>Photographs (RAW)</label>
				<icon1>#label</icon1>
				<function type="normal">
					<instruction>Set LABEL</instruction>
				</function>
			</button>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Photographs&quot; FOLDERCONTENT=nofiles,embeddedcmddirs</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext} RECURSIVE]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" separate="yes" textcol="none" type="menu">
			<label>Photographs Family</label>
			<icon1>#viewerslideshow</icon1>
			<button backcol="none" display="label" field_type="label" size="full" textcol="none">
				<label>All (recursive)</label>
				<icon1>#label</icon1>
				<function type="normal">
					<instruction>Set LABEL</instruction>
				</function>
			</button>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\folder\with\folder\called\Photographs Family&quot; FOLDERCONTENT=nofiles,embeddedcmddirs,&quot;dirfilter=(Photographs Family)&quot;</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext} RECURSIVE=true]</instruction>
				</function>
			</button>
			<button backcol="none" display="both" separate="yes" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to folder with folder named\Holiday Photos&quot; FOLDERCONTENT=nofiles,embeddedcmddirs,&quot;dirfilter=(Holiday Photos*)&quot;</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext} RECURSIVE=true]</instruction>
				</function>
			</button>
			<button backcol="none" display="label" field_type="label" size="full" textcol="none">
				<label>Family Photographs</label>
				<icon1>#label</icon1>
				<function type="normal">
					<instruction>Set LABEL</instruction>
				</function>
			</button>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;D:\OneDrive\Photographs Family&quot; FOLDERCONTENT=nofiles,embeddedcmddirs</instruction>
					<instruction>[BackgroundChanger PATH={f!|noext}]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="label" field_type="label" separate="yes" size="full" textcol="none">
			<label>Directory Opus Viewer Slideshow</label>
			<icon1>#label</icon1>
			<function type="normal">
				<instruction>Set LABEL</instruction>
			</function>
		</button>
		<button backcol="none" display="both" label_pos="right" separate="yes" textcol="none">
			<label>Viewer Slideshow Settings</label>
			<tip>Preferences</tip>
			<icon1>#prefs</icon1>
			<function type="normal">
				<instruction>Prefs PAGE=&quot;viewersizing&quot; COLLAPSEALL</instruction>
			</function>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Pictures</label>
			<tip>D:\Pictures</tip>
			<icon1>#slideshow</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\OneDrive\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path to\Pictures&quot; FOLDERCONTENT=embeddedcmddirs,nofiles</instruction>
					<instruction>[Show SLIDESHOW=fade AUTOFILELIST]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Do&amp;wnloads</label>
			<icon1>#slideshow</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\OneDrive\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path to\Downloads&quot; FOLDERCONTENT=embeddedcmddirs,nofiles</instruction>
					<instruction>[Show SLIDESHOW=fade AUTOFILELIST]</instruction>
				</function>
			</button>
		</button>
	</button>
	<button backcol="none" display="both" textcol="none" type="menu">
		<label>&lt;b&gt;Background&lt;/b&gt;</label>
		<tip>Single Image</tip>
		<icon1>#graphics2+menu</icon1>
		<button backcol="none" display="label" field_type="label" separate="yes" size="full" textcol="none">
			<label>Background Changer - Set single image</label>
			<icon1>#label</icon1>
			<function type="normal">
				<instruction>Set LABEL</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey="ctrl+alt+B" hotkey_label="yes" icon_size="large" textcol="#ff8000">
			<label>&lt;b&gt;Set Selected Image as Background&lt;/b&gt;</label>
			<icon1>#setwallpaper</icon1>
			<function type="normal">
				<instruction>@disablenosel:type=(grp:images)</instruction>
				<instruction>@set image = &quot;{filepath$}&quot;</instruction>
				<instruction>BackgroundChanger PATH={$image}</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey="ctrl+alt+C" hotkey_label="yes" icon_size="large" separate="yes" textcol="#ff8000">
			<label>&lt;b&gt;Clear Background Image&lt;/b&gt;</label>
			<icon1>#setwallpaper</icon1>
			<function type="normal">
				<instruction>Set BACKGROUNDIMAGE all:&quot;&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" separate="yes" textcol="none" type="menu">
			<label>&amp;Favourites</label>
			<icon1>#graphics2</icon1>
			<button backcol="none" display="both" icon_size="large" textcol="none">
				<label>A Dandelion With Water Droplets</label>
				<icon1>#setwallpaper</icon1>
				<function type="normal">
					<instruction>@set image = &quot;D:\Path\to an\image called\A Dandelion With Water Droplets On It, a macro photograph.png&quot;</instruction>
					<instruction>BackgroundChanger PATH={$image}</instruction>
				</function>
			</button>
			<button backcol="none" display="both" icon_size="large" textcol="none">
				<label>A Dandelion With Water Droplets 2</label>
				<icon1>#setwallpaper</icon1>
				<function type="normal">
					<instruction>@set image = &quot;D:\Path\to an\image called\A Dandelion With Water Droplets On It, a macro photograph.png&quot;</instruction>
					<instruction>BackgroundChanger PATH={$image}</instruction>
				</function>
			</button>
			<button backcol="none" display="both" icon_size="large" textcol="none">
				<label>DreamUp Creation (White Mushrooms)</label>
				<icon1>#setwallpaper</icon1>
				<function type="normal">
					<instruction>@set image = &quot;D:\Path\to an\image called\DreamUp Creation (White Mushrooms).png&quot;</instruction>
					<instruction>BackgroundChanger PATH={$image}</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Pictures Library</label>
			<icon1>#graphics2</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO lib://Pictures FOLDERCONTENT=&quot;filefilter=grp:Images&quot;,hideext</instruction>
					<instruction>[BackgroundChanger PATH=&quot;{filepath$}&quot;]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" separate="yes" textcol="none" type="menu">
			<label>Do&amp;wnloads</label>
			<icon1>#graphics2</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Downloads&quot; FOLDERCONTENT=&quot;filefilter=grp:Images&quot;</instruction>
					<instruction>[BackgroundChanger PATH=&quot;{filepath$}&quot;]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Photographs</label>
			<icon1>#graphics2</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\dng\Photographs\&quot; FOLDERCONTENT=&quot;filefilter=*.dng&quot;,hideext</instruction>
					<instruction>[BackgroundChanger PATH=&quot;{filepath$}&quot;]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Photographs Processed</label>
			<icon1>#graphics2</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Photographs Processed\&quot; FOLDERCONTENT=&quot;filefilter=grp:Images&quot;,hideext</instruction>
					<instruction>[BackgroundChanger PATH=&quot;{filepath$}&quot;]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Photographs Family</label>
			<icon1>#graphics2</icon1>
			<button backcol="none" display="both" textcol="none">
				<label>FOLDERCONTENT</label>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Photographs Family\&quot; FOLDERCONTENT=&quot;filefilter=*.(png|jpg|jpeg|bmp|dng)&quot;,hideext</instruction>
					<instruction>[BackgroundChanger PATH=&quot;{filepath$}&quot;]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="label" field_type="label" size="full" textcol="none">
			<label>Directory Opus Viewer - Single image</label>
			<icon1>#label</icon1>
			<function type="normal">
				<instruction>Set LABEL</instruction>
			</function>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Pictures</label>
			<icon1>#viewerpane2</icon1>
			<button backcol="none" display="label" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\OneDrive\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Pictures&quot; FOLDERCONTENT=embeddedcmddirs,hideext</instruction>
					<instruction>[Show USEEXISTING AUTOFILELIST LISTSIBLINGS]</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Do&amp;wnloads</label>
			<icon1>#slideshow</icon1>
			<button backcol="none" display="label" separate="yes" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\OneDrive\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\&quot; FOLDERCONTENT=embeddedcmddirs,&quot;filefilter=grp:Images&quot;,&quot;dirfilter=(Downloads|Images|Pictures)&quot;</instruction>
					<instruction>[Show USEEXISTING AUTOFILELIST LISTSIBLINGS]</instruction>
				</function>
			</button>
			<button backcol="none" display="label" textcol="none">
				<label>FOLDERCONTENT</label>
				<tip>D:\OneDrive\Pictures</tip>
				<icon1>#newcommand</icon1>
				<function type="normal">
					<instruction>GO &quot;C:\Path\to\Downloads&quot; FOLDERCONTENT=embeddedcmddirs,nodirs,&quot;filefilter=grp:Images&quot;</instruction>
					<instruction>[Show USEEXISTING AUTOFILELIST LISTSIBLINGS]</instruction>
				</function>
			</button>
		</button>
	</button>
	<button backcol="none" display="both" textcol="none" type="menu">
		<label>&lt;b&gt;Commands&lt;/b&gt;</label>
		<icon1>#Express_Dual_Fine_Small:usercommand</icon1>
		<button backcol="none" display="label" field_type="label" size="full" textcol="none">
			<label>Background Changer Commands</label>
			<icon1>#label</icon1>
			<function type="normal">
				<instruction>Set LABEL</instruction>
			</function>
		</button>
		<button backcol="none" display="both" label_pos="right" textcol="none">
			<label>Background Changer Settings</label>
			<icon1>#prefs</icon1>
			<function type="normal">
				<instruction>Prefs SCRIPTS=&quot;Background Changer.osp\Background Changer.js&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" icon_size="large" separate="yes" textcol="#ff8000">
			<label>&lt;b&gt;Clear Background Image&lt;/b&gt;</label>
			<icon1>#setwallpaper</icon1>
			<function type="normal">
				<instruction>Set BACKGROUNDIMAGE all:&quot;&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Open in Gimp</label>
			<tip>Open in Gimp</tip>
			<icon1>#gimp1</icon1>
			<function type="normal">
				<instruction>BackgroundChanger CLIP=fullpath</instruction>
				<instruction>@async:&quot;C:\Program Files\GIMP 3\bin\gimp.exe&quot; &quot;{clip}&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Open in Affinity Photo 2</label>
			<icon1>#Affinity Photo V2</icon1>
			<function type="normal">
				<instruction>BackgroundChanger CLIP=fullpath</instruction>
				<instruction>@async:&quot;C:\Users\path\to\Affinity Photo 2.lnk&quot; &quot;{clip}&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" separate="yes" textcol="none">
			<label>Open in Darktable</label>
			<tip>Open in Darktable</tip>
			<icon1>#darktable</icon1>
			<function type="normal">
				<instruction>BackgroundChanger CLIP=fullpath</instruction>
				<instruction>&quot;C:\Program Files\darktable\bin\darktable.exe&quot; &quot;{clip}&quot;</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Open in Standalone Viewer</label>
			<icon1>#viewerpane2</icon1>
			<function type="normal">
				<instruction>BackgroundChanger SHOW_IN_VIEWER</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" separate="yes" textcol="none">
			<label>Open in Standalone Slideshow</label>
			<icon1>#viewerslideshow</icon1>
			<function type="normal">
				<instruction>BackgroundChanger SLIDESHOW_IN_VIEWER</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Open Conta&amp;ining Folder</label>
			<tip>Open the folder containing the current file</tip>
			<icon1>#folder</icon1>
			<function type="normal">
				<instruction>BackgroundChanger OPEN</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" separate="yes" textcol="none">
			<label>Open folder in new tab</label>
			<tip>Background Changer - opens the folder containing the current background image in a new tab</tip>
			<icon1>#folder</icon1>
			<function type="normal">
				<instruction>BackgroundChanger NEWTAB</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Copy image to...</label>
			<tip>Background Changer - copy current image to path set in sript config/prefs</tip>
			<icon1>#clipcopy</icon1>
			<function type="normal">
				<instruction>BackgroundChanger COPY</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Copy image to clipboard</label>
			<tip>Copy to clipboard - image</tip>
			<icon1>#clippaste</icon1>
			<function type="normal">
				<instruction>BackgroundChanger CLIP=image</instruction>
			</function>
		</button>
		<button backcol="none" display="both" textcol="none" type="menu">
			<label>Copy path to clipboard</label>
			<icon1>#clipcopy</icon1>
			<button backcol="none" display="both" hotkey_label="yes" textcol="none">
				<label>Full Path</label>
				<icon1>#copyfolderpath2</icon1>
				<function type="normal">
					<instruction>BackgroundChanger CLIP=fullpath</instruction>
				</function>
			</button>
			<button backcol="none" display="both" hotkey_label="yes" textcol="none">
				<label>Path only</label>
				<icon1>#copyfullpathnames2</icon1>
				<function type="normal">
					<instruction>BackgroundChanger CLIP=path</instruction>
				</function>
			</button>
			<button backcol="none" display="both" hotkey_label="yes" textcol="none">
				<label>Full Name</label>
				<icon1>#copyfilenames2</icon1>
				<function type="normal">
					<instruction>BackgroundChanger CLIP=fullname</instruction>
				</function>
			</button>
			<button backcol="none" display="both" hotkey_label="yes" textcol="none">
				<label>Name only</label>
				<icon1>#copyfilenames2</icon1>
				<function type="normal">
					<instruction>BackgroundChanger CLIP=name</instruction>
				</function>
			</button>
		</button>
		<button backcol="none" display="both" hotkey="ctrl+shift+R" hotkey_label="yes" textcol="none">
			<label>Rename image</label>
			<icon1>#rename</icon1>
			<function type="normal">
				<instruction>BackgroundChanger RENAME</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey="ctrl+shift+D" hotkey_label="yes" separate="yes" textcol="none">
			<label>Delete image file</label>
			<tip>Background Changer - delete current image</tip>
			<icon1>#deletepermanent</icon1>
			<function type="normal">
				<instruction>BackgroundChanger DELETE</instruction>
			</function>
		</button>
		<button backcol="none" display="both" hotkey_label="yes" textcol="none">
			<label>Slideshow - Reset</label>
			<tip>Deletes persistant Variables and resets to defaults set in config</tip>
			<icon1>#play</icon1>
			<function type="normal">
				<instruction>BackgroundChanger TIDYUP</instruction>
			</function>
		</button>
	</button>
</button>
