On Thu, Mar 7, 2013 at 11:30 AM, lawlist
<[email protected]> wrote:
> Oh, that would be most awesome, to have the terminal run under the hood.
> Does the automator have an easy way to tell the terminal to run under the
> hood and insert a user defined command (latexmk -c) or  (latexmk, plus the
> name of the file in the working directory)?  I've only used the automator on
> a few occasions.

I don't think Automator or AppleScript is the way to do this.

You just need a shell script.

See page 34 and pages 314-319 in the User Manual (see the "Help" menu)
paying particular attention to the "Document State" variables on 318.

I think that you can probably accomplish this by something as simple as:

        #!/bin/sh

        latexmk -c "$BB_DOC_PATH"

        exit

but there's also the "Run…" command under the "#!" menu too.

TjL

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to