I try to atomaticaly make a file invisible and I found the follwing
script to do that ([url]http://groups.google.nl/groups?hl=nl&lr=&ie=UTF-8&threadm=etp-0401990746470001%40ppp253.bcpl.net&rnum=5&prev=/groups%3Fq%3Dvisible%2Bfile%2Bapplescript%26hl%3Dn l%26lr%3D%26ie%3DUTF-8%26selm%3Detp-0401990746470001%2540ppp253.bcpl.net%26rnum%3D5[/url])
the first part of this script has a test to try whetther the file is
tell application "Finder"
-- if you moved or deleted the target file, you'll get a beep
-- info for returns a string of file or folder attributes
--you can watch it work by turning on the Event Log
info for "Macintosh:test :this will be hidden:visibility
And although the file and path are correct, I still hear a ...