View Single Post
Old 03-19-2023, 10:30 PM   #897
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
New JS Zip used to create debug log showing url click in NV

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/

Last edited by DaltonST; 03-20-2023 at 11:21 AM. Reason: zip removed due to official release.
DaltonST is offline   Reply With Quote