Old 07-25-2018, 02:58 AM   #1
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 317
Default How to rebuild/cleanup Actions List

I got some duplicate scripts from ReaPack (one repository was renamed). Deleted old versions from SCRIPTS folder, but they still show in Actions list. Reastarting Reaper doesn't remove missing scripts from list.

Is there a way to automatically remove orphaned entries from Actions list?
Or automatically synchronise Action List with files in SCRIPTS folder?

Last edited by sonicowl; 07-25-2018 at 03:04 AM.
sonicowl is offline   Reply With Quote
Old 07-25-2018, 03:29 AM   #2
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 22,541
Default

You'd need to manually remove them, or by tweaking the reaper-kb.ini file by removing the lines that refer to the path where your orphaned scripts were.
EvilDragon is online now   Reply With Quote
Old 07-25-2018, 04:17 AM   #3
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 317
Default

Quote:
Originally Posted by EvilDragon View Post
You'd need to manually remove them, or by tweaking the reaper-kb.ini file by removing the lines that refer to the path where your orphaned scripts were.

Huh, thnx, manual work then.. I wish there was a script to go through list, and check for every entry if it is present on disk...
sonicowl is offline   Reply With Quote
Old 07-25-2018, 04:20 AM   #4
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 4,455
Default

Try to do that: Extensions->Reapack->Synchronize packages and you'll get the message some scripts can be removed.
__________________
Quote:
Originally Posted by Sexan View Post
Make a thread "F%#! you Reaper! I quit!" to get more views and feedback since these kind of threads get much more traction
SoundCloudFR: True Non-destructive GLUEAll the REAPER names
vitalker is online now   Reply With Quote
Old 07-25-2018, 04:26 AM   #5
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 317
Default

Quote:
Originally Posted by vitalker View Post
Try to do that: Extensions->Reapack->Synchronize packages and you'll get the message some scripts can be removed.

No, not working. Maybe bacause I removed files from disk manually.
sonicowl is offline   Reply With Quote
Old 07-25-2018, 04:32 AM   #6
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 317
Default

Problem is with this repository: https://github.com/EUGEN27771/ReaScr...ster/index.xml


I hade two entries, one in folder EUGENE27771-ReaScripts, and one in folder EUGEN27771-ReaScripts. EUGEN was older than EUGENE, so I deleted it from disk, but orphaned entries remain in Action List.
sonicowl is offline   Reply With Quote
Old 07-25-2018, 05:01 AM   #7
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 5,484
Default

Quote:
No, not working. Maybe because I removed files from disk manually.
Indeed. this is not the proper way to uninstall Reapack scripts.


There is Script: mpl_Delete nonexistent scripts from ActionList.lua but as far as I remember it was in beta, and don't use "new" reaper.AddRemoveReaScript( add, sectionID, scriptfn, commit ) function. An update may be needed.


Backup your action file if you test it.
X-Raym is offline   Reply With Quote
Old 07-25-2018, 05:29 AM   #8
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 317
Default

Quote:
Originally Posted by X-Raym View Post
Indeed. this is not the proper way to uninstall Reapack scripts.


There is Script: mpl_Delete nonexistent scripts from ActionList.lua but as far as I remember it was in beta, and don't use "new" reaper.AddRemoveReaScript( add, sectionID, scriptfn, commit ) function. An update may be needed.


Backup your action file if you test it.
Thank you, X-Raym. Mpl's script removed orphaned entries.
sonicowl is offline   Reply With Quote
Old 07-25-2018, 06:05 AM   #9
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,541
Default

That's a bug: ReaPack should have cleaned up the action list when you uninstalled the old repository even if the files were manually deleted (this broke in v1.1). I fixed it for the next update!
cfillion is offline   Reply With Quote
Old 07-25-2018, 11:16 AM   #10
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 317
Default

Quote:
Originally Posted by cfillion View Post
That's a bug: ReaPack should have cleaned up the action list when you uninstalled the old repository even if the files were manually deleted (this broke in v1.1). I fixed it for the next update!

Thank you, cfillion.
sonicowl is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.