Hi everyone… I have a script which uses a do shell script to copy a file, and I am wondering… what is the best way to after this file has been copied to set it so that it’s extention is invisible?
thank you!
Hi everyone… I have a script which uses a do shell script to copy a file, and I am wondering… what is the best way to after this file has been copied to set it so that it’s extention is invisible?
thank you!
Hi Patrick,
The Finder can do this. eg:
set x to (choose file)
tell application "Finder"
set extension hidden of x to true
end tell
You will need an alias of the file to do this.
Best wishes
John M