View Single Post
Old 06-11-2013, 02:51 AM   #18
abeonis
eBook DIYer
abeonis began at the beginning.
 
abeonis's Avatar
 
Posts: 111
Karma: 10
Join Date: Oct 2012
Location: Europe
Device: K4, KF HD 8.9, Readium
Allo? Is there anybody out there since June 2011?

I personnally use AHK_L as my scripting language, it is very well suited for non developpers wanting to automate anything on a Windows machine.

But I need that the SW I want to automate allows me a minimum access to it.

An example of what I would like to do with Sigil from a batch file using Sigil commands:

1. Import a big HTML file (Assumed well coded)
2. Split it (instructions included in HTML)
3. Get metadata from an INI file
4. Create the TOC (NCX and HTML)
5. Run flightcrew and create a log file
6. Save epub and Exit

I could do all these things using AHK_L, it supports programming cursor moves, clicks and keyboard input. Not very professional.

If you call this procedure HTML2ePub. I could run it, integrated in a bigger script, like:

$> sigil.exe -rHTML2ePub -iINIfile.txt doit.xhtml > runlog.txt

It should be easy to implement it, you already have the code. Please, an effort for Christmas?

Quote:
Originally Posted by Valloric View Post
My current idea for Sigil's future is to get it to an "IDE for epub" state; power users need the power, but you still need to keep things simple for the average user.
Could you (or someone else) please let us know the status of this idea? Why limit it to ePub?, once you have a well done ePub, generating a mobi is a piece of cake. Please, think abundance.

Last edited by abeonis; 06-11-2013 at 03:22 AM.
abeonis is offline   Reply With Quote