i need a script that pops up my name or something like that everytime my maya file opens.Actually,i need to show some of my work to somebody (and he has asked for maya files...) and i don't want my work to be used without my permission.So......i need somethiung that will make sure that everybody who sees that file knows its my work..... Help! i need to send the files tomorrow or max day after.......
wrap the mel file in an exe installer ( NSIS http://nsis.sourceforge.net/Main\_Page ) which pops up a dialog displaying the "this is mine" text when ppl want to install your mel file onto the desktop.
Your script can popup a dialog when it get's sourced. Just place the code outside of any function and it'll get executed.
yeah you can just put a modal window at the end of your .ma file
CODE confirmDialog -title "Originally created by Bob Saget" -messageAlign "center" -message "This scene was created by Bob Saget \n\nso all royalties go to him" -button "Okay";
and replace everything in quotes with whatever you want it to say.
This won't work if it's saved as a .mb later on though.
Thanks a ton for your help!!! but......what are you talking about? i don't know too much scripting and it would be nice if you could possibily be a little less discreet!...seriously! i just know basic scripting(basic...as in really basic).Please tell me what i have to do... I mean I got the modal window part(thanks!) but what do i do about the .mb conversion? that tieing up with an exe thing?
no dude! i don't need to protect the maya file,i just need my name (or a custom message) to popup every time the file is opened.....thats all.Something that does not change whether the file is .ma or .mb.......