What is the best solution for something like this:
tell application "Finder"
try --> avoid folders and so on
set creator type of (this_file as alias) to "8BIM"
on error return
end try
end tell
Or
tell application "Finder"
with timeout of 180 seconds
try --> avoid folders and so on
set creator type of (this_file as alias) to "8BIM"
on error return
end try
end timeout
end tell
Or
tell application "Finder"
with timeout of 180 seconds
try --> avoid folders and so on
repeat until true
set creator type of (this_file as alias) to "8BIM"
end repeat
on error return
end try
end timeout
end tell
I am just trying to avoid using a delay if the “Finder” is too slow in making the changes.