need ditto zipping help
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Apr 30 08:53:16 EDT 2010
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
More information about the use-livecode
mailing list