<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><P align="justify" style="margin-top: 0px; margin-right: 0px; margin-bottom: 13px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">I posted the following to MacResearch, with no luck, but I'm hoping there are some Textmate users that might be able to help me: </SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">Does anyone have any experience sending data to Igor Pro from python? I'm looking for a way to interface python to Igor Pro. I am using TextMate to write python code that writes a data file. I manually open the file with Igor Pro, set up a plot and then, when I re-run the python script to make a different data file, I want to send an instruction from python to igor to reload a data file, and that way Igor will automatically</SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"><BR></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"> replot a graph. Apparently one can control Igor Pro via applescript (which I haven't learned yet), and there is a python package called appscript (</SPAN></FONT><A href="http://appscript.sourceforge.net/"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"><FONT class="Apple-style-span" color="#0055E3">http://appscript.sourceforge.net</FONT></SPAN></FONT></A><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">/) that can mimic applescript. So,</SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">1) does anyone have a sample applescript that can tell Igor Pro to load a data file?</SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"><BR></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"> 2) does anyone have an "appscript" (</SPAN></FONT><A href="http://appscript.sourceforge.net/"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"><FONT class="Apple-style-span" color="#0055E3">http://appscript.sourceforge.net</FONT></SPAN></FONT></A><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">/) that would achieve the same end?</SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">-paul</SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">________________________________</SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">Dept. of Physics</SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;">University of Southern Maine</SPAN></FONT></P><P align="justify" style="margin: 0.0px 0.0px 13.0px 0.0px; text-align: justify"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.4px;"><A href="http://www.usm.maine.edu/~pauln">http://www.usm.maine.edu/~pauln</A></SPAN></FONT></P></BODY></HTML>