Getting Finder results into LiveCode

Klaus major-k klaus at major-k.de
Tue Jan 12 17:00:41 CET 2016


Hi Peter,

> Am 12.01.2016 um 16:50 schrieb Peter M. Brigham <pmbrig at gmail.com>:
> 
> mdls doesn't like spaces in the file path. What do I do to escape spaces here?

Just QUOTE it:
…
put shell( "mdls" && QUOTE & tFilepath & QUOTE) into tFileInfo 
…

> -- Peter
> 
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




More information about the use-livecode mailing list