b25: in-line pictures with hyperlink and rtfText

Need help with a script? This is the place to discuss how to get your code running!

b25: in-line pictures with hyperlink and rtfText

Postby komouton » Sun Jan 08, 2017 11:20 pm

A content of a RTFD file contains only one picture with hyperlink can be imported into SC's field using a command:

Code: Select all
set the text of fld 1 to rtfd file <filename>


and property "the objects" of fld 1 is one line (meaning the number of objects in the field is 1).

The content of this fld 1 can be transferred into another fld using a command:

Code: Select all
set the rtfText of fld 2 to the rtfText of fld 1


The appearance of fld 1 and fld 2 seems to be identical, but the objects of fld 2 has two lines (meaning the number of objects in fld 2 is 2).

This inconsistency could be troublesome, so it should be, I guess, harmonized.
komouton
 
Posts: 105
Joined: Wed Oct 21, 2009 1:30 pm

Return to Scripting in SuperTalk

Who is online

Users browsing this forum: No registered users and 1 guest

cron