Wrote a while back that does exactly this. If you are interested in seeing more, CompileTeX is a suite that someone Just write a shell script that uses the active document's file path as an When it comes time to run the file I'm working on through pdflatex, I can't Unix script, with any BBEdit interaction takes place in the Applescriptįor example, I write a lot of Latex files. The only way to do this is to write a wrapper Applescript that calls your No real information about what was going on in the GUI. Maybe this is aįeature that has been added - the last time I checked, scripts were passed Utility (or whatever else you might do in shell script). I don't mean munge the filesĬontents, but use the open text file as an argument to a command line I'd love to be able to call a Unix script (not a filter) that picks what theĪctive file is and does something with it. > I don't feel like I'm missing any functionality. > Between the Run Script command and worksheets (& filters as you mentioned) > doesn't? I run unix scripts (perl in my case) from BBEdit every day. > What sort of integration is missing? What does Textmate do that BBEdit On at 12:57 PM +1100, Charlie Garrison wrote: > Give me liberty or give me Obamacare <. BBEdit recognizes that the underlying file has been changed and modifies its display automatically when you make the BBEdit window active again.īBEdit may complain under some conditions like editing changes that were in effect but not saved before you do that so it's a good idea to save before running such a script but it's not required and there may be reasons not to. I donno if it's intended or not but I regularly run perl and shell scripts that muck with a file that BBEdit has open. Between the Run Script command and worksheets (& filters as you mentioned) I don't feel like I'm missing any functionality. >What sort of integration is missing? What does Textmate do that BBEdit doesn't? I run unix scripts (perl in my case) from BBEdit every day. It's one of the features I'm really jealous that Textmate has. Instead, you have to wrestle with Applescript to do anything of the sort. If there was, extending BBEdit to do tasks like this would be so much easier. ![]() >I wish there was tighter integration between BBEdit and scripting languages, like Python and Perl. It's one of the features I'mĪt 12:57 +1100 3/21/11, Charlie Garrison wrote: With Applescript to do anything of the sort. If there was, extending BBEdit toĭo tasks like this would be so much easier. I wish there was tighter integration between BBEdit and scripting languages, ![]() You feed it a directory and it will make an index page for the htmlįiles in that directory. So, I can provide you with a Python script that you can run from the command Of course, the obvious solution would be to write a 100%Īpplescript script, but for the life of me I can't master Applescript. ApplescriptĬan obviously open new BBEdit windows, etc., but its kind of kludgy to haveĪ parent Applescript call on separate unix script. ![]() The output of said script into a new BBEdit window in an automated fashion.įilters run on an existing window and replace the contents.Ī third option is to call a unix script from an Applescript. Scripts run in Terminal, so it's kind of difficult to get Problem is that BBEdit only provides two methods for unix scripts, 'filters'Īnd 'scripts'. I think I could write up a script that does this pretty easily.
0 Comments
Leave a Reply. |