Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A more reliable version...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A more reliable version...
Authored by: ChaChi on Dec 09, '09 08:21:05AM
The script in this hint has a couple problems and things that aren't necessary. The following script has been tested in 10.6 only. Don't see why it wouldn't work in 10.5 or earlier though.
set appPath to path to me
set appName to name of (info for appPath)
do shell script "mv " & quoted form of POSIX path of appPath & space & 
	quoted form of POSIX path of ((path to trash) & appName as string)
Hope this helps...

[ Reply to This | # ]