Is it possible to launch or refocus my application when a custom schema/protocol is clicked in a browser? (e.g %url%)
Thanks
Is it possible to launch or refocus my application when a custom schema/protocol is clicked in a browser? (e.g %url%)
Thanks
This can be done but this is not the job of ExeOutput directly.
See http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx for instructions.
Could this registry key be created in the installation process or via a macro in call in a PHP script? Or would I need to create a custom installation program?
Thanks
I was able to create a .reg file with the protocol information. I think I’ll create a separate wrapper script to install the program along with the reg file. Here’s .reg source for anyone who’s interested:
REGEDIT4
[HKEY_CLASSES_ROOT\myapp]
@="URL:myappProtocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\myapp\shell]
[HKEY_CLASSES_ROOT\myapp\shell\open]
[HKEY_CLASSES_ROOT\myapp\shell\open\command]
@="\"C:\\Path\\To\\My\\App\\myapp.exe\" \"%1\""
Just change “myapp” and the path and you’re good to go.
This topic was automatically closed after 24 hours. New replies are no longer allowed.