Jump to content

Use selection to auto insert text from list item


db_tragic

This topic is 4166 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm planning on using a number of drop lists, which when individual items are selected, a script would run (on Object modify) that would insert(append) specific text into a text window.

 

Just after some help on scripting this one.

 

TIA

 

 

Link to comment
Share on other sites

In a script step:

 

Set Field[bigTextField; Let(

[countCR = PatternCount ( BigTextField ; "¶" );

lastCRpos = Position ( BigTextField; "¶"  ; 1 ; countCR )];

Left(BigTextField;  lastCRpos - 1)

)

]

Link to comment
Share on other sites

This topic is 4166 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.