<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><div>thanks to everyone for their replies.</div><div><br></div><div>I have been trying the recording option and it sure helps.</div><div><br></div><div>that said, I am running into problems &nbsp;of singularities when fitting my curves (which IGOR handles without complaint) so that is a new hurdle to overcome (in particular i am trying to fit lognormal curves and am wondering whether I should specify my own function for this)</div><div><br></div><div>given that i do need results soon i will take them from IGOR, but as a Mac user i am happy that their could well be a possibility where everything could be scripted.</div><div><br></div><div>cheers</div><div><br></div><div>Nic</div><div><br></div><div><br></div><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><br><div
 style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> pro Fit Support &lt;profit@quansoft.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> all things about pro Fit &lt;profit-list@quantum-soft.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, August 21, 2009 5:37:44 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [proFit-list] Pro Fit and Applescript<br></font><br>
In addition to the comments provided by Chris and Davide:<div><br></div><div>One way to learn about controlling pro Fit through AppleScript or a Pascal script is by exploiting the fact that pro Fit is "recordable": When you hit the "record" button in AppleScript Editor or one of pro Fit's function windows, and then execute some commands manually within pro Fit (such as fitting a function, or binning data), most of these operations will be recorded as Apple Script or Pascal statements for you. This usually gives a good starting point for writing a script. Give it a try.<br><div> <span class="Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div><br class="Apple-interchange-newline">Best
 regards</div><div><br class="webkit-block-placeholder"></div><div>Kurt Sutter</div><div>QuantumSoft</div></span><br class="Apple-interchange-newline"> </div><br><div><div>On 21 Aug 2009, at 7:43, Nic Meyer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:verdana, helvetica, sans-serif;font-size:10pt;color:rgb(0, 0, 0);"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Good morning,&nbsp;</div><div
 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">I found Pro Fit yesterday and am really impressed that this useful tool could be completely controlled via applescript. (which I am already using extensively). I am trialling Profit for scientific data analysis and curve fitting and the program compares well with equivalent packages but with the added bonus of (apparently) being fully scriptable</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">That said, very few examples exist showing the manner in which one can script ProFit. In particular I am looking to run Levenburg fits and would also like to test the bin data functionality. I would also like to be able to perform calculations on the fit curves which are
 generated.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">I have access to the Pro Fit dictionary via Text Editor but after an hour or so trial an error guessing what information the script required with no success I am hoping to gather the experiences of others.&nbsp;</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">If any one could send me some example apple scripts or point me in the right direction i would be most appreciative</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div
 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">(on another note, having had a snoop through the post history, I am impressed that Python functionality will be included in the next version. Looking forward to checking this out!)</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">cheers</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Nic&nbsp;</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div
 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">from Oz</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">in Zurich</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"></div></div><br>_______________________________________________<br>proFit-list mailing list<br><a rel="nofollow" ymailto="mailto:proFit-list@quantum-soft.com" target="_blank" href="mailto:proFit-list@quantum-soft.com">proFit-list@quantum-soft.com</a><br><span><a target="_blank"
 href="http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com">http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com</a></span><br></div></span></blockquote></div><br></div></div></div><div style="position:fixed"></div></div><br>

      </body></html>