|
|
#1 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
|
Can Portable's install result window be disabled?
After installing Portable, it pops up:
Calibre Portable successfully installed to xxxxxxx. Launch calibre? Can this popup window be disabled? |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,324
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
|
The only reason I'm asking is that I'm automating the download and install an update after closing calibre. I can use autohotkey to click the No button, but I wonder if there is another way. Portable already accepts the destination folder as a parameter so it makes sense to make the entire process non-interactive.
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,654
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#5 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,798
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
|
Thanks Kovid!
Quote:
autohotkey script: Code:
loop {
process, wait, calibre.exe
Process, waitclose, calibre.exe
Run, %comspec% /c "D:\Users\myname\Desktop\docs\Backup Libary.cmd"
}
Code:
@echo off
echo Backup will occur in 10 seconds...
ping -n 10 127.0.0.1>nul
set downloadpath=D:\Users\myname\Downloads
set portablepath=d:\_Library\Calibre Portable
set found=
set upgrade=
FOR /f "tokens=1,2 delims=[] " %%a IN ('dir /od /b "%downloadpath%\calibre-portable-installer-*.exe" ^| find /n /i ".exe"') do set found=%%a& set upgrade=%%b
echo [%found%][%upgrade%]
if not "%found%"=="" call:upgradingcalibre
robocopy /np /mir /dcopy:t /copy:dat /zb /r:5 /w:60 /tee /log:"%~n0.log" "%portablepath%" "\\mynas\g\Books\_Library\calibre\Calibre Portable"
ping -n 10 127.0.0.1>nul
echo %date% %time%>"d:\_Library\daughtername_calibre\update.txt"
robocopy /np /mir /dcopy:t /copy:dat /zb /r:5 /w:60 /tee /log+:"%~n0.log" "d:\_Library\daughtername_calibre" "\\mynas\g\Books\_Library\daughtername\daughtername_calibre"
ping -n 10 127.0.0.1>nul
echo %date% %time%>"d:\_Library\myname_calibre\update.txt"
robocopy /np /mir /dcopy:t /copy:dat /zb /r:5 /w:60 /tee /log+:"%~n0.log" "d:\_Library\myname_calibre" "\\mynas\g\Books\_Library\myname\myname_calibre"
ping -n 10 127.0.0.1>nul
goto:EOF
:upgradingcalibre
REM This is no longer needed: autohotkeyscript-to-click-no-to-calibre.ahk
"%downloadpath%\%upgrade%" "%portablepath%"
ping -n 10 127.0.0.1>nul
del /q "%downloadpath%\calibre-portable-installer-*.exe"
goto:EOF
You may wonder what is the point of putting the backup date/time into the update.txt file. On my daughter's computer, calibre is started with a batch script that:
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spell Checker window on top of Editor window | Calibre-Fan | Editor | 3 | 01-30-2016 12:48 PM |
| HELP! Unable to install Calibre into my window 7! | jass | Devices | 5 | 02-09-2015 07:37 AM |
| I can't install calibre portable | Qpit | Devices | 1 | 09-02-2012 12:22 AM |
| Opening a new window in calibre, and closing another window | Dr. Drib | Calibre | 3 | 02-23-2012 10:27 AM |
| Install Calibre portable on USB stick | Gary Young | Calibre | 1 | 12-14-2010 02:07 PM |