Scripting

Hi all,

so bringing my laziness to new heights, I’m wishing for a toolbar button, or hot key, so that I can call an external script that will run within the directory within which the .scriv directory is found. I am using my own post-processor (TeXDown), and I am trying to not having to go myself to a terminal window every time. In fact, I’d like to have it run right out of Scrivener. For such a script, I’d like to define some parameters, but that’s not a necessity.

It would be quite helpful since I’m in the process of wrapping the whole TeXDown in a virtual machine so that just about anyone can use it, without understanding how to set up Perl modules. For that, I’d still need a breakout from Scrivener.

Thanks,

M

The hooks to run scripts in Compiler aren’t enough?

Which hooks? If I look into the compile window, I must admit, I’m at a complete loss. What I really want is just a way to a) crawl up my binder to find an object that has a certain custom metadata field set to something; and b) call a script (applescript, shell script, or something) with the value of that metadata field.