Recent project list in the File menu

Author
BobF
Max Output Level: 0 dBFS
  • Total Posts : 8124
  • Joined: 2003/11/05 18:43:11
  • Location: Missouri - USA
  • Status: offline
2015/02/01 08:14:17 (permalink)
4.5 (2)

Recent project list in the File menu

A way to edit this list would be handy.  The only way to remove an item from the list from within Sonar is to delete or move the project folder, then select the project from the list.  Sonar will then report an error and remove the project from the list.
 
Yes, I realize this is small in the grand scheme.  I'm putting it here so it can be documented and maybe addressed when somebody is doing other work nearby anyway 
 
UPDATE:  As the above process crashes Sonar, it is a big deal after all. 
post edited by BobF - 2015/02/01 08:31:38

Bob  --
Angels are crying because truth has died ...
Illegitimi non carborundum
--
Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
Waves Gold/IKM Max/Nomad Factory IS3/K11U

#1

7 Replies Related Threads

    Kev999
    Max Output Level: -36 dBFS
    • Total Posts : 3922
    • Joined: 2007/05/01 14:22:54
    • Location: Victoria, Australia
    • Status: offline
    Re: Recent project list in the File menu 2015/02/01 14:11:28 (permalink)
    0
    BobF
    A way to edit this list would be handy.  The only way to remove an item from the list...

     
    Isn't this a Windows issue rather than a Sonar one? Try deleting the relevant project's shortcut the from the Window's "Recent" folder. [Sorry that I can't advise right now about where to find this folder, as I am currently sitting in front of an XP machine].

    SonarPlatinum(22.11.0.111)|Mixbus32C(4.3.19)|DigitalPerformer(9.5.1)|Reaper(5.77)
    FractalDesign:DefineR5|i7-6850k@4.1GHz|16GB@2666MHz-DDR4|MSI:GamingProCarbonX99a|Matrox:M9148(x2)|UAD2solo(6.5.2)|W7Ult-x64-SP1
    Audient:iD22+ASP800|KRK:VXT6|+various-outboard-gear|+guitars&basses, etc.
    Having fun at work lately
    #2
    BobF
    Max Output Level: 0 dBFS
    • Total Posts : 8124
    • Joined: 2003/11/05 18:43:11
    • Location: Missouri - USA
    • Status: offline
    Re: Recent project list in the File menu 2015/02/01 14:25:10 (permalink)
    0
    I see it as cake issue since cake decided to use the win implementation, which has people in the registry to deal with it.
     
    The crash is definitely Sonar.  I'll try to find where you mentioned .

    Bob  --
    Angels are crying because truth has died ...
    Illegitimi non carborundum
    --
    Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
    Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
    Waves Gold/IKM Max/Nomad Factory IS3/K11U

    #3
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: Recent project list in the File menu 2015/02/01 14:30:54 (permalink)
    0
    The file names are stored in HKEY_CURRENT_USER\Software\Cakewalk Music Software\SONAR\Platinum\Recent File List.
    #4
    BobF
    Max Output Level: 0 dBFS
    • Total Posts : 8124
    • Joined: 2003/11/05 18:43:11
    • Location: Missouri - USA
    • Status: offline
    Re: Recent project list in the File menu 2015/02/01 14:36:37 (permalink)
    +1 (1)
    scook
    The file names are stored in HKEY_CURRENT_USER\Software\Cakewalk Music Software\SONAR\Platinum\Recent File List.




    yep, that's what I was referring to when I mention having people in the registry

    Bob  --
    Angels are crying because truth has died ...
    Illegitimi non carborundum
    --
    Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
    Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
    Waves Gold/IKM Max/Nomad Factory IS3/K11U

    #5
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: Recent project list in the File menu 2015/02/01 18:52:02 (permalink)
    0
    Here is an autohotkey script bound to Windows+R to delete selected projects from the recent file list in SONAR Platinum
     
    #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


    Edit: updated code
    post edited by scook - 2015/10/21 08:39:00
    #6
    panup
    Max Output Level: -50 dBFS
    • Total Posts : 2538
    • Joined: 2006/05/23 09:34:35
    • Status: offline
    Re: Recent project list in the File menu 2015/02/02 13:56:58 (permalink)
    0
    Removing recent file items is also possible in Duckbar version 2.2.7 or newer:
     

     
    In Duckbar you can also save / recall lists and clear all items at once.
    #7
    BobF
    Max Output Level: 0 dBFS
    • Total Posts : 8124
    • Joined: 2003/11/05 18:43:11
    • Location: Missouri - USA
    • Status: offline
    Re: Recent project list in the File menu 2015/02/03 09:14:36 (permalink)
    0
    panup
    Removing recent file items is also possible in Duckbar version 2.2.7 or newer:
     

     
    In Duckbar you can also save / recall lists and clear all items at once.


    Nice
    I just visited and tried it out.  See "I don't get it" at the DB forum

    Bob  --
    Angels are crying because truth has died ...
    Illegitimi non carborundum
    --
    Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
    Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
    Waves Gold/IKM Max/Nomad Factory IS3/K11U

    #8
    Jump to:
    © 2020 APG vNext Commercial Version 5.1