Hi, Alfredo,

Instead of deleting your file, you should move it to the trash so you can 
recover it in case of error.

*set* vFile *to* *POSIX file* "/path/to/your/file"

*tell* *application* "Finder"

*move* vFile *as* *alias* to *the* trash

*end* *tell*

Best regards,

Jean Jourdain

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/7be73dba-203b-4781-8788-1dcdd67bada6n%40googlegroups.com.

Reply via email to