[proFit-list] Set column type in Applescript

Davide Guarisco guarisco at sbcglobal.net
Sun Nov 15 11:31:12 CST 2009


On Nov 15, 2009, at 4:11 AM, Ludovic Pecqueur wrote:

> Dear all, 
> 
> I am using the batch Processing script but I am encountering a problem due to a type mismatch.
> I want to fit several files, then report in a table all the wanted parameters as well as which original data they correspond to (ie name of the table). To do that, I first use the Batch Processing Applescript which calls my program "SingleFit" (see below).
> 
> The error comes from the line :
> data[globalData[0],1] := WindowName;
> Where I suspect the program wants a real number instead of a string.
> I tried to define the first column as a string with:
> SetColumnProperties(col 1, name 'Exp', type textColumn);)
> but it did not do the trick.
> 
> Is there any way to declare data[globalData[0],1]  as a string in the applescript or in the program itself?
> 
> Thank you for your help,
> 
> Ludovic



Try  
 	SetCell(globalData[0],1,WindowName)....


      Davide
--
Davide Guarisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20091115/a89aa100/attachment.html>


More information about the proFit-list mailing list