I don't think there's a built in way to do this, but you can make yourself a new command easily.<br><br>I'd do this: on your project, click the 'I' button on the shelf. Add a project variable with the path to the the file you want to run. Call it, say, PROJECT_EXECUTABLE.
<br><br>Then copy/paste the Run Script (PyMate) command and make a new one. Replace $TM_FILEPATH with $PROJECT_EXECUTABLE.<br><br>Just a suggestion.<br><br><div><span class="gmail_quote">On 2/25/07, <b class="gmail_sendername">
Jay Kyburz</b> <<a href="mailto:jay@jaykyburz.com">jay@jaykyburz.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello All,<br><br>Great to see such an active community for a text editor!<br><br>I've been using TM for a largish python project. I have quite a few<br>source files now and using the project draw and tabs to navigate
<br>between them.<br><br>Anybody know how I can mark one file in my project as the file to run<br>using the Run Script Command.<br><br>Would I need to modify the Run Script Command for this to work?.<br>I've looked at it in the bundle editor but it makes no sense to me. I
<br>tried hacking some changes in so that it would run a specific file<br>rather than $TM_FILEPATH but without luck.<br><br>Any help much appreciated.<br><br>Jay.<br><br>______________________________________________________________________
<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br><br clear="all"><br>-- <br>Stephen Hansen<br>Development<br>Advanced Prepress Technology<br><br><a href="mailto:shansen@advpubtech.com">shansen@advpubtech.com
</a><br>(818) 748-9282