|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2010
Device: HTC Evo 4G, Kindle Fire
|
I've tried looking for a way to set a keyboard shortcut to swap the author and title of a book without having to go into the edit metadata dialogue box, but it doesn't seem to be possible.
Is there a way to write it into the program, maybe? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,626
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can develop a plugin to do it, but there is no way in the main program. If you want to swap the title and author for a large number of books you can use the bulk metadata edit function to do it in one step.
|
|
|
|
|
|
#3 | |
|
Gadget Freak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Quote:
Could likely add a shortcut to it.
|
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2010
Device: HTC Evo 4G, Kindle Fire
|
Gunnerp245, I'm actually looking for a shortcut to quickly swap the title and the author. I was hoping someone had already figured out a way to do it.
![]() Thanks for the reply, Kovid. Can you tell me what function is called when I hit that little green arrow button? Sorry, I only have very basic Java programming skills. |
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,626
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I suggest that rather than developing a plugin for this simply go through the list of books you want to correct Ctrl clicking each one, then hit the E key and bulk swap the title and author.
But if you want to develop a plugin, the swapping code requires loading the title and author from the db and swapping them. I suggest looking through the code of the Quality Check plugin to learn how to do that. There is no single function you can call. |
|
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2010
Device: HTC Evo 4G, Kindle Fire
|
Thanks for the tip. It sounds kind of daunting. I think I'll just take your advice.
|
|
|
|
|
|
#7 | |
|
Gadget Freak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Quote:
Spoiler:
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to swap title with identifiers:isbn | tizboy | Library Management | 1 | 06-06-2012 09:48 PM |
| Replace/customize keyboard shortcut? | eosrose | Calibre | 2 | 11-10-2011 08:17 PM |
| Problem with Swap Author & Title. | scotmad | Calibre | 4 | 02-10-2011 03:24 PM |
| Keyboard Shortcut Issue in viewer | bigpallooka | Calibre | 2 | 10-21-2010 02:32 AM |
| Add keyboard shortcut? | Chris Edwards | Amazon Kindle | 0 | 09-25-2010 02:58 PM |