[proFit-list] Set column type in Applescript

Ludovic Pecqueur lpecqueur at lebs.cnrs-gif.fr
Tue Nov 17 02:09:25 CST 2009


Thank you  that did the trick,

Ludovic

Davide Guarisco wrote:
>
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
>   

-- 
*****************************************************************
Dr. Ludovic Pecqueur
CNRS
LEBS UPR3082
Rue de la terrasse - Bât 34
91198 Gif sur Yvette
email: lpecqueur at lebs.cnrs-gif.fr
tel: 01 69 82 34 87




More information about the proFit-list mailing list