INSERTING A FORMATTED TEXT

User-to-User discussion about the PhraseExpress macro programming.
Post Reply
alfieri
Posts: 2
Joined: 17 Feb 15, 16:06

INSERTING A FORMATTED TEXT

Post by alfieri » 14 Jan 20, 10:27

How can I use inputform to specify a checkbox or a dropdown, and as a result of this selection was given specific phrases, or at least formatted text?

Peter Stotz
PhraseExpress Expert
Posts: 823
Joined: 27 Feb 08, 15:07

Post by Peter Stotz » 06 Feb 20, 21:48

Please see the manual
https://www.phraseexpress.com/doc/macros/programming/
for 'Programming' - 'Insert/Link Phrase'

A simple example:
Makro autotext: P0
Phrase content:
{#forminput -text Select macro programs -type 6 -items Start macro program P1|Start macro program P2 -vals {#insert P1}|{#insert P2}}

Makro autotext: P1
Phrase content:
This is P1

Makro autotext: P2
Phrase content:
This is P2

Execute macro P0 with autotext P0...
Peter Stotz
Windows 10 - PhraseExpress v14.0.177

alfieri
Posts: 2
Joined: 17 Feb 15, 16:06

Post by alfieri » 07 Feb 20, 07:12

Thank You, Peter :-)

Post Reply