ManedCalico
4 discussion posts
Hi there!
I was thinking of trying to write a custom function script to delete the current wallpaper source and then load the next random wallpaper. I know very little about C# but I used to code in VB a lot in the past, so I thought I might be able to figure it out.
Except I'm at a bit of a roadblock right from the beginning! Going through the documentation for DisplayFusion, I'm not seeing a way to reference the currently loaded wallpaper source file, just the current wallpaper profile. Is what I want to do possible? I might be overlooking something...
Just to clarify, at the moment I use the "Open Wallpaper Image in File Explorer" context menu option. However, this always opens the folder without the file selected the first time it's used for each wallpaper image. I then have to close the folder and do it again to open the folder with the file selected. I can then delete it from there and do a third context menu click to load the next wallpaper image.
I was hoping to make this a one click deal.
Any help would be appreciated, thanks!
Jul 2, 2023 (modified Jul 2, 2023)
•
#1
Is there a reason you need to delete the current image, rather than just running the "BFS.DisplayFusion.WallpaperLoadNextImage();" function?
ManedCalico
4 discussion posts
Just to keep things tidy, really!
I have the same wallpapers folder that I've been saving images into since buying DF over 10 years ago. I've been trying to delete ones that I always find myself skipping when they come up.
Ah gotcha, we took a look into this but there isn't a great way to do it via script. The easiest way is with the right click context menu on the monitor you want it removed on.
I was also able to reproduce that issue when opening file explorer, so I've added it to our list to look into.
Thanks!
ManedCalico
4 discussion posts
Thank you so much!
Even if it wouldn't be possible to delete an image directly through DF, fixing that issue is the next best thing!
We've released a new beta that should fix this up, can you try it out and let me know if the issue persists?