system shortcuts inside runtime/content directories?
twitchew
Posts: 124
I have a beeing spending a lot of time traversing the folders and files in my daz content areas and poser runtime. I was hoping that maybe i could go tinto the file system and use the windows shortcuts to, well, make a shortcut to folders i use. I have tried to make shortcuts, but they don't show up in the folder structure in studio. Is there any setting or adjustment i can make that would let studio use shortcuts like this? (i have not tried the smartcontent system, not all of my content is registered there).
I know that i can stick things onto the toolbar as a custom action, but that list is getting long.
Comments
Not as far as I know Confirmed to not be possible. You could use a script to switch, that would appear in the DS Fomrat content directories 9and could be placed in Poser format directories if it had a dummy Poser file with the same base name beside it).
thanks!
no easy solution but i guess i can build a few scripts.
You can always snag this magnificent script! I run a tonne of programs directly from my content library!
This script works. You only need to modify the path on the last line and it will jump you to that path in your content directory. There is a separate version for Daz Studio and Poser libraries.
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/specific_ui/set_content_library_container/start
The first solution i'd propose is setting up a folder for the items you use a lot, create links to the items(select item in DS>Right click>Create link for asset), and map that folder towards the top of CDM(content directory manager), or add an exclaimation point, or several, to get it to the top of the directory.
The second is Visual menus(https://www.daz3d.com/visualmenus ). At first i thought it was a solution looking for a problem, but it can be very useful for repetitive actions, and the menus can be assigned to short cut keys.
And of course, you could always manually organize everything on a folder level to make it easier to find with less folder flipping.
I created a folder titled "!People" in the root of my library folder (see below) so its right there when I click on My Daz 3D Library. Visual Menus is great for grabbing individual items (see below) but it can't jump you to a folder like this script can.
Is there a way to run this script outside of DS (e.g. doubleclicking it in Explorer) so I doesn't start a new instance of DS but opens the selected folder in the currently running DS instance?
I can't say for sure as I haven't tinkered with scripts outside of the DS environment. You do have me curious though.
As I understand Wendy and Richard in this thread it should be possible but I'm not sure how. Command line perhaps? Any documentation on DS command lines anywhere?
https://www.daz3d.com/forums/discussion/384201/run-ds-script-from-another-program#latest
Maybe use symbolic links?
Hm, what is that?
https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
OK, thanks. I doubt that will make any difference though, as it's just an indirect way of running the script. The problem is that DS starts a new instance instead of running it inside the one currently running, when I run the script externally. I've only tried with 4.11 official release though, you mentioned somewhere else that 4.12 instancing has been updated so maybe there is a chance it might work here?
You could try drag-and-drop too, to the Vieport of the open version of DS.
That works yes, but the idea is to run the script from another program which modifies the library path in the script dynamically so drag-n-drop can't be used here.
In that case could you not use the command line approach?
I've considered it but can't find any useful documentation on it. I've found a class called DzProcess for communicating with external programs, but the info is very limited:
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/process_dz#a_1a836c27e2d64d0efa4a526150bdf6f3e5
The page has a link to an example script which probably would be very helpful:
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/render_to_rib
but that link is broken.
Well I actually managed to find the script on google:
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/rendering/render_to_rib/start
but that doesn't help much.
Think I'll try the developer forums to see if anyone knows something there.