Skip to content

Instantly share code, notes, and snippets.

@manhha00
Created October 29, 2017 12:42
Show Gist options
  • Save manhha00/d885fc8fbcf78989664c0d29e73c39d5 to your computer and use it in GitHub Desktop.
Save manhha00/d885fc8fbcf78989664c0d29e73c39d5 to your computer and use it in GitHub Desktop.
window;
columnLayout;
string $selObj[] = `ls -sl` ;
textFieldButtonGrp -text $selObj[0] -buttonLabel "Button" -buttonCommand "objectName" selectedObject;
proc objectName(){
string $selObj[] = `ls -sl` ;
textFieldButtonGrp -e -text $selObj[0] -buttonLabel "Button" -buttonCommand "objectName" selectedObject;
}
showWindow;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment