Perhaps your real script is correct; but I see a lot of misplaced quotes.
for instance it shoule be "file:" &
Set Variable [$path ; value:"image:" & Get(DocumentsPath) & "Images/" & Product::Pimage ]
Thanks for the reply. Here comes the "But". But, when I run the code it will open the dialog for me to select the Image. Instead of the dialog showing I would like the Image to be automatically inserted via the code.(Wish I had the debugger version of FM)
I found my problem.
I'm using "Windows" on my Mac. When I re-coded to:
Set Variable [$path ; value: 'imagewin://Mac/Home/Documents/Images/" & Product::PImage].
The process worked.
(Should Have mentioned this)
Thanks for the help.