Reputation: 936
This automator script is an example. When i display the path it looks correct, but if i then try to copy files to that path I get an error.
Upvotes: 1
Views: 928
Reputation: 936
this is the fix - needed posix paths.
on run {input, parameters}
set theFilePath to POSIX path of (input as string) & "/Samples" as string
display dialog theFilePath
return theFilePath
end run
Upvotes: 1