Promidi Posted October 1 Posted October 1 Currently, to clear the picture Cache, one has to open Preferences - File - Audio Data, copy the path displayed in “Picture Folder”, Open up a Windows Explorer Window (Winkey + E) , Paste the copied path, then delete the files therein. That's quite a few steps. In Preferences - File - Audio Data,c an we please have an “Empty Picture Cache” button to the right of the browse button that does all of the above in one step. (Yeah, I know. What can I say, I'm lazy).
Chaps Posted October 1 Posted October 1 I use a trick modified from something I learned from Scott Garrigus' website, DigiFreq. I created a .TXT file that contains the text DEL /Q "C:\CAKEWALK PROJECTS\PICTURE CACHE\* I saved the file with the name DELETEPICS and changed the file name extension from .TXT to BAT . When I double click the file it deletes everything in that folder. 1
Promidi Posted October 1 Author Posted October 1 2 minutes ago, Chaps said: I use a trick modified from something I learned from Scott Garrigus' website, DigiFreq. I created a .TXT file that contains the text DEL /Q "C:\CAKEWALK PROJECTS\PICTURE CACHE\* That's not a bad idea. Though I would need to extract the actual location from the registry. An Autohotkey script could do this. One could create the EXE file (using Autohotkey) , then add the entry to the Sonar Tools menu to delete picture cache. 1
aleo Posted 8 hours ago Posted 8 hours ago Quote One could create the EXE file (using Autohotkey) , then add the entry to the Sonar Tools menu to delete picture cache. Promidi, that's an even better idea. I encourage the Bakers to add Delete Picture Cache to the Sonar Tools menu in the next version on Sonar. It would be a great time saver!
Promidi Posted 3 hours ago Author Posted 3 hours ago (edited) 33 minutes ago, Xoo said: Or just a .cmd file so no need for AHK even. As long as the CMD file uses the location of the picture cache that is stored in the %AppData%\Cakewalk\sonar\aud.INI file, rather than an absolute path. Not everyone has their picture cache in "C:\CAKEWALK PROJECTS\PICTURE CACHE" Edited 3 hours ago by Promidi
sjoens Posted 2 hours ago Posted 2 hours ago (edited) On 9/30/2025 at 5:43 PM, Chaps said: DEL /Q "C:\CAKEWALK PROJECTS\PICTURE CACHE\* Curious if there should be an end quote somewhere? Edited 2 hours ago by sjoens 1
Chaps Posted 1 hour ago Posted 1 hour ago (edited) 2 hours ago, sjoens said: Curious if there should be an end quote somewhere? That's a very good question so I checked it out. If the text in the .BAT file has NO quotation marks no files are deleted when I double click the .BAT file If the text has ONE quotation mark all files are deleted. If the text has TWO quotation marks (Quote-End Quote) all files are deleted. Why this is so I am not qualified to answer. All I did was make the file according to instructions I found online years ago. Because it worked as desired I never gave it another thought. None of those deletes folders, only files. Edited 20 minutes ago by Chaps 1
Promidi Posted 1 hour ago Author Posted 1 hour ago I would be using the following: DEL /Q "C:\CAKEWALK PROJECTS\PICTURE CACHE\*.*" This is assuming that’s where my Picture Cache actually resides (which, on My PC, it doesn’t)
sjoens Posted 26 minutes ago Posted 26 minutes ago (edited) Seems to work either way. I made a shortcut for the BAT file and then included a KB shortcut for it, but it only worked once for some reason. BTW, I know where my folder is so to empty it I just open it, ctrl+A and hit delete. Edited 12 minutes ago by sjoens
Chaps Posted 15 minutes ago Posted 15 minutes ago 10 minutes ago, sjoens said: Seems to work either way. I made a shortcut for the BAT file and then included a KB shortcut for it, but it only worked once for some reason. You made a keyboard shortcut in Sonar to execute the .BAT file? I didn't think you could do that.
sjoens Posted 7 minutes ago Posted 7 minutes ago If it were that easy. You can assign a KB shortcut within a shortcut and assign admin privys to it. I may have goofed it up tho.
Promidi Posted 7 minutes ago Author Posted 7 minutes ago 4 minutes ago, Chaps said: You made a keyboard shortcut in Sonar to execute the .BAT file? I didn't think you could do that. I am curious about this as well. I am pretty sure you cannot create a keyboard shortcut in Sonar to execute the .BAT file. It is likely that the keyboard shortcut is a Windows global keyboard shortcut. You can assign keyboard shortcut to shortcuts. Personally, I still prefer the Autohotkey and Sonar tools menu method.
sjoens Posted 4 minutes ago Posted 4 minutes ago You'd know this if you just wait till I'm done typing on this tiny mobile device keypad. 😁
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now