View Single Post
Old 01-27-2015, 01:07 AM   #3
sp000n
Junior Member
sp000n began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2009
Device: Sony PRS 700
Kovid, thanks for the reply!

I don't doubt for a moment that you're describing the intended behavior of those functions but I haven't had a single PDF cover extracted without manually doing it myself. I also double-checked those settings; neither are disabled.

To that end, I finally automated the process myself with AutoHotKey. My (amateur) script follows. It's not pretty, but it squared my entire magazine library away in over a single workday!

Quote:
IfWinExist calibre - ||; Library name appears here but partial window name is adequate.
{
WinActivate
}
else
{
Run "C:\Program Files\Calibre2\calibre.exe"; I run the x64 bit version
WinWait calibre - ||;
WinActivate
}

Loop 624; change this to match your own number of files
{
Click 130, 70
WinWait Edit Metadata
Click 695, 80
Sleep 5000; my pauses give computers, network drives, etc. time to process
IfWinExist ERROR: Could not read cover; whoops move on
{
Send {Esc}
Sleep 1000
Send {Esc}
}
else
{
Sleep 30000
MouseMove 75, 140
Click 2
Sleep 5000
Click 695, 680
}
Sleep 5000
Send {Down}
Sleep 5000
}
sp000n is offline   Reply With Quote