Set the language when there is no file extension

2013-01-24 Thread Randall Venhola
I am working with Scons (scons.org). The programming language is Python. The standard is to not use file extensions - the file names are always SConstruct and SConscript. I want BBEdit to recognize the files as Python so that I get the function pop-up and colourization. I get this simply by

Re: Set the language when there is no file extension

2013-01-24 Thread Randall Venhola
Thanks, that works great! On Thursday, January 24, 2013 9:13:45 AM UTC-8, Patrick Woolsey wrote: At 08:03 -0800 01/24/2013, Randall Venhola wrote: I am working with Scons (scons.org). The programming language is Python. The standard is to not use file extensions - the file names are always

Using Applescript to run GNU Make

2012-11-29 Thread Randall Venhola
I have been reading the BBEdit User Manual and I am stuck.My goal is to have the output of my GNU Makefile to become a clickable results browser. I have tested the Makefile and it works fine. I open the Applescript editor and then open the BBEdit dictionary. Then I start writing a script. I get

Re: Using Applescript to run GNU Make

2012-11-29 Thread Randall Venhola
Hi Doug Thanks for the help. I did play around with the Unix worksheet and with the PATH variables. I am able to get the Unix worksheet to run my script, which runs GNU make and direct the output to another window. I am still stuck as to how to make that appear as a results browser. It looks

Re: Using Applescript to run GNU Make

2012-11-29 Thread Randall Venhola
Well, I found this great script (bberrors.py) from here (https://gist.github.com/3113810) and I am a lot closer to getting a solution. (Thanks Jay Lieske!) Jay's Python script seems to properly generate the BBEdit browser window just fine by piping the error stream output from my shell