So I have a crappy Windows computer where I store all my files. Occassionally, I like to retrieve them and I’m using this:
on run {input, parameters}
repeat with thisitem in input
tell application "Finder"
[...]
set the itempath to the quoted form of the POSIX path of thisitem
if thiskind = "single" then
do shell script ("mv -n " & itempath & " ~/Desktop/Procrastination/Boo-urns")
-- HERE'S my problem: --
tell application "iFlicks"
import thisitem without gui
end tell
-- --
else if thiskind = "compressed" then
-- uncompress, then import...
else
-- do nothing
end if
end tell
end repeat
end run
So I move the file to local and then I want to import it into an iTunes processing app. But obviously the path is now different. It’s no longer on the network drive, it’s on my HDD.
How do I change the path (but keep the file’s name)?
(Or have I done this the wrong/long way?)