This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc _playVLC(string $files[]) | |
| { | |
| if(size($files)<1) return; | |
| string $app="C:/PathToVLC/vlc.exe"; | |
| if(!`filetest -x $app`) return; | |
| string $opt = " --one-instance -R"; | |
| string $cmd=""; | |
| for($f in $files){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc string[] _getFileTextures(string $node) | |
| { | |
| string $ret[] = {}; | |
| if($node=="") return($ret); | |
| if(!objExists($node)) return($ret); | |
| string $sels[]=`ls -sl`; //store config | |
| select -hi -r $node; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc string _system(string $cmd) | |
| { | |
| string $tmp = ""; | |
| string $dir = `pwd`; | |
| if(match("^//", $dir)!="") $tmp=getenv("TEMP"); | |
| if($tmp == "") return( system($cmd) ); | |
| chdir($tmp); | |
| string $ret = system($cmd); | |
| chdir($dir); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------ | |
| # Re: Looking for animation sandbox solution. - Autodesk Discussion Groups | |
| # http://forums.autodesk.com/t5/MotionBuilder-General/Looking-for-animation-sandbox-solution/m-p/4527329 | |
| #------------------------------------------------ | |
| #------------------------------------------------ | |
| # just experiment ;) | |
| # step1: cleanup code | |
| # | |
| # takeName2takeID={"Walking":0, "Idle2Walk":1, "Kicking":2, "Standing":3, "Walk2Idle":4, "Seated":5} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnTimestamp] | |
| [-HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnTimestamp] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnTimestamp] | |
| @="NewFolderBasedOnTimestamp" | |
| [HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnTimestamp\ShellNew] | |
| "Command"="cmd /d /e:on /c for /f \"tokens=1-7 delims=.,\\:/\" %%A in (\"%%date%%.%%time%%\") do for /f \"tokens=*\" %%a in (\"%1\") do if not exist \"%%~dpa\\%%A%%B%%C_%%D%%E_%%F%%G\" mkdir \"%%~dpa\\%%A%%B%%C_%%D%%E_%%F.%%G\"" | |
| "nullfile"=hex: | |
| [HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnTimestamp] | |
| "FriendlyTypeName"="Folder (Timestamp)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnDate] | |
| [-HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnDate] | |
| @="NewFolderBasedOnDate" | |
| [HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnDate\ShellNew] | |
| "Command"="cmd /d /e:on /c if not exist \"%1\\..\\%%date:/=%%\" mkdir \"%1\\..\\%%date:/=%%\"" | |
| "nullfile"=hex: | |
| [HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate] | |
| "FriendlyTypeName"="Folder (Date)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc q(){q;}q; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // _optimizeMatTex | |
| // | |
| //----------------------------------- | |
| proc string _getProfileAttr(string $plug) | |
| { | |
| string $typ=`getAttr -type $plug`; | |
| string $cnt[]=`listConnections -s 1 -d 0 -p 1 -c 0 $plug`; | |
| if(size($cnt)){ | |
| string $buf[]={}; |