It is currently February 3rd, 2023, 3:29 am
Share and get help with Plugins and Addons
-
RadAd
- Posts: 13
- Joined: January 29th, 2022, 12:29 am
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?
-
ikarus1969
- Posts: 542
- Joined: February 28th, 2011, 3:20 pm
- Location: Vienna, Austria
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/