ImportIntoText() equivalent for Area
Aldevinas Katkus
1-17-22
Operating system: macOS
I cannot find an equivalent for ImportIntoText() for areas. Is there one?

I am importing a tab separated text file and one of the columns may be longer than 255 chars. I need to import it into NotepadVc.
Everything works now, but I figured out I need to use AddFileToArea and then process that area if I need to process a file in a backgound task created with NewPeriodicTask2().
David Delač
1-26-22
Hi Aldevinas,

Try using AddAreaToTextField(area,RecordVc);

Let me know if this helped you.

Best Regards,

David D.
Aldevinas Katkus
1-27-22
I figured out it myself, and yes, you are right:

tstr = GetTabTextFromArea(LineNr,ColNr,a);// a string longer than 255 chars
ColNr = ColNr + 1;
SetAreaZeroSize(area_t);

AddTextToArea(trim(tstr),area_t);
AddAreaToTextField(area_t,NoterDN);//all chars are copied to Noter
//AddToText(tstr,NoterDN); only first 255 chars are copied
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Piotr Wycichowski
Is it something when a user tried to use any of AI commands in SERP? /Piotr W....
10:07 8 Nov 2024
Brittany McGrath
Thank you for your post Lilian. I see this post has been submitted twice and the second post is being addressed so I will close this duplicate. Thank you. ...
09:41 5 Nov 2024