February 10, 20205 yr I am trying to insert into a container field the file path of a mp4 video as a reference. I am getting an error equal 3. I've followed some example and do not understand why I am getting this error. If I try to import the video file by going to the field and with the mouse do a right click I am able to import the video fiel as a reference. Unfortunately the script does not work. Thanks! inserVideoPath (as a reference).pdf Edited February 10, 20205 yr by DPaquin
February 10, 20205 yr 1 hour ago, DPaquin said: I am getting an error equal 3. I have managed to get the same error. It went away after formatting the target field as interactive container (optimized for PDF, MP3, etc). From the help: •If there is no active container field on the layout where the script is being performed, Insert Audio/Video returns an error code that can be captured with the Get(LastError) function. •This script step works only for interactive containers. 1 hour ago, DPaquin said: If I try to import the video file by going to the field and with the mouse do a right click I am able to import the video fiel as a reference. But not as playable video, I think? You can get the same result using the Insert File script step.
February 11, 20205 yr Author Thanks Comment. It’s now working, after doing what you’ve said I.e formatting the target field as interactive container. However, I had to remove the statement /Volumes/ Edited February 11, 20205 yr by DPaquin
Create an account or sign in to comment