someone care to test Compress folders?

Klaus Major klaus at major-k.de
Fri Jan 7 05:07:30 EST 2005


Dag Ton,

> Worked this one out for the Mac part...
> Works like a charm on my Mac, but I'm not sure if it has got something 
> to do with all the junk I already installed on my Mac.
>
> Is there anyone who would like to test this script for me? All you 
> need is a field named "path" and enter a unix path to a folder into it 
> (/Users/ton/Desktop/TestFolder 1).
>
> on mouseUp
>   set the itemdel to "/"
>   put fld "path" into vFolder
>   put item 1 to -2 of vFolder & "/" & last item of fld "path" & ".zip" 
> into vFile
>   put "ditto -rsrc -c -k '" & vFolder & "' '" & vFile & "'" into 
> vCommand
>   get shell(vCommand)
> end mouseUp

Dat werkt heelemal goed :-)
Works very nice :-)

> Warm regards,
>
> Ton Kuypers
> Digital Media Partners bvba
> Tel. +32 (0)477 / 739 530
> Fax +32 (0)14 / 71 03 04
> http://www.dmp-int.com

Groetjes and regards

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



More information about the use-livecode mailing list