Hi, How can I use that browse button or assign command to the button, when I click on it, It should set the path? Any Idea string $window = `window`;columnLayout;textFieldButtonGrp -label "path" -buttonLabel "Browse";showWindow $window;
Your filefilter is:Maya ASCII (*.ma);) When it should be, loose the extra ) Maya ASCII (*.ma); Working example code:// a function to be called when the button gets clicked.<br> proc func() {<br> string $basicFilter = "Maya ASCII (*.ma);; Jpeg (*.jpeg *jpg);";<br> string $result[] = `fileDialog2 -fileFilter $basicFilter…
Hi thank you so much for your response I figured it out and another person helped me with that But still one small error is there it seems hard for me. Any Idea? ERROR ( // Error: line 12: Flags must come before objects: -ed ) { string $sn = `file -q -sn`;string $cfp = `dirname( $sn )`; if (`window -exists ScreenCapture`)…