# Batch compiling

**URL:** <https://forum.literatureandlatte.com/t/batch-compiling/152586>\
**Category:** Scrivener\
**Tags:** wishlist\
**Created:** [December 15, 2025, 6:40am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586 "2025-12-15T06:40:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 15, 2025, 6:40am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/1 "2025-12-15T06:40:45Z")

</div>

Does anyone know if possible is to compile two formats one after the other each time without the need to manually compile twice. I compile pdf and txt many times in order to read the novel on my iPad. Even writing a short code which hooks to scrivener is an option for me as I need to compile quite a lot

---

<div class="post-metadata">

**Author:** ![rms](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rms](https://forum.literatureandlatte.com/u/rms)\
**Post date:** [December 15, 2025, 7:47am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/2 "2025-12-15T07:47:37Z")

</div>

Others can comment but I’m unaware of any setting in Scrivener to do as I understand you want to do–automatically run two sequential compiles each with it’s own format.

As you report in your profile you use MacOS version of Scrivener, my hunch is you could use (or something like it) the app Keyboard Maestro to setup something to do this for you. Perhaps give it a shot.

Meantime, others might have an idea.

---

<div class="post-metadata">

**Author:** ![kewms](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/kewms/32/15720_2.png) [@kewms](https://forum.literatureandlatte.com/u/kewms)\
**Post date:** [December 15, 2025, 6:19pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/3 "2025-12-15T18:19:07Z")

</div>

As @rms said, there’s no automated way to do this within Scrivener.

May I ask, though, why you need both versions? A Scrivener-generated PDF does have a text layer and is therefore searchable, for instance.

---

<div class="post-metadata">

**Author:** ![SCN](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scn/32/37507_2.png) [@SCN](https://forum.literatureandlatte.com/u/SCN)\
**Post date:** [December 15, 2025, 7:15pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/4 "2025-12-15T19:15:24Z")

</div>

Keyboard Maestro has been mentioned as a means to automate this.

Another idea: If all the steps to compile both versions can be performed via keyboard shortcuts (no mouse), a single key on the Elgato Stream Deck could be configured to automate your document creation in Scrivener. Like Keyboard Maestro, it’s essentially a drag-and-drop tool, but, unlike Keyboard Maestro, it requires a Stream Deck device.

That said, unless you have or otherwise can make use of Stream Deck, it sounds like Keyboard Maestro would be your best path.

---

<div class="post-metadata">

**Author:** ![auxbuss](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/auxbuss/32/115_2.png) [@auxbuss](https://forum.literatureandlatte.com/u/auxbuss)\
**Post date:** [December 15, 2025, 7:27pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/5 "2025-12-15T19:27:21Z")

</div>

> [@SCN](#):
>
> That said, unless you have or otherwise can make use of Stream Deck, it sounds like Keyboard Maestro would be your best path.

BetterTouchTool (BTT) can do this sort of thing as well.

---

<div class="post-metadata">

**Author:** ![SCN](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scn/32/37507_2.png) [@SCN](https://forum.literatureandlatte.com/u/SCN)\
**Post date:** [December 15, 2025, 8:11pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/6 "2025-12-15T20:11:17Z")

</div>

> [@auxbuss](#):
>
> BetterTouchTool (BTT) can do this sort of thing as well.

Cool. Not being a Mac user, I’ve not used Keyboard Maestro or BetterTouchTool. They seem pretty useful, for sure. In reading about BTT, I like how it can be used with other hardware to roll your own solution.

For those of us well-meaning souls on a PC, we’d probably reach for AutoHotkey or, less commonly, Stream Deck.

The main idea is that if something can be accomplished with keyboard navigation, it can likely be automated with tools like these, and perhaps others of their ilk.

---

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 16, 2025, 6:51am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/7 "2025-12-16T06:51:01Z")

</div>

SCN, I have installed Maestro but honestly do not know how to execute the action. How to activate Scriviner and perform the actions. Can you explain?

---

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 16, 2025, 6:52am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/8 "2025-12-16T06:52:13Z")

</div>

Ah, sorry. I see you are not a mac user

---

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 16, 2025, 6:52am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/9 "2025-12-16T06:52:53Z")

</div>

rms,

I have installed Maestro but honestly do not know how to execute the action. How to activate Scriviner and perform the actions. Can you explain?

---

<div class="post-metadata">

**Author:** ![rms](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rms](https://forum.literatureandlatte.com/u/rms)\
**Post date:** [December 16, 2025, 7:05am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/10 "2025-12-16T07:05:23Z")

</div>

No, I cannot assist. Sorry. While I have done things with Keyboard Maestro using guidance gleaned from the Keyboard Maestro User Manual and hence I know about it and suggested it to you, this a forum for Scrivener. If you need to discuss your project, there is also the Keyboard Maestro Forum where my hunch is you can get sage advice from experts. See links to both of these on the **Menu: Help** in Keyboard Maestro.

I’ve learned (in my relatively old age!) digging into a lot of self-made automation on my Mac usually becomes unproductive. It’s fun to make this sort of stuff work, but I tend to spend more time than really it’s worth making some automation work. And then when some of my stuff breaks, I have to re-visit and re-learn how I did it–or abandon when I realise I rarely used it. Again, great way for me to procrastinate, but in recent years I’ve backed off doing that sort of stuff and reserve my _tech tinkering_ to my number-crunching work (which pays better!!). All that aside, there are many people out there who love and use Keyboard Maestro.

---

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 16, 2025, 7:28am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/11 "2025-12-16T07:28:26Z")

</div>

OK,

So far I managed to activate Scrivener and launch the compile action. Now struggling to set the format (PDF, txt)  
Hope i’ll find the way.

Thanks

---

<div class="post-metadata">

**Author:** ![Floss](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/floss/32/20052_2.png) [@Floss](https://forum.literatureandlatte.com/u/Floss)\
**Post date:** [December 16, 2025, 7:57am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/12 "2025-12-16T07:57:23Z")

</div>

oh for the love of god just compile it twice. it takes maybe 3 seconds.

stop inventing ridiculous excuses and get back to writing.

---

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 16, 2025, 8:39am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/13 "2025-12-16T08:39:56Z")

</div>

I perform it so many times a day that it worth the bother. Whenever I update the file and wish to read it on my iPad as well as allow the device to read it allowed. (for some reason reading allowed the pdf reads twice every page)

And for god, when I see him/her I’d love it

---

<div class="post-metadata">

**Author:** ![Floss](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/floss/32/20052_2.png) [@Floss](https://forum.literatureandlatte.com/u/Floss)\
**Post date:** [December 16, 2025, 8:56am UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/14 "2025-12-16T08:56:10Z")

</div>

> [@Hadas](#):
>
> I perform it so many times a day that it worth the bother.

no it isn,t. get back to writing.

---

<div class="post-metadata">

**Author:** ![Hadas](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/hadas/32/24668_2.png) [@Hadas](https://forum.literatureandlatte.com/u/Hadas)\
**Post date:** [December 16, 2025, 3:39pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/15 "2025-12-16T15:39:56Z")

</div>

Yes Sir 🫡

Thank you

---

<div class="post-metadata">

**Author:** ![SCN](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scn/32/37507_2.png) [@SCN](https://forum.literatureandlatte.com/u/SCN)\
**Post date:** [December 16, 2025, 4:36pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/16 "2025-12-16T16:36:15Z")

</div>

@Hadas, I think you make a good case for finding a way to automate a compiling process you do multiple times a day. For me (and maybe for you), tending to my writing tools is an important part of the author journey, so long as I am mindful to keep writing. Personally, I write each morning from 4 a.m. to about noon, with quick breaks to refresh my mind. I reserve my afternoons for figuring out things like you’re exploring, in this case, batch processing your Scrivener compiling.

For me, having automations and buttons in front of me in Stream Deck removes much of the friction in the writing process. Here are some Scrivener buttons from my Stream Deck:

 ![001](https://forum.literatureandlatte.com/uploads/default/original/3X/4/3/4313332e059efb6b583bac80e8c68b54eca8ece4.jpeg)

Here are some Aeon Timeline buttons that let me quickly shift views of my story structure:

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/a/5/a5601535a4a7c855ddbf1126ef61a79f2c2452c5.png)

That said, I’m not necessarily suggesting you invest in something like Stream Deck to automate your Scrivener compilation sequence. I happened to have a Stream Deck device for my music production, so it was a natural direction for me. In your case, being on a Mac, something like Keyboard Maestro or BetterTouchTool could be worth exploring.

Only _you_ can determine if the time invested to find a way to batch compile is worth your time or merely amounts to procrastination. It doesn’t matter what anyone else thinks, so long as you are honest with yourself.

---

<div class="post-metadata">

**Author:** ![Floss](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/floss/32/20052_2.png) [@Floss](https://forum.literatureandlatte.com/u/Floss)\
**Post date:** [December 16, 2025, 4:55pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/17 "2025-12-16T16:55:43Z")

</div>

> [@SCN](#):
>
> For me, having automations and buttons in front of me in Stream Deck removes much of the friction in the writing process. Here are some Scrivener buttons from my Stream Deck:
> 
> ![001](https://forum.literatureandlatte.com/uploads/default/original/3X/4/3/4313332e059efb6b583bac80e8c68b54eca8ece4.jpeg)
> 
> Here are some Aeon Timeline buttons that let me quickly shift views of my story structure:
> 
> ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/a/5/a5601535a4a7c855ddbf1126ef61a79f2c2452c5.png)
> 
> That said, only _you_ can determine if the time invested to find a way to batch compile is worth your time or merely amounts to procrastination. It doesn’t matter what anyone else thinks, so long as you are honest with yourself.

today is jane austen,s 250th birthday.

so it would seem an appropriate day to point out that all your excuses and procrastinations are just that. unless you can point to evidence that any of this has made you more productive than jane, go sit in a chair with nothing but pen and paper for a day and try just writing.

okay, oxygen food and water are also allowed. this time.

---

<div class="post-metadata">

**Author:** ![AmberV](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/amberv/32/13021_2.png) [@AmberV](https://forum.literatureandlatte.com/u/AmberV)\
**Post date:** [December 16, 2025, 4:56pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/18 "2025-12-16T16:56:39Z")

</div>

I posted a script for Keyboard Maestro that might help you get started, as it demonstrates a macro that cuts out all of the fluff and just compiles straight to the previously used filename, no dialogue boxes, no clicking on buttons, no confirming overwrite. It is located [here](https://forum.literatureandlatte.com/t/compile-disable-replace/21562/4).

But do mind the date on that post, I have no idea if the actual script that I attached still works, 13 years later. The idea then would be to take such a starter and manipulate the **Compile For** dropdown as well, to compile first one, and then the next file type.

---

<div class="post-metadata">

**Author:** ![kewms](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/kewms/32/15720_2.png) [@kewms](https://forum.literatureandlatte.com/u/kewms)\
**Post date:** [December 16, 2025, 5:13pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/19 "2025-12-16T17:13:24Z")

</div>

> [@Hadas](#):
>
> (for some reason reading allowed the pdf reads twice every page)

Maybe the time spent on automation could be spent trying to fix this issue instead?

---

<div class="post-metadata">

**Author:** ![SCN](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scn/32/37507_2.png) [@SCN](https://forum.literatureandlatte.com/u/SCN)\
**Post date:** [December 16, 2025, 5:14pm UTC](https://forum.literatureandlatte.com/t/batch-compiling/152586/20 "2025-12-16T17:14:14Z")

</div>

> [@Floss](#):
>
> today is jane austen,s 250th birthday.
> 
> so it would seem an appropriate day to point out that all your excuses and procrastinations are just that. unless you can point to evidence that any of this has made you more productive than jane, go sit in a chair with nothing but pen and paper for a day and try just writing.
> 
> okay, oxygen food and water are also allowed. this time.

@Floss, I admire your determination to drive home your point. If you’ll excuse me, I need to get back to my writing now. 🙂

 ![db35e106-c7db-4d7f-8361-cbf442f077d0~1](https://forum.literatureandlatte.com/uploads/default/original/3X/4/f/4ff65a61c4b429fb7cb0e9da516adc847df1c5db.jpeg)

[Next page](https://forum.literatureandlatte.com/t/batch-compiling/152586.md?page=2)
