The path for "Insert Picture" needs the "imagemac:" prefix.
Thanks so much, but now I have:
$filePath = imagemac:/Macintosh HD/private/tmp/001_TST_010_v001_h264_frame_20.jpg
And the error is now:
The file “<unknown>” could not be found and is required to complete this operation.
I think you may not understand how temporary folders work.
They are temporary.
They get deleted after they are used.
That path may have existed once. But it doesn't exist anymore.
That is the whole nature and purpose of temporary paths.
No, that's not it. /private/tmp/ is a system tmp folder. The "ls" I ran that showed the file is there was run after the failure so the folder is there. In fact, if you're on a Mac, it's on your comp, too.
1 of 1 people found this helpful
It works for me. Maybe show your entire script …
Nope, your first answer was correct, thanks! Blew my variable when I edited the script.
Thanks so much!