View Single Post
Je pense qu'il vous manque, peut-être, le chemin complet du fichier:

Code:
tell application "Finder" to set file_name to (name of theFile)


Code:
tell application "Finder" to set file_name to (POSIX path of theFile)