//AUTHOR : Jayant bhatt. //works with maya 2017 and 2018 //special thanks to autosk and polycount forum //for materials thanks to Bodizz //PP if ( `window -exists "nameWindow"` ) { deleteUI "nameWindow"; } // create a window with a menu bar window -title "3DGhost" -menuBar true -w 220 -h 200 "nameWindow"; // two frame…