Jump to content

Make it able to clear "Recent Projects" list.


Miguel Ruiz

Recommended Posts

Its a silly thing to want, perhaps, but it would be nice to clear the recent projects list in the file tab.  And also when you have projects with a single word for a title it only shows the title instead of the file location with the title in the recent projects list.

-Mig

  • Great Idea 2
Link to comment
Share on other sites

Yes there would be good to make Start screen of project management system where posibility sort projects by Year, month, day.

Also would be good to ability filter projects by many criteria and condition. For example view Projects with tempo < 120 and in april good filter option into start screen and ability to view all projects would be good.

Also posibility to select multiple  projects by filter and export in zip or rar file.

Edited by solarlux
  • Like 2
Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...

To clear the Recent File List in CbB (which also clears the Start Screen) from the Windows command line enter

reg delete "HKEY_CURRENT_USER\SOFTWARE\Cakewalk Music Software\Cakewalk\Core\Recent File List" /va

Store in a bat or cmd file for reuse.

Or for those familiar with AutoHotkey,  I wrote a simple script with a GUI to perform the same task but never bothered to port it to CbB.

The script is in this thread on the old forum.

Here is the original code for SONAR Platinum bound to the shortcut Windows+R

#r::
  ;HKCU path, modify for your version of SONAR
  recentFileList := "Software\Cakewalk Music Software\SONAR\Platinum\Recent File List"
  varCount = 0 ; count of registry entries with data
  totalCount = 1 ; total count of registry entries
 
  Gui, New, , SONAR Recently Used List
  Gui, Add, Text, , Check items to delete then click OK
  ; loop to create check list of projects from registry Recent File List
  Loop, Reg,  HKEY_CURRENT_USER\%recentFileList%, V
  {
    RegRead, value
    If ErrorLevel
    {
      MsgBox, 16, Error, Unable to read %A_LoopRegName%
      Goto GuiClose
    }
    
    ; only show checkboxes for keys with data
    if value
    {
      Array%A_Index% := value
      Gui, Add, Checkbox, vFile%A_Index%, %value%
      varCount += 1
    }
    totalCount += 1
  }
  Gui, Add, Button, w60 default xm Section, OK
  Gui, Add, Button, x+80 ys w60, &Cancel
  Gui, Show
  Return

ButtonOK:
  Gui, Submit
  Gui, Cancel
  keyCount = 1 ; used to create registry keys
  ; loop to write out unchecked projects
  Loop, %varCount%
  {
    variable := File%A_Index% ; checkbox variables
    element := Array%A_Index% ; registry string values
    IfEqual, variable, 0
    {
      RegWrite, REG_SZ, HKEY_CURRENT_USER, %recentFileList%, File%keyCount%, %element%
      keyCount += 1
    }
  }
  ; loop to delete extra keys
  While keyCount < totalCount
  {
    RegDelete, HKEY_CURRENT_USER, %recentFileList%, File%keyCount%
    keyCount += 1
  }
 
ButtonCancel:
GuiClose:
GuiEscape:
  Gui, Destroy
  ExitApp
	

It looks like this

30JurfR.png

At a minimum, for CbB change 

recentFileList := "Software\Cakewalk Music Software\SONAR\Platinum\Recent File List"

to

recentFileList :="Software\Cakewalk Music Software\Cakewalk\Core\Recent File List"

  • Great Idea 2
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...