How do I move a script?
I want to make my script check to see if it is in the correct spot. If it is, do nothing. If it isn't, move to correct spot.
Here is what I have, it doesn't work:
set thePath to POSIX path of (path to me)
if thePath = "~/Library/Launcher.app" then
return "Okay"
else
do shell script "mv " & thePath & " ~/Library/Launcher.app"
end if