Scripts menu disappeared?

Why did my scripts menu disappear? How can I get it back?

Comments

  • It's part of the layout, so if you've saved a layout you could try reloading it (Window>Workspace sub0menu). Failing that, you can rebuild it in Window>Workspace>Customise - the custom actions, assuming they are still there, are in the first group on the left, the Scripts menu is (or can be, via right-click) under main Menus in the Menus tab on the right - just drag the actions from the left into the menu on the right.

  • Reality1Reality1 Posts: 115

    Richard Haseltine said:

    It's part of the layout, so if you've saved a layout you could try reloading it (Window>Workspace sub0menu). Failing that, you can rebuild it in Window>Workspace>Customise - the custom actions, assuming they are still there, are in the first group on the left, the Scripts menu is (or can be, via right-click) under main Menus in the Menus tab on the right - just drag the actions from the left into the menu on the right.

    I'm seeing the same issue after the blender bridge script crashed exporting a figure. The scripts menu just vanished from the main menu bar.

    Resetting the layout to one of the prefab layouts didn't bring the scripts menu back, and it doesn't even appear to be an option anymore in left pane of the customization panel.

    Any other ideas on accessing or resetting it? 

    indecision

  • Richard HaseltineRichard Haseltine Posts: 100,946

    Yes, reloading a layout saved before adding the Scripts menu will niot restore it - that's why my quoted reply says if the user had saved their layout. Looking in Window>Workspace>Customise the commands should be on the elft, under Custom Actions. Assuming they are, you can recreate the Scripts menu under the main Manu in the Menus tab on the right by right-click menu, then just drag the command across from left to the new menu (or any other menu you wish to place it in)..

  • 3dLux3dLux Posts: 1,231

    The April 22 post (the last one as of this posting) has screenshots of how to add scripts menu to the toolbar:  https://www.daz3d.com/forums/discussion/127786/how-can-i-add-the-scripts-menu-to-the-tool-bar-at-the-top-of-daz-studio-4-9

  • benniewoodellbenniewoodell Posts: 1,969

    When the scripts disappear for like the Blender Bridge, I just uninstall and reinstall it and it's always shown back up for me. 

  • Reality1Reality1 Posts: 115

    benniewoodell said:

    When the scripts disappear for like the Blender Bridge, I just uninstall and reinstall it and it's always shown back up for me. 

    Uninstall the bridge from the "Installed" tab of the Install Manager. Then install again from the "Ready to Install" tab. That works. Thanks!

  • MarshianMarshian Posts: 1,462
    edited September 2021

    It happened again. I really need to figure this out. I've saved layouts, menus, tools, actions, all the options and I can't get the scripts back. They aren't on the left side anymore and the scripts on the right are just code, the thumbnails are gone. I can't link any actions I've done. I didn't update/merge menus or update DS. Any thoughts?  

    DAZ3D Scripts disappear.png
    892 x 1447 - 698K
    Post edited by Marshian on
  • Did youn save custom actions? Are the scriptss till available to DS as files?

  • MarshianMarshian Posts: 1,462
    edited September 2021

    I've saved all the options available, as separate files, none of them will load or override what's happening. And yes, The presets I've made scripts from are still available. I dont get a notice that they are not available. At the tool bar its empty but under customize the list of code shows under scripts (screencap above) 

    Screenshot 2021-09-16 145521.png
    295 x 177 - 21K
    Post edited by Marshian on
  • The problem is that the definitions of the custom actions are apprently missing, broken, or pointing to the wrong place so DS can't resolve them. The menu doesn't store the action directly, it stores an identifier (the GUID) that it uses to figure out which action to use.

  • MarshianMarshian Posts: 1,462

    Hi Richard.

    That's helpful, thanks. let's track this down a bit--> is the guid something I can delete like preferences or a cache and then reload my saved layout, menu, action, tools, etc? If so where is it? 

  • It's in the action definition, in

    %AppData%/DAZ 3D/Studio4/customactions.dsx

  • barbultbarbult Posts: 24,244
    Did you remove any content libraries from the content directory manager? Did you uninstall any referenced items from Daz Connect and install them with DIM or Central instead, which essentially moves them from one content library to another?
  • MarshianMarshian Posts: 1,462

    Hi barbult. I didn't remove any directories that had presets saved as actions, only the ones that the validator made to check my products. I have been uninstalling older broken products and reinstalling through DIM but I dont think it was any referenced items and I haven't done this recently. When I've moved a referenced item before I get a warning when trying to run the action, which is not happening here---> they are all just gone

  • MarshianMarshian Posts: 1,462
    edited September 2021

    This is all thats listed in the customactions.dsx file which is almost nothing compared to the other dsx files in this area:

    <DAZStudioActionMgr Version="1.3.0.0">
     <CustomActionList/>
    </DAZStudioActionMgr>

    Deleting the customactions.dsx ( while DS is closed) and reloading my saved dsx settings did not bring the scripts back. Let me know if you have another idea. I usually have dozens of scripts saved to speed up my workflow. I really miss them and may start building the list again. Maybe I'll create a backup folder so I can add them back in.

    Whatever is going on here makes the saved layouts, useless in restoring the scripts and getting rid of the non-functioning coding that's left behind. I'm thinking customactions.dsx is the file that needs to be saved elsewhere so that the corrupted one can be replaced.  

    I found Richards post on backing all of this up via script: https://www.daz3d.com/forums/discussion/comment/4508656/#Comment_4508656

     

    Richard Haseltine said:

    It's in the action definition, in

    %AppData%/DAZ 3D/Studio4/customactions.dsx

    Post edited by Marshian on
  • barbultbarbult Posts: 24,244

    Thank you for the link to the sample script. I ran it today to back up my current file set.

    Another thought - if you have both a Beta and a Release version installed on your computer, maybe the other one still has a version of your custom actions file. The Beta file set is in %AppData%/DAZ 3D/Studio4 Public Build/customactions.dsx.

  • MarshianMarshian Posts: 1,462

    Oooo I hadn't thought of that--> excited to hunt that down and check it to find out... it was also empty 

    barbult said:

    Thank you for the link to the sample script. I ran it today to back up my current file set.

    Another thought - if you have both a Beta and a Release version installed on your computer, maybe the other one still has a version of your custom actions file. The Beta file set is in %AppData%/DAZ 3D/Studio4 Public Build/customactions.dsx.

  • barbultbarbult Posts: 24,244
    edited September 2021

    I'm sorry to hear that both were empty. That is strange. I can't think of any other ideas now, unless you have a general backup of your whole computer that you haven't thought about.

    I wonder if that validator you mentioned has a bug.

    Post edited by barbult on
  • MarshianMarshian Posts: 1,462
    edited December 2021

    These are the files I back up every time I add new scripts.  --> After I close DS

    Screenshot 2021-12-10 215402.png
    696 x 980 - 96K
    Post edited by Marshian on
  • Did you get a resolve to this? I have the same issue. Problem is I could never get any bridge to populate in either "Send To" or "Bridges". I have the 4.16 version on mac64-bit. No matter how much I uninstall and install I have issues and oddly I've noticed that blender can be in my files folder on moment and disappear the next it is absolutely frustrating. 

  • For a long time now, for a very long time, I have seen studio in the newest version delete most (not all) of my scripts after every 2 to 3 days. I have tried everything for a very long time to correct this. I have even moved all the scripts into a saved folder and reloaded them into the correct directories and that does not help. When this happens I then have to do a complete restore from acronis backups back to a time when they were there. And then I restore everything of all my work files or corrections I've worked on from an acronis  exernal backup. What is happening to the scripts?????.

    I do nothing to cause this. It has been going on for a very long time (a couple of years) and there are quite a few comments on the forums about this very thing. There is some kind of flaw in dazstudio the latest versions.

    Richard Haseltine has mentioned this, too.

  • barbultbarbult Posts: 24,244

    innes53_4e67625942 said:

    For a long time now, for a very long time, I have seen studio in the newest version delete most (not all) of my scripts after every 2 to 3 days. I have tried everything for a very long time to correct this. I have even moved all the scripts into a saved folder and reloaded them into the correct directories and that does not help. When this happens I then have to do a complete restore from acronis backups back to a time when they were there. And then I restore everything of all my work files or corrections I've worked on from an acronis  exernal backup. What is happening to the scripts?????.

    I do nothing to cause this. It has been going on for a very long time (a couple of years) and there are quite a few comments on the forums about this very thing. There is some kind of flaw in dazstudio the latest versions.

    Richard Haseltine has mentioned this, too.

    Do you let Daz Studio take the time it needs to close when you exit, or do you kill it with the Task Manager? We've been told that killing the process can cause user interface problems like that.

    Do you save our Workspace when it is in a good state and then try to reload the Workspace after your scripts disappear? I wonder if that would work to restore them to the interface.

    Are you using the latest version of Daz Studio (4.21) or an older version? I haven't had the scripts menu disappear for years now. I am on 4.21.

  • barbult said:

    innes53_4e67625942 said:

    For a long time now, for a very long time, I have seen studio in the newest version delete most (not all) of my scripts after every 2 to 3 days. I have tried everything for a very long time to correct this. I have even moved all the scripts into a saved folder and reloaded them into the correct directories and that does not help. When this happens I then have to do a complete restore from acronis backups back to a time when they were there. And then I restore everything of all my work files or corrections I've worked on from an acronis  exernal backup. What is happening to the scripts?????.

    I do nothing to cause this. It has been going on for a very long time (a couple of years) and there are quite a few comments on the forums about this very thing. There is some kind of flaw in dazstudio the latest versions.

    Richard Haseltine has mentioned this, too.

    Do you let Daz Studio take the time it needs to close when you exit, or do you kill it with the Task Manager? We've been told that killing the process can cause user interface problems like that.

    Do you save our Workspace when it is in a good state and then try to reload the Workspace after your scripts disappear? I wonder if that would work to restore them to the interface.

    Are you using the latest version of Daz Studio (4.21) or an older version? I haven't had the scripts menu disappear for years now. I am on 4.21.

    THanks for responding...I have done all that you mentioned...it appears to be random...I have been unable to figure it out...I close DAz normally...I do nothing to disturb the situation...yet, next time (often after a few day) half or more of my scripts are missing...I do have a lot of scripts and have wondered if the number of scripts is the problem...I have close to 50 of them in the menu...Thank you for responding...I would like others who have seen this behaviour to contribute if possible...

  • innes53_4e67625942 said:

    barbult said:

    innes53_4e67625942 said:

    For a long time now, for a very long time, I have seen studio in the newest version delete most (not all) of my scripts after every 2 to 3 days. I have tried everything for a very long time to correct this. I have even moved all the scripts into a saved folder and reloaded them into the correct directories and that does not help. When this happens I then have to do a complete restore from acronis backups back to a time when they were there. And then I restore everything of all my work files or corrections I've worked on from an acronis  exernal backup. What is happening to the scripts?????.

    I do nothing to cause this. It has been going on for a very long time (a couple of years) and there are quite a few comments on the forums about this very thing. There is some kind of flaw in dazstudio the latest versions.

    Richard Haseltine has mentioned this, too.

    Do you let Daz Studio take the time it needs to close when you exit, or do you kill it with the Task Manager? We've been told that killing the process can cause user interface problems like that.

    Do you save our Workspace when it is in a good state and then try to reload the Workspace after your scripts disappear? I wonder if that would work to restore them to the interface.

    Are you using the latest version of Daz Studio (4.21) or an older version? I haven't had the scripts menu disappear for years now. I am on 4.21.

    THanks for responding...I have done all that you mentioned...it appears to be random...I have been unable to figure it out...I close DAz normally...I do nothing to disturb the situation...yet, next time (often after a few day) half or more of my scripts are missing...I do have a lot of scripts and have wondered if the number of scripts is the problem...I have close to 50 of them in the menu...Thank you for responding...I would like others who have seen this behaviour to contribute if possible...

    And yes, I'm using 4.21.0.5   I always update as soon as they appear...maybe that's a mistake.

  • innes53_4e67625942 said:

    innes53_4e67625942 said:

    barbult said:

    innes53_4e67625942 said:

    For a long time now, for a very long time, I have seen studio in the newest version delete most (not all) of my scripts after every 2 to 3 days. I have tried everything for a very long time to correct this. I have even moved all the scripts into a saved folder and reloaded them into the correct directories and that does not help. When this happens I then have to do a complete restore from acronis backups back to a time when they were there. And then I restore everything of all my work files or corrections I've worked on from an acronis  exernal backup. What is happening to the scripts?????.

    I do nothing to cause this. It has been going on for a very long time (a couple of years) and there are quite a few comments on the forums about this very thing. There is some kind of flaw in dazstudio the latest versions.

    Richard Haseltine has mentioned this, too.

    Do you let Daz Studio take the time it needs to close when you exit, or do you kill it with the Task Manager? We've been told that killing the process can cause user interface problems like that.

    Do you save our Workspace when it is in a good state and then try to reload the Workspace after your scripts disappear? I wonder if that would work to restore them to the interface.

    Are you using the latest version of Daz Studio (4.21) or an older version? I haven't had the scripts menu disappear for years now. I am on 4.21.

    THanks for responding...I have done all that you mentioned...it appears to be random...I have been unable to figure it out...I close DAz normally...I do nothing to disturb the situation...yet, next time (often after a few day) half or more of my scripts are missing...I do have a lot of scripts and have wondered if the number of scripts is the problem...I have close to 50 of them in the menu...Thank you for responding...I would like others who have seen this behaviour to contribute if possible...

    And yes, I'm using 4.21.0.5   I always update as soon as they appear...maybe that's a mistake.

    Also, yes...I save the workspaces that work properly for the scripts...I have so may workspaces saved now, you would not believe...but that is not the problem...they do not suddenly restore the scripts...I must do an Acronis complete restore.

  • barbultbarbult Posts: 24,244

    I'm sorry I wasn't able to offer a suggestion that you hadn't already tried unsuccessfully. Like you say, maybe someone else that has experienced the same problem will have another idea.

  • crosswindcrosswind Posts: 6,986

    As long as you well save your Workspace - Layout and do not modify the location where your scripts are, there shouldn't be any problem, even if you kill the DS session in Task Manager.
    Well, in addition to saving Layout, you could also backup : %AppData%\DAZ 3D\Studio4\ (the whole folder). After similar issue incurs, restore your back-up.

  • If the scripts vanish are they still listed in Window>Workspace>Customise, in the Custom group on the left? Are they still listed in the menus tab on the right, under main menus>Scripts (or wherever you have them)?

  • llastffirst1234 said:

    Why did my scripts menu disappear? How can I get it back?
     

    Heyo! This helped to get it back for me.  Window -> Workspace -> Update and Merge Menus

    NVIDIA_Share_3inUN21IJi.png
    455 x 187 - 15K
Sign In or Register to comment.