Re: file locking
Re: file locking
- Subject: Re: file locking
- From: Rob Stott <email@hidden>
- Date: Thu, 21 Apr 2005 20:22:15 +0100
On 21 Apr 2005, at 19:47, Bob Cuilla wrote:
does anyone know how to lock a file ( or unlock it) using applescript?
You mean like this?
set theFile to choose file
tell application "Finder"
set the locked of theFile to true
end tell
...obviously, change to 'false' to unlock.
Hope that helps
r.
---
Rob Stott - Development Team, Trident UK
Connaught Road, Kingswood, East Yorkshire HU7 3AP
Work: +44 (0) 1482 710344 • Mobile: +44 (0) 7881 811533 • Home: +44 (0) 1482 671129
My work: http://www.apple.com/uk/creative/trident/
My schedule: http://ical.mac.com/robstott/Robs32Schedule
My band: http://www.superscapemusic.co.uk _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden