Code "Snippets" - Get Tool Info

Copyright © May, 2004 SuzShook

sample image

dot   Script Summary:

The purpose of this script is to provide code snippets that allow you to extract information from the Tool Options palette during script execution. This is particularly useful for using preselected fonts and font sizes, tubes, and preset shapes. These snippets can be inserted into your scripts, and can be used for any script steps where you want a font, tube, or preset shape. The user need only preset the tool options, and when the script runs, it will extract the information from the Tool Options palette.

Note: This script is based upon the GetToolInfo function created by Gary Barton, and is used here with Gary's permission.

dot   Installation Instructions:

Download the script - this script runs from any Restricted folder, including its own Quick Guide folder.

dot   Change History:

  • 00 - original version
  • 01 - updated for PSP 9 (GetToolInfo function for text)