AppSetLocalTextProcessing Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:11

Description

Controls the behavior of prompt when linking a frame with local text to an article or stand-alone text.

Syntax

Fred.AppSetLocalTextProcessing (intMode)

intMode

n=0  prompt the user; corresponds to Prompt in the TOOL panel

n=1  clear the local text; corresponds to Remove in the TOOL panel

n=2  convert to jump line; corresponds to Convert to a jumpline in the TOOL panel

n=3  insert at the top of the linked text if first frame linked, otherwise remove ; corresponds to Insert at the top of the linked text in the TOOL panel

n=4  insert at the bottom of the linked text if first frame linked, otherwise remove ; corresponds to Insert at the bottom of the linked text in the TOOL panel

n=5 insert at the top of the linked text if first frame linked, otherwise convert to jump line

n=6 insert at the bottom of the linked text if first frame linked, otherwise convert to jump line

Remarks

_caution When you set a value, it affects all linking in Fred in that session, until you reset it. Thus, it is recommended that you reset the value to 0 after linking command, e.g.

fred.appsetlocaltextprocessing 2

fred.txtlink ""

fred.appsetlocaltextprocessing 0

This provides the compatibility with previous versions of Fred.

Context

Fred application dispatcher commands

See also

AppGetLocalTextProcessing, AppSetImgProcessing