fxT_revealInFolder v2.0
This location is for Registered Users Only.
Perhaps you need to login or register.
9.0, 8.0, 7.1, 7.0, 6.3, 6.2, 6.1, 6.0 or later
Linux, Mac, Windows


fxT_revealInFolder v2.0
This script loops through all selected nodes and checks if the node has a file knob. If a file knob is present, the path will be opened in the OS file manager/browser. The user will be notified if nothing is selected or if the user does not select any nodes that have an existing file-path. If a selected node has a nonexistent path, this will be printed in the script editor, and the script will continue to process the next selected node. All paths are tested for an existing file. However, due to rendered files being frequently opened and deleted, write nodes only test for an existing directory.
OS Support: Windows, OSX, Linux
Linux:
As there is no standard file manager on Linux, I have chosen to set the file manager/browser for Linux as a fixed variable.
This can be set in the 'setLinuxFileManager.py' file, where you can also find instructions for how to set your chosen file manager if you prefer a certain app for that. PS: It's very easy, no scripting knowledge is needed.
Supports: Existing paths of the type:
- scripted paths (for example, paths made up of TCL)
- local paths
- server paths
Install Notes:
Full install notes are listed step by step in the top of the python file.
IMPORTANT: To change the file manager used on linux, edit the 'filemagager'-variable in the attached python file.
To install the tool in it's own nuke menu with the attached menu icon: please see attached 'init.py' and 'menu.py' files.
Install the tool and icon file according to the paths in the 'init.py' file, or alternetivly change these paths to your own preferred install location.
Comments
Enjoy, and please feel free to comment if you have bug reports or suggested feature updates.
Interesting, yes that can be fixed but I'll have to look into it - didn't have a linux machine at hand when writing the tool. I'll post a update here when I get to it.
If you want to poke around yourself before I get to it, here is a link: http://community.thefoundry.co.uk/discussion/topic.aspx?f=189&t=98157
replaced :
nukescripts.start(openPath)
with :
n = openPath
inner_cmd = '\"dolphin %s &\"' %n
exec "os.system(%s)" %inner_cmd
This now opens dolphin with the selected nodes file path. Its probably not the best way, but it works xD
I have included a separate python file where one can set the file manager/browser of choice. No need to edit the main python file. Instructions is included in the .py file.
Menu icon is also included.
I just did a clean install of the latest version of this script, and it works as it's suppose to.
Can you clarify a little more? What OS are you running and are you running the latest version?
http://www.nukepedia.com/python/misc/browsedir
This cannot browse multiple paths at once though.
I usually have a shot-menu that can access the various folders of the show (renderfolder, scriptfolder, ref folders and so on, that is based on the script directory. Though it's very studio specific.
Thanks again for sharing :)
RSS feed for comments to this post