ExeOutput for PHP provides pre-defined protocols for hyperlinks within your applications, which can also be utilized for menu items.
Syntax:
<a href="[protocol][destination URI]">Your link</a>List of predefined protocols #
heopenit://+ virtual path to the file you want to open with the external application associated with its file type (for example,heopenit://mydoc.docwill extract and openmydoc.docin Microsoft Word).heopenext://+ path to an external file you want to open with the external application associated with its type (a file that is not compiled into the application but resides in the same folder as the EXE file). It can also be located in a subfolder.heexternal://+ a URL or a path to an application: this protocol allows you to launch an external application or open a URL in the end user’s default web browser.
Examples #
heopenit:// can be used for any document file (e.g., executable program files, text files, Microsoft Office® files) that is compiled into the EXE. These files are listed in the File Manager.
<a href="heopenit://mydocument.docx">Open this Word document</a> heopenext:// can be used for any document file (e.g., executable program files, text files, Microsoft Office® files). These files are available outside the application, residing in the same folder as the EXE file.
<a href="heopenext://myprogram2.exe">Start another application</a>Example of opening a file in a subfolder named subdir:
<a href="heopenext://Subdir/powerpoint%20demo.pptx">Open PowerPoint in subdir</a> heexternal:// is used to open URLs in the user’s default browser or to launch external applications.
Open a website:
<a href="heexternal://https://www.exeoutput.com">Visit our website</a>Launch an application (e.g., Calculator):
<a href="heexternal://calc.exe">Open Calculator</a>It also supports custom protocol URLs, like WhatsApp:
<a href="heexternal://whatsapp://send?text=Hello">Send a WhatsApp message</a>Tip
If a filename contains spaces, encode it properly (e.g., my%20program.exe).
i found heexternal not working any more “unable to open the file”
With which engine are you getting the problem?
And have you also tried the target “_hexternal” such as
My Link