Tweaks for plugins: I just used this:
job_spy_notes_viewer_protocol_default_apps = {'http:': 'C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe'}
which was automatically corrected by NV as the documentation for the protocol override states.
The bottom of the NV Debug Log:
Quote:
--->>> best guess: html
#~ Calibre > Preferences > Plugin Tweaks > job_spy_notes_viewer_protocol_default_apps = {'http:': '"C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"'}
#~ Note that path to executable should be in Python path format (i.e., / not \), and Windows paths require double-quotes if there are any spaces in a path. However, NV will fix both if the user does not do it.
event_anchorclicked: PyQt6.QtCore.QUrl('http://www.w3schools.com/')
url to be opened: http://www.w3schools.com/
Corrected if needed: app + ' ' + url = appurl: "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe" http://www.w3schools.com/
event_anchorclicked: p_pid = subprocess.Popen(appurl, shell=True): "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe" http://www.w3schools.com/
|