Unlocking files in the Finder
Unlocking files in the Finder
- Subject: Unlocking files in the Finder
- From: Emmett Gray <email@hidden>
- Date: Sat, 23 Mar 2002 11:58:23 -0500
I'm trying to write a script to unlock files. I can find the locked
files and show them, but I can't seem to unlock them. AS 1.6/Standard
Additions 1.6, OS 9.2.2.
tell application "Finder"
repeat with theItem in fileList
set theItem to theItem as string
if the locked of alias theItem is true then
display dialog "this one locked: " & theItem -- correctly
displays locked files
set the locked of alias theItem to false -- this produces an error
end if
end repeat
end tell
TIA for help
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.