-
Notifications
You must be signed in to change notification settings - Fork 0
pts tutorial2 module7
ajtruckle edited this page Jun 5, 2025
·
1 revision
(Continues on from the "TextAttribs" script - requires you to follow the previous section first)
| The following commands are used in this module: ALIGN EOL TEXT |
|---|
Do the following:
- Insert a COLOUR command (Change Font) to get you back to black.
- Insert a TEXT command to put "Hello, " (no quotes).
- Do not insert an EOL yet.
When you went to pick the colour, you no doubt recognised something else, the font name, hopefully Arial.
- Insert a new Change Font.
- Change the font to Courier (or Courier New).
- Click Insert to get the FONT command into the script.
- Insert a TEXT command saying "Courier " (no quotes).
- Insert another FONT command to put you back to whatever you started at (Arial will be fine if you can't remember),
- Insert a third TEXT command saying "World!".
- Finally insert an EOL.
It should now render.
What you expected? You should see the phrase "Hello, Courier World!", but with the word Courier actually in the Courier font (the rest should be in Arial). You can mix and match font name changes just like you can mix colour changes.
Like it?
| Go ahead and repeat the sentence, this time changing the font size as well as its name. You probably wouldn't mix font sizes on the same line, but you can if you want. Try one more sentence, this time changing to italic or underline (or both, if the fancy takes you) in the font change. Now, please: Click Save Script Optionally click Close Script Then when you are ready continue with module 8. |
|---|
| Previous Module | Next Module |
|---|
Copyright © 2002 - 2025 by Andrew Truckle. All Rights Reserved.
- Using Public Talks
- Main Application Menu
-
Database Ribbon Panel
- Assignments Editor
- Backup Database
- Check Talk Exchange
- Compact Database
- Convert Database
- Create Unassigned Date Entries
- Database Security
- Maintain Databases
- Purge Database
- Rearrange Dates
- Restore Database
- Help Ribbon Panel
-
Home Ribbon Panel
- Create a Report
-
Manage Custom Reports
- Editing Scripts
- Content Ribbon Panel
- System Ribbon Panel
- Script Command Syntax
-
Tutorials
- Using The Script Editor
-
How To Write Scripts
- Module 1 - The Basics
- Module 2 - Hello, World!
- Module 3 - Multiple Text Blocks
- Module 4 - It's A Date, Then
- Module 5 - Oh, I'm Blushing!
- Module 6 - It is a Rainbow!
- Module 7 - The Font Of All Knowledge
- Module 8 - Queue To The Right
- Module 9 - Memory Like An Elephant
- Module 10 - May I Squeeze In There?
- Module 11 - Move Over, Please
- Module 12 - You Move Over Here
- Module 13 - Is My Back A Funny Colour?
- Module 14 - I'm Going Loopy Here!
- Module 15 - Fields Of Golden... Text
- Module 16 - Man, That Looks Weird
- Module 17 - Inner Peace, Inner Loop
- Advanced Script Features
- Quick Access Toolbar
- Settings Ribbon Panel
- Tools Ribbon Panel
- Revision History
- Contact Information