Post #105674
2026-01-01 21:41 UTC
@rpmik@avgeek.social @tuomas_h@mastodon.social
on open droppedFiles
repeat with i from 1 to the count of droppedFiles
set currentFile to item i of droppedFiles
set currentFilePOSIXPath to POSIX path of currentFile
try
set quotedPOSIXPath to quoted form of currentFilePOSIXPath
do shell script "/usr/bin/xattr -d com.apple.quarantine " & quotedPOSIXPath
--do shell script "/usr/bin/xattr -c " & quotedPOSIXPath
end try
end repeat
end open
Replies (0)
No replies.