It is currently April 27th, 2024, 1:00 am
Remove update / Point to directory
-
- Posts: 10
- Joined: November 25th, 2013, 2:43 am
Re: Remove update / Point to directory
Aaaah, alright. I was just wondering in case it would be a quick fix. Thanks again for the help earlier!
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Remove update / Point to directory
Sure thing.
-
- Posts: 115
- Joined: February 6th, 2016, 11:06 pm
Re: Remove update / Point to directory
Can I jump in and say that Brian wrote a nifty hotkey plugin found here and that you can use cmd.exe to delete a specified file using the del /q <FileName> command?
So you could write a measure like this to delete the given file:
And then tacking on some code for the new wallpaper and a refresh.
So you could write a measure like this to delete the given file:
Code: Select all
[DeleteWallpaper]
Measure=Plugin
Plugin=HotKey
HotKey=LALT D LBUTTON
KeyUpAction=["cmd.exe" /c del /q "%USERPROFILE%\Documents\Visual\Wallpaper\#CurrentWallpaperName#.png"]
-
- Posts: 10
- Joined: November 25th, 2013, 2:43 am
Re: Remove update / Point to directory
Oh my god man. I come here (after a year, this is kind of a tradition now) to check if I'm able to do this now and I try your method, but it doesn't work so I switch some parameters, among them "#CurrentWallpaperName#" to "*#Name#*" and it deleted ALL my wallpapers... thanks f---ing god I got most of them back with a program. And yes it's my fault, but what a scare that was.
Sooo, what would be the correct term?
It's not getting deleted with this.
Sooo, what would be the correct term?
Code: Select all
[DeleteWallpaper]
Measure=Plugin
Plugin=HotKey
HotKey=LALT
KeyUpAction=["cmd.exe" /c del /q "C:\Wallpapers\#CurrentWallpaperName#.png" "C:\Wallpapers\#CurrentWallpaperName#.jpeg" "C:\Wallpapers\#CurrentWallpaperName#.jpg"] [!Refresh]
-
- Posts: 10
- Joined: November 25th, 2013, 2:43 am
Re: Remove update / Point to directory
Me again. I don't mind what I asked last time now, but I would like to know if it's possible for it to remember the image used as a wallpaper rather than loading a random one every time Rainmeter is launched (so every time I restart my computer).