set sourcePath to (quoted form of (POSIX path of sourceAlias))
set destPath to (quoted form of (POSIX path of destAlias))
the first line is OK, but the second line errors with -1700.
Then, for no good reason, I tried this ...
set destPath to (quoted form of (POSIX path of destAlias))
set sourcePath to (quoted form of (POSIX path of sourceAlias))
Again, the first line is OK, but the second line errors with -1700.
But, all I did was to reverse the order of the lines.
The error is always caused by the second 'POSIX path of sourceAlias'.
I've tested for every cause I can think of, but I can't find any reason for this behavior.
Does anyone see what the problem is?