Please Help, Destroyed My Custom Actions (Solved)

So I must have been doing something really stupid, but I can't figure out what. I have been creating a little library of utilities and plug ins in the "scripts" custom actions folder, with lots of subfolder etc., to keep things organized. Then I redid all my DAZ libraries, and the name of the place where the scripts are installed changed. I could still see the entries in the "scripts" list, but of course the scripts themselves weren't accessible. I planned to change the custom actions file manually later on.
Then I bought this cool toolbox https://www.daz3d.com/code-66-toolbox--volume-3 and tried out the custom actions manager. I thought it would maybe help me with the reorganizing. But unfortunately, it didn't see any custom actions at all at first, and when I closed the script, the "script" entry in the menu suddenly wouldn't open anymore, as if I had no entries in there. I kind of panicked, closed DS, and changed the file locations in the custom actions dsx file manually to the new location. But they're not coming back to DS!
The toolbox scriptie now does see all the custom actions available, but according to it, none has an entry in either "scripts" or "favorites". I can install new entries, and they show up all right in DS/scripts, but nothing else does, and the weirdest thing is: the new entries get appended to the original custom actions.dsx file, and everything else is still also in there, but not showing up!
This is driving me nuts, I spent aaaaages organizing all the scripts. Could somebody help me please? Has anyone experienced a similar thing or knows how to fix this?
Comments
Are they listed in Window>Workspace>Customise, under Custom on the left?
Hi Richard, thanks for helping! Yes, they're all there.
Edit: Will have to sleep now, but will check back tomorrow right away, any ideas much welcome!
Yea, customactions.dsx stores all custom actions that you defined but whether they show as menu items under Favorites / Scripts depends on the file menus.dsx. Have you checked that file ? A custom action links to a menu item by its GUID, that 36 digits string.
Then, press F3 in DS, on the right, under Menu tab > Main Menu Bar > Favorites / Scripts, can you find the custom actions that you want ? or just some question marks ?
That's valuable info, thank you! I'll check the menu file and connection later today!
@crosswind, I'm so sorry but I just can't make head or tail of the menus.dsx. In my setup, there's an enormous number of 'action class' listings in there, but nothing that seems to relate to my entries or the sub-categories I created for them. And the file is massively long, so I don't really know what to do with it.
Also, I can't even find the menu items "favorites" and "scripts" in the place that you described, I usually find them in the left-hand side menu, like where Richard described above.And in this place, yes, they're all there. It's so weird.
Well, it should be pretty easy to do the trouble-shooting in the above-mentioned ways.
- Trouble-shooting thru customactions.dsx and menu.dsx:
1) Locate an Action in customactions.dsx, you'll clearly see a 36 digits GUID (shown as Name="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") (ss1). Select GUID and Ctrl + C to copy it.
2) Search the GUID in menu.dsx... If you can find it (ss2), then you should be able to see it under Favorites or Scripts menu. (ss3) This means: everything is well configured and saved in customactions.dsx and menu.dsx.
- Trouble-shooting thru F3 (Window > Workspace > Customize...)
1) Locate the Action under Custom on the left, you should be able to see the action under the expected menu item on the right, under Menu > Main Manu Bar, with the same Label. (ss4)
2) If you can only find a string started with question marks ??, that means the correct configuration is lost. (ss5) You can simply delete the wrong line started with ??, then drag the Action from the left to the right, under the target menu item. (ss6)
@crosswind, thanks very much again! Okay, I understand what I have to look for now in the menus file. In DS itself, all script entries are gone since I used the little script from the Code66 toolbox, like I mentioned initially. But maybe I can find an older copy of the menus.dsx.
NP ! Let us know if there's still any issue ~~
Sorry for being late! Finally found time to try this out, and it worked just great. Can't thank you enough!
None of the actions were in the menu file or under 'scripts' anymore, so I dragged them over like you described and then went on and created new actions for the scripts I hadn't added yet. All's really cool now! I'll mark the thread as solved.