It is currently February 3rd, 2023, 3:29 am

VirtualDesktop plugin

Share and get help with Plugins and Addons
RadAd
Posts: 13
Joined: January 29th, 2022, 12:29 am

Re: VirtualDesktop plugin

Post by RadAd »

To get the current desktop wallpaper:

Code: Select all

String=[Measure_VirtualDesktop:Wallpaper()]
To get the desktop wallpaper for desktop 1:

Code: Select all

String=[Measure_VirtualDesktop:Wallpaper(1)]
Why did you put in the ampersand? What does that do?
User avatar
ikarus1969
Posts: 542
Joined: February 28th, 2011, 3:20 pm
Location: Vienna, Austria

Re: VirtualDesktop plugin

Post by ikarus1969 »

Thank you for your help!
RadAd wrote: January 19th, 2023, 1:38 am
Why did you put in the ampersand? What does that do?
The ampersand is the nested version of calling a measure for embedding other measures and/or variables.
They are always dynamically resolved when used.
See documentation: https://docs.rainmeter.net/manual/variables/nesting-variables/