04-24-2023, 07:47 PM | #1066 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
NV Are you sure on exit Edit mode
If I edit a note and Exit I'd like to get an "R U Sure" message.
I stumbled into an https URL that had a space (%20) in it, when I clicked on it in NV it truncated the address. It was OK elsewhere, so I tried replacing the space with an '_'… which worked. Now I can't find the place from where I copied the URL… it was a LinkedIn page. Any chance of this happening ==>> https://www.mobileread.com/forums/sh...postcount=1062, if not I'll take a different tack. BR |
04-24-2023, 11:24 PM | #1067 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
Calibre supports these: #~ (_('Search for the author on Goodreads'), 'search-goodreads'), #~ (_('Search for the author on Amazon'), 'search-amzn'), #~ (_('Search for the author in your calibre library'), 'search-calibre'), #~ (_('Search for the author on Wikipedia'), 'search-wikipedia'), #~ (_('Search for the author on Google Books'), 'search-google'), #~ (_('Search for the book on Goodreads'), 'search-goodreads-book'), #~ (_('Search for the book on Amazon'), 'search-amzn-book'), #~ (_('Search for the book on Google Books'), 'search-google-book'), #~ (_('Use a custom search URL'), 'url'), Are you personally asking just for a custom search URL Per Library, or any of the above choices by Library? DaltonST |
|
Advert | |
|
04-24-2023, 11:51 PM | #1068 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I was thinking of a custom search that would override what was in Prefs->L&F->BD->Clicking on…
Similar to Tweak for Per-Library: 'Save-To Template':. BR |
04-25-2023, 03:32 AM | #1069 | ||
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
In View mode, press Ctrl+N to give the text-box focus, press Ctrl+A to select the text, then press Ctrl+C to copy it… strange things happen, if I have NV configured for 1 instance I get this error
Quote:
Quote:
It is definitely the Ctrl+C keystroke that causes it, if I use the mouse right click menu to do the copy it's okay. BR |
||
04-25-2023, 02:40 PM | #1070 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Test Version
Quote:
I've also done the new JS Tweak you requested. The NV "are you sure" question before abandoning edit is now active. Attached below is the new test version. If you have any problems, calibre-debug -g would be helpful. DaltonST Last edited by DaltonST; 04-25-2023 at 03:28 PM. |
|
Advert | |
|
04-25-2023, 07:49 PM | #1071 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Actually I was looking for an R U sure on the Exit button not the Cancel button. But, on reflection perhaps there only need be two buttons - one which saves the data and goes back to View mode (activated by a click or Ctrl+Enter) and a second (activated by a click or Escape) which goes back to View mode. It would mean NV must be exited from View Mode; but I'd prefer that, if I paste a URL into a note on Edit mode, I can test it in View. Ctrl+Z does what Ctrl+C did yesterday - checks Freeze and pops a second NV - I'll do a test with calibre_debug and post the log shortly. BR |
|
04-25-2023, 08:03 PM | #1072 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
[1] The per library tweak is doing exactly what I wanted. The only issue I had was where to specify the library specific URL: in JS Configure or Plugin Tweaks->job_spy_default_author_link_by_library.
# The ToolTip itself or image I posted is required reading. [2] Actually I was looking for an R U sure on the Exit button not the Cancel button. But, on reflection perhaps there only need be two buttons - one which saves the data and goes back to View mode (activated by a click or Ctrl+Enter) and a second (activated by a click or Escape) which goes back to View mode. It would mean NV must be exited from View Mode; but I'd prefer that, if I paste a URL into a note on Edit mode, I can test it in View. # NV must restart after any save regardless of text format. NV must restart after editing or canceling editing Markdown and HTML. These are not optional. [3] Ctrl+Z does what Ctrl+C did yesterday - checks Freeze and pops a second NV - I'll do a test with calibre_debug and post the log shortly. # Of course it does. It works exactly as designed. Read the ToolTip for the create new instance button. Last edited by DaltonST; 04-25-2023 at 08:06 PM. |
04-25-2023, 08:15 PM | #1073 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
And I admit to not understanding why "Plug-in tweaks" even exist. BR |
|
04-25-2023, 08:37 PM | #1074 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Aaah now I see, you had Ctrl+C hooked to create a New Instance, which you've changed to Ctrl+Z. There is no mention of a shortcut in its tooltip: BR |
|
04-25-2023, 08:45 PM | #1075 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
A user with a dozen libraries may want to override only 6. The other 6 default to the default. Zero difference from the other per-library tweaks. Read the JS Customizing ToolTips for this tweak. Calibre's customizing for this is now done by JS if this tweak is active. Just like any other tweak that has a 'default'. DaltonST |
|
04-25-2023, 09:00 PM | #1076 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
04-26-2023, 12:25 AM | #1077 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If a JS per_library tweak overrides a Calibre tweak, such as author_sort_copy_method, then the Calibre tweak is the default. Whereas, a JS per_library tweak that overrides a Calibre preference setting, such as default_author_link in gui.json, must also provide an overriding default. BR |
|
04-26-2023, 10:50 AM | #1078 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.237 Per Library Tweak for 'Default Author Link'
Version 1.0.237 -2023-04-26 Per Library Tweak for 'Default Author Link', default_author_link. Notes Viewer: miscellany. Refer to the next post for images of the JS Customizing ToolTips for all similar JS GUI Tools.
DaltonST |
04-26-2023, 10:52 AM | #1079 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
JS Customizing ToolTips for Per-Library Tweaks
See the attached images.
Carefully note that each of those shown has a "Default" input text line that becomes the de-facto Calibre Default value otherwise found in Calibre > Preferences > "Look & Feel" or " > elsewhere". If that is not what you wish, then simply deactivate these JS Tweaks. DaltonST Last edited by DaltonST; 04-26-2023 at 10:55 AM. |
04-26-2023, 06:53 PM | #1080 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I fully appreciate it's not under your control, but having three widely dispersed inputs 1) prefs->l&f->bd, 2) JS+->configure, and 3) prefs->tweaks->plugin-tweaks, to specify what should happen when something is clicked is… 'unfortunate'
But the good news is, NV and the author click override has enabled me to straighten out the kinks and inconsistencies in my libraries that wouldn't have been otherwise done… BR |
Tags |
author aka, author pen name, colors, toolbag, toolbox, tools |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 06:50 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |