Hi, Thank you so much Here is the final code string $path; int $fill = size($path); if ($fill < 1) {print("select one or more object please ");confirmDialog -t"Select Error...." -m"Set Path Or Click Reload " -button "Close" -cancelButton "Close" -dismissString "Close";} else { setAttr "defaultRenderGlobals.imageFormat" 8;…
Thank you just a small doubt I added a condition to my procedure but it seems to be not working. global proc Capture(){ global string $rsTxtFld, $rsTxtName; string $path = `textFieldButtonGrp -q -tx $rsTxtFld`; string $FileName = `textField -q -tx $rsTxtName`; string $k = ($path + ("/"+$FileName+".jpg")); if…
Hi, In my #MEL command browse button is not working I'm getting an error // Error: line 56: Object 'rsTxtPath' not found. ANY IDEA? proc ScreenCaptureWin() { global string $rsTxtPath, $rsTxtName; string $sn = `file -q -sn`; string $cfp = `dirname( $sn )`; if (`window -exists ScreenCapture`) //closes window if already open…
Hi, I hope this time I'm right. Now Error is // Error: line 65: Object '' not found. global string $rsTxtPath;global string $rsTxtName;global proc ScreenCaptureWin() { string $sn = `file -q -sn`;string $cfp = `dirname( $sn )`; if (`window -exists ScreenCapture`) //closes window if already opendeleteUI ScreenCapture; window…
I did Now I'm getting a different error ( // Error: Line 61.48: "$rsTxtPath" is an undeclared variable. ) Any help global string $rsTxtPath, $rsTxtName;global proc ScreenCaptureWin() { string $sn = `file -q -sn`;string $cfp = `dirname( $sn )`; if (`window -exists ScreenCapture`) //closes window if already opendeleteUI…
I hope this command is fine. Now I'm getting an error " // Error: line 61: Object 'rsTxtPath' not found. " . Any Idea? global string $rsTxtPath, $rsTxtName;global proc ScreenCaptureWin() { string $sn = `file -q -sn`;string $cfp = `dirname( $sn )`; if (`window -exists ScreenCapture`) //closes window if already opendeleteUI…