Copy link to clipboard
Copied
I have set up a couple of kiosks at my work to help people fill out forms faster. But as I found out the hard way many people who come in are very computer illiterate so I added a help buttons on each page of the form that links to a short video for each page. But the following prompt always shows up.
"Launch File
The file and its view application are set to be launched by this PDF file. The file may contain programs, macros, or viruses that could potentially harm your computer. Only open the file if you are sure it is safe. If this file was placed by a trusted person or Program, you can click Open to view the file."
There is a check box that says "Do not show this message again" but that only applies until the form is closed and reopened. I believe this is a trust issue, is there any way to turn it off on my kiosks or to make a javascript that will be universally allowed on my kiosks? I have a silent save javascript that circumvents the trust issue on my kiosks and I'm looking for something similar to that.
Any help would be greatly appreciated.
Thanks
I couldn't find a way to do it with an external file... However, it is possible if you attach the video file to the PDF itself.
If you do that then you can use a script to launch it. The first time you'll be prompted with a similar window but if then click to open the file and always allow for this file-type it should not appear again (it didn't for me).
The code to use is simply this (use the actual file-name in your case, of course):
this.exportDataObject({cName: "my video.mp4", nLaunch:2});
Copy link to clipboard
Copied
Bump
Copy link to clipboard
Copied
Are you launching the file using a script? If so, what code are you using?
Copy link to clipboard
Copied
No I'm not running and scripts for this. Its just a button that executes a a menu item which is to open a video file, which I then get the following prompt
Copy link to clipboard
Copied
I couldn't find a way to do it with an external file... However, it is possible if you attach the video file to the PDF itself.
If you do that then you can use a script to launch it. The first time you'll be prompted with a similar window but if then click to open the file and always allow for this file-type it should not appear again (it didn't for me).
The code to use is simply this (use the actual file-name in your case, of course):
this.exportDataObject({cName: "my video.mp4", nLaunch:2});
Copy link to clipboard
Copied
That worked like a charm, thank you very much. This is the second time you have helped me out on my kiosk system!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now