DPaquin Posted February 10, 2020 Posted February 10, 2020 (edited) 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, 2020 by DPaquin
comment Posted February 10, 2020 Posted February 10, 2020 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.
DPaquin Posted February 11, 2020 Author Posted February 11, 2020 (edited) 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, 2020 by DPaquin
Recommended Posts
This topic is 1745 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now