What is the equivalent in Maya 2011 of the "finder" mel/python command?
I've noticed finder has disappeared and cannot find what command took its
place...

- - -

string $flBrowser = `formLayout flBrowser`;
rowLayout
    -numberOfColumns 6
    -columnWidth6 30 30 30 30 300 100
    -adjustableColumn 5
    -rowAttach 1 both 1
    -rowAttach 2 both 1
    -rowAttach 3 both 1
    -rowAttach 4 both 1
    -rowAttach 5 both 1
    -rowAttach 6 both 1
    -columnAttach5 left left left both both
    -columnOffset6 0 0 0 0 0 0
    rlTopControls;
    symbolButton
        -command "TestCmd"
        -annotation "Do Something"
        sbDo;
    setParent..; // End rowLayout

// scrollLayout
scrollLayout
    -verticalScrollBarThickness 0
    -horizontalScrollBarThickness 10
    slBrowserList;
setParent..; // End scrollLayout

string $cmd = "$ggSelect = \"\"; wmAnimBrowserGoto `finder -q " + "-filePath
fBrowser`";
*finder -filePath $dirName -command $cmd fBrowser;*

formLayout -e
    -attachForm    rlTopControls right  0
    -attachForm    rlTopControls left   0
    -attachForm    rlTopControls top    0
    -attachNone    rlTopControls bottom

    -attachForm    fBrowser      left   0
    -attachForm    fBrowser      right  0
    -attachNone    fBrowser      top
    -attachForm    fBrowser      bottom 0

    -attachForm    slBrowserList left   0
    -attachForm    slBrowserList right  0
    -attachControl slBrowserList top    0 rlTopControls
    -attachControl slBrowserList bottom 0 fBrowser
    flBrowser;

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to