AW: need ditto zipping help

Tiemo Hollmann TB toolbook at kestner.de
Fri Apr 30 09:10:22 EDT 2010


Hi Mark,

thank you for your advice.
If I find a way how to preserve the locked attribute in my zip file I would
not have to change my program (which is at my customers), but it is good to
know to have a plan B
Thanks
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Mark Schonewille
> Gesendet: Freitag, 30. April 2010 14:53
> An: How to use Revolution
> Betreff: Re: need ditto zipping help
> 
> Hi Tiemo,
> 
> Here's an AppleScript snippet that shows how to lock and unlock files.
> 
> set myFile to choose file
> tell application "Finder"
> 	set the locked of myFile to not the locked of myFile
> 	return the locked of myFile
> end tell
> 
> It is easy to adjust the script to always set the lock of a particular
> file to true or to check whether it is currently locked etc.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> 
> We have updated TwistAWord. Download TwistAWord 1.1 at
> http://www.twistaword.net
> 
> Op 30 apr 2010, om 14:23 heeft Tiemo Hollmann TB het volgende
> geschreven:
> 
> > Hello,
> >
> >
> >
> > still not very familiar with the Mac and its specialities I need
> > some help
> > with zipping with ditto.
> >
> > I have a locked file in my App bundle. After zipping and unzipping
> > the whole
> > bundle (in an update process) the locked file isn't locked anymore.
> >
> > The ditto parameters I am using for zipping are:
> >
> > Ditto -c -k --sequesterRsrc
> >
> > Can anybody shed some light on this, how I can preserve the locked
> > file
> > being locked?
> >
> > Thanks for any hints
> >
> > Tiemo
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list