Example:
Code: Select all
text runret("ping localhost");Code: Select all
text runret("ping localhost");Code: Select all
Volume in drive C has no label.
Volume Serial Number is E6DD-0CF9
Directory of C:\Portable\XYplorer\XYData\Scripts\WIP\demo
06/03/2014 11:48 PM <DIR> .
06/03/2014 11:48 PM <DIR> ..
06/03/2014 11:48 PM 0 some.xys
06/03/2014 11:48 PM 0 somefile.txt
2 File(s) 0 bytes
2 Dir(s) 31,398,719,488 bytes free
C:\Portable\XYplorer\XYData\Scripts\WIP\demo>
Code: Select all
Volume in drive C has no label.
Volume Serial Number is E6DD-0CF9
Directory of C:\Portable\XYplorer\XYData\Scripts\WIP\demo
06/03/2014 11:48 PM <DIR> .
06/03/2014 11:48 PM <DIR> ..
06/03/2014 11:48 PM 0 some.xys
06/03/2014 11:48 PM
0 somefile.txt
2 File(s) 0 bytes
2 Dir(s) 31,398,719,488 bytes free
C:\Portable\XYplorer\XYData\Scripts\WIP\demo>
Code: Select all
Il volume nell'unità C non ha etichetta.
Numero di serie del volume: xxxx-xxxx
Directory di C:\x
03/06/2014 18:42 <DIR> .
03/06/2014 18:42 <DIR> ..
0 File 0 byte
2 Directory 92.942.864.384 byte disponibiliCode: Select all
Il volume nell'unit… C non ha etichetta.
Numero di serie del volume: xxxx-xxxx
Directory di C:\x
03/06/2014 18:42 <DIR> .
03/06/2014 18:42 <DIR> ..
0 File 0 byte
2 Directory 92.942.868.480 byte dispo
nibili
Code: Select all
$a = runret("D:\DVD\MediaInfo\MediaInfo.exe --output=Video;%Height%x%Width% ""<cc_item>"""); //or you can use ...("cmd /c D:\DVD\...
return substr($a, 0, -2);Code: Select all
return property("#283", <cc_item>)Thanks for it. I do like this feature.admin wrote:... Damn, I'm spending too much time on this...![]()
Thanks binocular222. I had assumed there was no "property" or "special property" available for video size based on what Huidong said in the first post of this tread, "...Custom Columns / Scripted Columns. I like it very much that image dimensions can now be displayed in a column, but not video dimensions." So, I never bothered to look fo myself.binocular222 wrote:it seems windows shell is faster than piping through Mediainfo
Code: Select all
return property("#283", <cc_item>) . "x" . property("#285", <cc_item>);Thanks for pointing that out!klownboy wrote:Thanks binocular222. I had assumed there was no "property" or "special property" available for video size based on what Huidong said in the first post of this tread, "...Custom Columns / Scripted Columns. I like it very much that image dimensions can now be displayed in a column, but not video dimensions." So, I never bothered to look fo myself.binocular222 wrote:it seems windows shell is faster than piping through MediainfoIn a little CC script this will give the height and width.
Thanks,Code: Select all
return property("#283", <cc_item>) . "x" . property("#285", <cc_item>);
Ken
Code: Select all
run """cmd"" /C """"D:\Graphics\ImageMagick\identify.exe"" -verbose ""<curitem>"" | clip""",,2,0; text "<clipboard>", 700, 900, "Image Magick Info";
Code: Select all
text runret ("D:\Graphics\ImageMagick\identify.exe -verbose ""<curitem>"""), 700, 900, "Image Magick Info";