Can you get the creation date, modified date and type etc. without
using the detailed files?  And if so would it be faster than using the
detailed files?

I know you could get it by using NSFIlemanager.  If you want the
type the detailed files is not reliable.

John Balgenorth


On Sep 23, 2014, at 1:13 AM, Thierry Douez <th.do...@gmail.com> wrote:

> 2014-09-23 9:47 GMT+02:00
> Dick Kriesel <dick.krie...@mail.com>:
> 
>>> But it really should be a one-liner
>> 
>> -- given variable tFile, containing the name of a file in the default folder
>> -- given variable tSize, which is where to put the size of the file
>> 
>>     get matchText( the detailed files, ( "(?m)^\Q" & urlEncode( tFile ) & 
>> ",\E(\d*).*" ), tSize )
> 
> Excellent! I like it :)
> 
>> Too bad it's so hard to read, remember, and type.
> 
> Dick,
> 
> Here is a modified version of yours:
> 
> matchText(the detailed files,("(?m)^" & urlEncode( tFile ) & ",(\d+)" ), 
> tSize)
> 
> 
> and  I really don't find hard at all to read...
> 
> 
> Regards,
> 
> Thierry
> 
> 
> ------------------------------------------------
> Thierry Douez - http://sunny-tdz.com
> Maker of sunnYperl - sunnYmidi - sunnYmage
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to