<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2titles.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.macinstruct.com/~d/styles/itemtitles.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xml:base="http://www.macinstruct.com/articles/codemojo">
  <channel>
    <title>Code Mojo</title>
    <link>http://www.macinstruct.com/articles/codemojo</link>
    <description>Teaching people about Apple computers and products.</description>
    <language>en</language>
          <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.macinstruct.com/codemojo" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="codemojo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.macinstruct.com%2Fcodemojo" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.macinstruct.com%2Fcodemojo" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.macinstruct.com%2Fcodemojo" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.macinstruct.com/codemojo" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.macinstruct.com%2Fcodemojo" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.macinstruct.com%2Fcodemojo" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.macinstruct.com%2Fcodemojo" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
    <title>Using CPAN to Extend Perl on Mac OS X</title>
    <link>http://www.macinstruct.com/node/463</link>
    <description>&lt;p&gt;So you read &lt;a href="http://www.macinstruct.com/node/437"&gt;Getting Started with Perl on Mac OS X&lt;/a&gt; and you're starting to write little Perl scripts to get things done. You learned a few things along the way, and even though you've surely hit some speed bumps, you're still rearing to go. Today, let's talk about extending your abilities by installing some modules from CPAN. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/images/perl_camel.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;What is CPAN?&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://www.cpan.org"&gt;CPAN&lt;/a&gt; is the "Comprehensive Perl Archive Network" - a collection of over one hundred thousand Perl modules ready to be installed and used by you to extend your Perl chops. What is a Perl module, you ask? Well, a Perl Module is pre-written code that you can include in your code to extend its functionality. &lt;/p&gt;
&lt;p&gt;Say you wanted to write some code to interact with the music in your iTunes library. You could spend hours and hours writing sub-methods to do every little task to do so if you didn't first look on CPAN. But if you did, then you would find &lt;a href="http://search.cpan.org/search?mode=all&amp;amp;query=itunes"&gt;all of these modules that already did the work for you&lt;/a&gt;!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Configuring Your Mac to Use CPAN&lt;/h4&gt;
&lt;p&gt;Before we get into using CPAN to install modules for your own code, let's talk what happens if you find a really cool project on the Internet that uses CPAN modules. To get that code up and running, you'll need to install the modules from CPAN to your computer. So let's configure your Mac to use CPAN before we do anything else. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/images/homepageicons/xcode.png" /&gt;&lt;/p&gt;
&lt;p&gt;First, CPAN uses some low-level tools to install modules on your Mac. Therefore, you will need to have either &lt;a href="https://developer.apple.com/xcode/"&gt;Xcode&lt;/a&gt; installed from the Mac App Store or you will need to download the &lt;a href="https://developer.apple.com/downloads"&gt;Command Line Tools for Xcode package from Apple's Developer site&lt;/a&gt;. (Note that you need a free developer account to download these tools.) Once you have either Xcode or the Developer tools, let's install some modules!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Installing CPAN Modules on Your Mac&lt;/h4&gt;
&lt;p&gt;Now, open the &lt;a href="http://www.macinstruct.com/node/23"&gt;Terminal application&lt;/a&gt;, type "cpan", then hit Return. You should get a nice long paragraph explaining what CPAN is and how to install it. Type "yes", and then hit Return. This will take you through an installation process that that can potentially ask you a whole bunch of questions. Make it easy on yourself and type "yes" for each one. Once you are up and running, let's install an example module.&lt;/p&gt;
&lt;p&gt;When you read through the documentation for that cool little Perl script that does that a cool little thing, you will likely see the developer include some sort of "dependencies" list. For example, lots of applications these days use the internet to fetch data, so the programmer who wrote your script may have used a module called "HTTP::Request" in their code (you can &lt;a href="http://search.cpan.org/~gaas/HTTP-Message-6.03/lib/HTTP/Request.pm"&gt;read more about HTTP::Request module here&lt;/a&gt;). So let's install the "HTTP::Request" module. Open up a Terminal and type:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;cpan HTTP::Request&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You will see a whole lot of output on your terminal. Really, LOTS of output. But, at the end, you should have a shiny "Installation Complete" message - awesome! Go ahead and install the dependencies required for that cool Perl script you found on the internet - you should be up and running!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Next Steps&lt;/h4&gt;
&lt;p&gt;Next time, we are going to put together skills from the first and second installments of "Getting Started with Perl on Mac OS X" to do something REALLY cool - in the meantime, happy coding!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Related Articles&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.macinstruct.com/node/437"&gt;Getting Started with Perl on Mac OS X&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Richard Myers is an amateur programmer from southern New Jersey. His interests include programming, playing ping-pong, and writing about himself in the third person. He is married and has two old dogs. Contact him at &lt;a href="mailto:rick.myers@me.com"&gt;rick.myers@me.com&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=i9F5_oeOgZ8:HeMibPXOL3w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=i9F5_oeOgZ8:HeMibPXOL3w:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=i9F5_oeOgZ8:HeMibPXOL3w:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=i9F5_oeOgZ8:HeMibPXOL3w:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=i9F5_oeOgZ8:HeMibPXOL3w:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 06 Jun 2012 13:23:17 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">463 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Getting Started with Perl on Mac OS X</title>
    <link>http://www.macinstruct.com/node/437</link>
    <description>&lt;p&gt;&lt;a href="http://www.perl.org"&gt;Perl&lt;/a&gt; is a widely used programming language developed by Larry Wall in the late 1980's. Since being originally written as a scripting language to assist in system administration tasks, it has taken off as a popular language for doing everything from low-level systems programming to website scripting. If you have ever thought about getting into programming on your Mac, Perl is a great place to start!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Preparing for Perl&lt;/h4&gt;
&lt;p&gt;All you will need for this primer is a text editor, the terminal, and Perl (of course!). Luckily for us, Perl comes with OS X 10.7 and previous versions of OS X, even without Developer Tools installed. Here's how to get everything ready:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the TextEdit application.&lt;br/&gt;&lt;/br/&gt;&lt;/li&gt;
&lt;li&gt;From the &lt;b&gt;Format&lt;/b&gt; menu, select &lt;b&gt;Make Plain Text&lt;/b&gt;. (If the only option available is &lt;b&gt;Make Rich Text&lt;/b&gt;, you don't have to do anything.)&lt;br/&gt;&lt;/br/&gt;&lt;/li&gt;
&lt;li&gt;Open the Terminal application. (You can find it in Applications → Utilities.)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We're good to go!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Your First Perl Command&lt;/h4&gt;
&lt;p&gt;Before we start writing code, let's take a look at the version of Perl we have installed. Hop over to your Terminal window and type &lt;code&gt;perl -v&lt;/code&gt;, and press Return. You should see something like this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
&lt;code&gt;This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Copyright 1987-2010, Larry Wall&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl".  If you have access to the Internet, point your browser at &lt;a href="http://www.perl.org/" title="http://www.perl.org/"&gt;http://www.perl.org/&lt;/a&gt;, the Perl Home Page.&lt;/code&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Look at that. You just ran your first Perl command!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Creating a Perl Script&lt;/h4&gt;
&lt;p&gt;Now let's try something a little more fun. Switch over to TextEdit and type the following text exactly how it appears below:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
&lt;code&gt;#!/usr/bin/perl&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;print "Hello, Macinstruct user!\n";&lt;/code&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Save the file as &lt;code&gt;hello.pl&lt;/code&gt; right on your desktop. The &lt;code&gt;.pl&lt;/code&gt; extension tells Mac OS X that this is a file full of Perl code. The next part is really important, so make sure you do it correctly!&lt;/p&gt;
&lt;p&gt;By default, files on your computer are not able to execute code. This is a security feature designed to make sure you are only running code that you explicitly tell the operating system it can run. You need to tell Mac OS X that you want to be able to execute this file. Hop in to the terminal and run the following command:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;cd ~/Desktop&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This command changes the working directory (&lt;code&gt;cd&lt;/code&gt; = "change directory") to your Desktop. The tilde in front of &lt;code&gt;/Desktop&lt;/code&gt; is shorthand for &lt;i&gt;my home folder&lt;/i&gt;. Next, type the following command:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;chmod +x hello.pl&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This command adds &lt;i&gt;executable&lt;/i&gt; attributes to your file. You are telling Mac OS X, "Yes, it's safe to execute the code in this file!" To finally run your program, type the following in to the terminal window:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;./hello.pl&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You should see the following output:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;Hello, Macinstruct user!&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You're on your way to being a real Perl pro! Let's break down what our code did for us.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;#!/usr/bin/perl&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This line is telling OS X that when it runs the code, it will use Perl as our interpreter. Without this line, OS X wouldn't know what programing language to use to run our code.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;print "Hello, Macinstruct user!\n";&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This line is using the &lt;code&gt;print&gt;&lt;/code&gt; command to print the &lt;code&gt;Hello...&lt;/code&gt; line back to our screen. The &lt;code&gt;\n&lt;/code&gt; at the end is a newline character - a special character sequence that is recognized by the interpreter to change itself into a new line instead of printing the characters &lt;code&gt;\n&lt;/code&gt;. The last thing on this line is a semicolon - every statement in Perl ends in a semicolon.&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Dabbling in Arrays&lt;/h4&gt;
&lt;p&gt;OK, let's try something a little more advanced (and fun!). Change hello.pl to look like this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
&lt;code&gt;#!/usr/bin/perl&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;print "Hello, $ARGV[0]!\n";&lt;/code&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Save your file and hop back in to the terminal window. We already made the file executable, so we can just run the command. However, this time we are going to add a command line argument to our command. Run this in your terminal:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;./hello.pl Rick&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;(Of course, you'll want to use your own name!) &lt;/p&gt;
&lt;p&gt;Pretty cool, huh? &lt;code&gt;$ARGV[0]&lt;/code&gt; is a variable saved by Perl that is your first command line argument. When you run this command, &lt;code&gt;$ARGV[0]&lt;/code&gt; is replaced by your argument - your name - and prints it out. &lt;/p&gt;
&lt;p&gt;The observant reader may notice something strange here: we used &lt;code&gt;$ARGV[0]&lt;/code&gt; to get our first command line argument. Why does the [0] indicate we want the first argument? "0" does not equal "1"! Well, lets get a little more advanced for a moment. When your program runs, Perl stores all of your command line arguments in what is known as an "array". An array, in elementary terms, is just a bunch of things all stored together into one piece of data. These individual things are stored at &lt;i&gt;indexes&lt;/i&gt;. &lt;code&gt;$ARGV[0]&lt;/code&gt; is telling Perl that we want to access the piece of data that is stored at index "0" in our array called "$ARGV". Array indexes start at 0, so the element at index 0 is the first item in our array. Whew!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Adding Numbers with Perl&lt;/h4&gt;
&lt;p&gt;With that knowledge, let's try something a little more difficult and a little more useful. Let's make a little program to add two numbers together. You will want to run a command like this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;./add.pl 5 10&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;And your terminal will print:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;15&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;First, a note about quotes. When you quote variables in your Perl program, you &lt;i&gt;interpolate&lt;/i&gt; the variables - you replace the variables with their values. If you want Perl to add a few numbers together, we need to make sure that Perl sees numbers, and not variables, when we write our little addition script - so we aren't going to place our variables in quotes. &lt;/p&gt;
&lt;p&gt;I'm going to step back and let you try this one. You should create a new file in TextEdit and call it &lt;code&gt;add.pl&lt;/code&gt;. Here are a few things you will need to know:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To add two numbers together in Perl, you just need to use &lt;code&gt;+&lt;/code&gt; in between your two variables. &lt;br/&gt;&lt;/br/&gt;&lt;/li&gt;
&lt;li&gt;If you want to concatenate (put together) additional items in your &lt;code&gt;print&lt;/code&gt; statement, you will put a period in between the things you want to put together. For example, you may want to add a new line to your print statement - try this: &lt;cdoe&gt;. "\n"&lt;/cdoe&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Remember to add a semicolon to the end of each statement, and remember to make your script executable! Good Luck!&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
&lt;i&gt;Solution:&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#!/usr/bin/perl&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;print $ARGV[0] + $ARGV[1] . "\n";&lt;/code&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Related Articles&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.macinstruct.com/node/463"&gt;Using CPAN to Extend Perl on Mac OS X&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.macinstruct.com/node/68"&gt;How to Write Your First AppleScript&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Richard Myers is an amateur programmer from southern New Jersey. His interests include programming, playing ping-pong, and writing about himself in the third person. He is married and has two old dogs. Contact him at &lt;a href="mailto:rick.myers@me.com"&gt;rick.myers@me.com&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=Po3vw2WroU4:SFk52VlwKYY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=Po3vw2WroU4:SFk52VlwKYY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=Po3vw2WroU4:SFk52VlwKYY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=Po3vw2WroU4:SFk52VlwKYY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=Po3vw2WroU4:SFk52VlwKYY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 25 Apr 2012 12:42:30 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">437 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Reposition Windows for Multiple Monitors with AppleScript</title>
    <link>http://www.macinstruct.com/node/410</link>
    <description>&lt;p&gt;If you frequently switch between different displays, you know organizing your windows when switching displays can be a real pain. I use my MacBook Pro frequently by itself, and I also have a 20" external display on my desk at home. Additionally, I have a weird affliction of window placement OCD. Admiring &lt;a href="http://cordlessdog.com/stay/"&gt;Stay&lt;/a&gt;, but not prepared to spend $15, I wrote the following AppleScript that will resize and organize my windows when I switch my display configuration. Set to run with a global hotkey via Automator, the script will figure out how many displays I have connected (if my current screen width is not the size of a 15" MacBook Pro display, then there are two), and configure my windows accordingly.&lt;/p&gt;
&lt;p&gt;I'm not an AppleScript expert, so I'm sure there is some inefficient and hacked code here. I tried to comment it well so you can make it your own without too much work. With that in mind, please leave comments with your suggestions and ideas.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
# arrange.scpt
#
# set dimensions and position of commonly used applications
# depending on whether one or two monitors are attached
#
# to add an application, find its bounds with both one and two
# displays connected:
#
# tell application "System Events"
#   tell application "ApplicationName"
#     get bounds of window 1
#   end tell
# end tell&lt;/code&gt;
&lt;code&gt;
# get frontmost application so we can bring it back to frontmost 
# on completion of script
tell application "System Events"
  set focus to name of the first process whose frontmost is true
end tell&lt;/code&gt;
&lt;code&gt;
# get width of desktop
tell application "Finder"
  set bnds to bounds of window of desktop
  set wide to item 3 of bnds
end tell&lt;/code&gt;
&lt;code&gt;
# find out number of displays connected based on screen width
# 1440 is the width of a 15 inch MacBook Pro. change this 
# based on your screen size. 
if wide is equal to 1440 then
  set displaynum to "onedisp"
else
  set displaynum to "twodisp"
end if&lt;/code&gt;
&lt;code&gt;
# make the smaller, center-most terminal window frontmost
# i always have two terminal windows open - this assures
# the correct windows are resized and moved. 
tell application "System Events"
  set if_running to (exists process "Terminal")
  if if_running then
    tell application "Terminal"
      activate
      set bnds_one to get bounds of window 1
      set wide_one to item 3 of bnds_one
      set bnds_two to get bounds of window 2
      set wide_two to item 3 of bnds_two
      if wide_one is greater than wide_two then
        tell application "System Events"
          keystroke "`" using command down
        end tell
      end if
    end tell
  end if
end tell&lt;/code&gt;
&lt;code&gt;
tell application "System Events"
  set if_running to (exists process "Terminal")
  if if_running then
    if displaynum is equal to "onedisp" then
      tell application "Terminal"
        activate
        try
          set bounds of window 1 to {286, 176, 1052, 668}
          set bounds of window 2 to {323, 215, 1425, 889}
        end try
      end tell
    else
      tell application "Terminal"
        activate
        try
          set bounds of window 1 to {2249, -467, 2868, -101}
          set bounds of window 2 to {2249, -86, 3351, 588}
        end try
      end tell
    end if
  end if
end tell&lt;/code&gt;
&lt;code&gt;
# resize the rest of the applications that are usually open. 
# note the "try" commands - this is a failsafe in addition
# to 'exists process "foo"' so the script doesn't choke if the 
# application is not running. &lt;/code&gt;
&lt;code&gt;
tell application "System Events"
  set if_running to (exists process "TextMate")
  if if_running then
    if displaynum is equal to "onedisp" then
      tell application "TextMate"
        activate
        try
          set bounds of window 1 to {18, 34, 567, 885}
        end try
      end tell
    else
      tell application "TextMate"
        activate
        try
          set bounds of window 1 to {1450, -466, 2239, 582}
        end try
      end tell
    end if
  end if
end tell&lt;/code&gt;
&lt;code&gt;
tell application "System Events"
  set if_running to (exists process "Google Chrome Canary")
  if if_running then
    if displaynum is equal to "onedisp" then
      tell application "Google Chrome Canary"
        activate
        try
          set bounds of window 1 to {196, 55, 1398, 811}
        end try
      end tell
    else
      tell application "Google Chrome Canary"
        activate
        try
          set bounds of window 1 to {0, 22, 1440, 899}
        end try
      end tell
    end if
  end if
end tell&lt;/code&gt;
&lt;code&gt;
tell application "System Events"
  set if_running to (exists process "iTunes")
  if if_running then
    if displaynum is equal to "onedisp" then
      tell application "iTunes"
        activate
        try
          set bounds of window 1 to {90, 103, 1239, 833}
        end try
      end tell
    else
      tell application "iTunes"
        activate
        try
          set bounds of window 1 to {85, 135, 1234, 865}
        end try
      end tell
    end if
  end if
end tell&lt;/code&gt;
&lt;code&gt;
tell application "System Events"
  set if_running to (exists process "Transmission")
  if if_running then
    if displaynum is equal to "onedisp" then
      tell application "Transmission"
        activate
        try
          set bounds of window 1 to {962, 36, 1424, 404}
        end try
      end tell
    else
      tell application "Transmission"
        activate
        try
          set bounds of window 1 to {2882, -470, 3344, -102}
        end try
      end tell
    end if
  end if
end tell&lt;/code&gt;
&lt;code&gt;
# tweetie is old and incompatible with the other functions.
tell application "System Events"
  tell process "Tweetie"
    activate
    try
      set size of window 1 to {355, 878}
    end try
    try
      set position of window 1 to {1, 23}
    end try
  end tell
end tell&lt;/code&gt;
&lt;code&gt;
# set frontmost application back
tell application focus
  activate
end tell
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Related Articles&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.macinstruct.com/node/78"&gt;How to Connect Multiple Monitors to Your Mac&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Richard Myers is a nerd with stupid nickname who lives in New Jersey. You can reach him by email at &lt;a href="mailto:desk@movesmye.rs"&gt;desk@movesmye.rs&lt;/a&gt; or at his website, &lt;a href="http://movesmye.rs/" title="http://movesmye.rs/"&gt;http://movesmye.rs/&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=K4GRE9mYAC4:o0eVx2qvtCQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=K4GRE9mYAC4:o0eVx2qvtCQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=K4GRE9mYAC4:o0eVx2qvtCQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=K4GRE9mYAC4:o0eVx2qvtCQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=K4GRE9mYAC4:o0eVx2qvtCQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Mon, 19 Dec 2011 14:50:57 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">410 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Create Sitemaps with SiteOrbiter</title>
    <link>http://www.macinstruct.com/node/243</link>
    <description>&lt;p&gt;Websites are getting larger and larger, and keeping track of them as they evolve can be a hassle. If you're a web developer, you'll want to create what's called a &lt;a href="http://en.wikipedia.org/wiki/Site_map"&gt;site map&lt;/a&gt;, a special file that lists all of the pages of your website in an hierarchical order. This file can be submitted to search engines to help them index your website. But how the heck are you supposed to create one on your Mac?&lt;/p&gt;
&lt;p&gt;Enter a native Mac application called &lt;a href="http://www.siteorbiter.cc/"&gt;SiteOrbiter&lt;/a&gt;. SiteOrbiter is freeware (registration required) and requires Mac OS 10.1 or later. This application will index your files, create an XML site map for Google and other search engines, and also create a visual sitemap that can be saved as a PDF.&lt;/p&gt;
&lt;p&gt;Here's how to do it:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download SiteOrbiter from &lt;a href="http://www.siteorbiter.cc/index.html" title="http://www.siteorbiter.cc/index.html"&gt;http://www.siteorbiter.cc/index.html&lt;/a&gt;. To install the application, open the disk image and drag SiteOrbiter to your Applications folder.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;When you open SiteOrbiter for the first time, you'll be greeted by the SiteOrbiter Assistant. Enter the URL of the website you'd like to index or, if it's located on your Mac's hard drive, click the Browse button and select the top level directory.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter1.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;SiteOrbiter will start indexing your website. This could take a while, especially if you have a large website. You'll see files flashing by in the status display in the upper-left corner of the screen (below).
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter2.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Once SiteOrbiter has finished indexing your website, you'll see a graphical representation of your website in the main window.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter3.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Save your sitemap for search engines by selecting Save from the File menu. You can also export the graphical representation of your website by selecting "Extract to PDF" from the File menu.
&lt;p&gt;You can also export the data as a sitemap for Google by selecting "Generate Site Map" from the Reports and Maps menu.
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Taking Another Look at the SiteOrbiter Assistant&lt;/h4&gt;
&lt;p&gt;Now that you've created your very own sitemap with SiteOrbiter, it's time to take a look under SiteOrbiter's hood. We'll start by reexamining the SiteOrbiter Assistant. What do all of those options actually do? &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter1.jpg" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;User Agent:&lt;/b&gt; This menu is especially interesting. You can appear to the server to be using any agent you like. If, for example, your site is designed to deliver different dynamic data to different browsers, you can generate a site map of what each of those browsers are being delivered and check for accuracy of your sniffer scripts.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Maximum Recursive Depth:&lt;/b&gt; This option allows you decide how deep to decend into the bowels of the website. If you're not sure, start with 8 or 10 and see if a lot of pages are missing. If so, you can adjust as necessary.&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;&lt;li&gt;
&lt;/li&gt;&lt;li&gt;&lt;b&gt;Copy Remote Site:&lt;/b&gt; You can also use SiteOrbiter to download a remote website to your Mac's hard drive. Use this cautiously. It can take a while to download, and if the site isn't yours please don't violate any copyrights!&lt;/li&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Configuring SiteOrbiter's Preferences&lt;/h4&gt;
&lt;p&gt;The settings you configure in SiteOrbiter's preferences can have a huge effect on the size of your sitemap. Here are some of the options you need to know about:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter4.jpg" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Download Folder:&lt;/b&gt;Select the folder you want to use as an archive.&lt;br /&gt;
Note: If you download a site, and you move the files, SiteOrbiter will download the entire site again when you next request a download. If not, SiteOrbiter will only download files that have been modified.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Only Include:&lt;/b&gt;You can set this to include, for example, only HTML, PHP or maybe just SWF files.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Treat Links with Arguments:&lt;/b&gt; Each argument will be recorded as a seperate page. (I.e.: &lt;i&gt;http://www.mysite.com/index.pl?today&lt;/i&gt; and &lt;i&gt;http://www.mysite.com/index.pl?tomorrow&lt;/i&gt; would each be separate pages.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Understanding SiteOrbiter's Toolbar&lt;/h4&gt;
&lt;p&gt;You know what we're talking about. What exactly is that unholy mass of buttons on SiteOrbiter's main window? &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter5.jpg" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Index/Stop:&lt;/b&gt; Clicking this will re-index your website or, if SiteOrbiter is currently re-indexing, stop the re-indexing process.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Browser:&lt;/b&gt; Highlight a page and click Browser to display that page in a browser window.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Up, Left, Down, Right:&lt;/b&gt; Moves the map around in the window. You can also use the scrollbars.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Hide Map:&lt;/b&gt; For a large site, redrawing the map can be a processor hog, so you can turn it off to improve performance.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Download:&lt;/b&gt; Again, please be judicious. This can be a boon when you are taking over a website, and you'll have the site map as well. Once you've downloaded the site you can use this feature to keep your disk copy up to date. SiteOrbiter will only download differences after the initial download.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Transcript:&lt;/b&gt; This shows header information. Useful with dynamic pages and scripts.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Only HTML:&lt;/b&gt; Ignores non-HTML files in the map view.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Select Lock:&lt;/b&gt; You can lock a node to keep it open even as you click on other nodes. Think of it as a placeholder.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Names:&lt;/b&gt; Turned off by default, this will show the names associated with the nodes.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Selected:&lt;/b&gt; Shows just the info for the selected node.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Zoom:&lt;/b&gt; Zoom out for a macro view or in on a particular node.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Using the Map Window&lt;/h4&gt;
&lt;p&gt;SiteOrbiter's real power becomes apparent when you start manipulating your sitemap. There are several view options that will help you view your website.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/siteorbiter/siteorbiter6.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;You can view all of the objects in the map, or a subset. Subset is the default setting. To switch views, just click the display mode link in the lower right hand corner. You can select from Tree, Concentric Circles, Subset or lower left. You can also click and drag nodes on the map to better organize them.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Subset mode:&lt;/b&gt; Clicking on a link in the map window will select that link and you can then view any links related to that "node." This makes it simple to quickly see the relationships between objects in the site, and you'll see outbound and inbound links.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;All Objects:&lt;/b&gt; This display mode can be quite daunting on a larger site, but it makes it easy to spot orphaned pages and get a very high level view of the site. The home page is always identified as the starting object, but you can use "show from" mode to select a particular node and show the site from that viewpoint.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Conclusion&lt;/h4&gt;
&lt;p&gt;That's pretty much it. All in all, SiteOrbiter is a useful tool for getting a grip on the loose ends that may be lolling around in your website, and it can also give you a lot of insight into who's linking to your site and what pages they are linking to. Combine that with your traffic stats and you'll have a much better picture of what your users are up to!&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Janet Fouts is a web developer and designer who provides tech support for a bevy of clients and friends who need a little help with their Macs. In Code Mojo she will be sharing her web development tools and tips to make your life a bit easier.&lt;/p&gt;
&lt;/ul&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=7O4hyW6CDg4:YzS_naliTe8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=7O4hyW6CDg4:YzS_naliTe8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=7O4hyW6CDg4:YzS_naliTe8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=7O4hyW6CDg4:YzS_naliTe8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=7O4hyW6CDg4:YzS_naliTe8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Thu, 07 Feb 2008 04:44:56 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">243 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Set Up a Wireless Captive Portal Server</title>
    <link>http://www.macinstruct.com/node/188</link>
    <description>&lt;p&gt;What does a captive portal server, also called a NAC (Network Access Control) do? It can sandbox any wireless connection until some form of authentication is provided. These servers are used in many cafes and public places that offer wireless internet. For example, when you try to connect to the wireless network at Starbucks, it will force your web browser to the same page - no matter what URL you enter. Until you authenticate, you can't go anywhere on the Internet. &lt;/p&gt;
&lt;p&gt;There are some great commercial solutions out there that work really well, but implementing 802.1X port security can cost lots of money and time. Companies like &lt;a href="http://www.infoblox.com/"&gt;Infoblox&lt;/a&gt; provide an appliance, and when coupled with solutions like &lt;a href="http://bigfix.com/"&gt;Bigfix&lt;/a&gt; can provide a very robust and transparent network security model. Pitney Bowes has implemented a system were an unknown user can attach their laptop and get one of two services: Either simple port 80 access for 8 hours, or the option to register and automatically have their computer scanned patched/updated to comply with the companies policies. This is all transparent.&lt;/p&gt;
&lt;p&gt;So what do you do if you don't have the resources or the money to buy one of these solutions? You can still implement some control over DHCP assignment. The goal is to eliminate the unknown on your network. In our case, we will use the Ethernet MAC address of the client's NIC as a way of authentication. Each network interface card has its own unique address, and it looks something like this: 00:30:65:88:01:93. When an unknown computer is placed on the network that asks for an IP through DHCP it will receive one that is restricted. No matter what web page the user tries, we will always show them a pre-defined page. When a computer that has its MAC address defined on the server asks for an IP, it will be given the correct TCP/IP settings to use the network.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; This is not secure, and will not prevent someone from stealing a working IP on your network. If the user is savvy enough they can find the TCP/IP info on another computer and use it. If you are looking for that kind of security, then this article is not enough for you. Check out Infoblox or another commercial solution.&lt;/p&gt;
&lt;p&gt;Here's how to do it:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Make sure the Mac you are using has all os updates and security patches applied.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;From the Apple menu, select System Preferences.  Select Network.  Turn off all unused configurations. The interface we will be using is the Built-in Ethernet.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/portal/portal1.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Select Built-in Ethernet and click Duplicate.  Click Rename and add your dummy subnet.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Edit the interfaces to have the correct subnets.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/portal/portal2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/portal/portal3.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Make sure you are logged in as an admin to use the sudo command. You will need to use a text editor like VI, Pico, Emacs, or TextWrangler to create and edit the config files needed.
&lt;p&gt;Download the latest version of DHCP from &lt;a href="http://www.isc.org/index.pl?/sw/dhcp/" title="http://www.isc.org/index.pl?/sw/dhcp/"&gt;http://www.isc.org/index.pl?/sw/dhcp/&lt;/a&gt;. The latest version at the time of this article is 3.0.6. You will need to have the GCC compiler installed. Install the Xcode developer software that came with your Mac or latest Mac OS X install disks.&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Once you have downloaded the DHCP source, double-click on the .gz file to unzip and untar the directory. Launch the Terminal application (located in /Applications/Utilities). Use the "cd" command to change to the dhcp directory you just expanded. The easiest way is to type "cd" and drag and drop the dhcp directory into the Terminal window.  Here's an example:
&lt;p&gt;&lt;code&gt;cd /Users/dmc/Desktop/Downloads/dhcp-3.0.6/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Now type the following and hit return.
&lt;p&gt;&lt;code&gt;./configure&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Type the following and hit return.
&lt;p&gt;&lt;code&gt;make&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Type the following and hit return.
&lt;p&gt;&lt;code&gt;sudo make install&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Setting Up DHCP&lt;/h4&gt;
&lt;p&gt;You now should have a working DHCPd package installed on the Mac. The next step is to set up the dhcpd.conf file that lives in /etc. The below example will do just that.&lt;/p&gt;
&lt;p&gt;Here's how the thing works:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hand out static IPs in the 10.0.1.0 range to hosts that we have the Ethernet hardware address of (MAC address).&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Hand out dummy IPs in the 192.168.50.0 range that will force all host names to resolve back to our captive portal server. This will force any http requests to show the page we want people to see.
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You should read the man page for dhcpd.conf to gain an understanding of the options and commands used here.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
======================begin dhcpd.conf===========================&lt;br /&gt;
# dhcpd.conf&lt;br /&gt;
# this file should be located in /etc&lt;br /&gt;
default-lease-time 900;&lt;br /&gt;
ddns-update-style none;&lt;br /&gt;
deny client-updates;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;shared-network "mynet" {&lt;br /&gt;
# This is the dummy network&lt;br /&gt;
subnet 192.168.50.0 netmask 255.255.255.0 {&lt;br /&gt;
range 192.168.50.2 192.168.50.253;&lt;br /&gt;
max-lease-time 7200;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
option broadcast-address 192.168.50.255;&lt;br /&gt;
option domain-name-servers 192.168.50.1;&lt;br /&gt;
option routers 192.168.50.1;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;# This is the real network&lt;br /&gt;
subnet 10.0.1.0 netmask 255.255.255.0 {&lt;br /&gt;
max-lease-time 21600;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
option broadcast-address 10.0.1.255;&lt;br /&gt;
option routers 10.0.1.1;&lt;br /&gt;
option domain-name-servers 10.0.1.251;&lt;br /&gt;
option domain-name "example.com";&lt;br /&gt;
}&lt;br /&gt;
# This is a sample reserved host entry&lt;br /&gt;
host example1 {&lt;br /&gt;
hardware ethernet 00:30:65:88:01:93;&lt;br /&gt;
fixed-address 10.0.1.5;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;host example2 {&lt;br /&gt;
hardware ethernet 00:16:cb:91:16:93;&lt;br /&gt;
fixed-address 10.0.1.6;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
======================end dhcpd.conf===========================&lt;br /&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create the dhcpd.leases file using the following command:
&lt;p&gt;&lt;code&gt;sudo touch /var/db/dhcpd.leases&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;To test the the DHCP server, run the following command in a Terminal window:
&lt;p&gt;&lt;code&gt;sudo /usr/sbin/dhcpd -f -d en0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The above command runs DHCPd in the foreground using the -f option and in debug mode using the -d option. This allows you to see all actions the DHCP server is performing. Populate the dhcpd.conf with the MAC addresses of the hosts you want.&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
Alternatively, you can also assign random IPs from the real network if you don't care who gets what IP. To do this, leave out the the "fixed-address" line of the reserved host. in the real network section add a line to deny unknown clients and add a range of addresses to hand out like so:
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
}&lt;br /&gt;
# This is the real network&lt;br /&gt;
subnet 10.0.1.0 netmask 255.255.255.0 {&lt;br /&gt;
max-lease-time 21600;&lt;br /&gt;
range 10.0.1.2 10.0.1.250&lt;br /&gt;
deny unknown-clients;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
option broadcast-address 10.0.1.255;&lt;br /&gt;
option routers 10.0.1.1;&lt;br /&gt;
option domain-name-servers 10.0.1.251;&lt;br /&gt;
option domain-name "example.com";&lt;br /&gt;
}&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.sdmachelp.com/downloads/cps/org.isc.dhcpd.plist"&gt;Here is a launchdaemon plist file&lt;/a&gt; you can use to launch dhcpd at boot. Place it in /Library/LaunchDaemons.
&lt;p&gt;To load the file into launchd, type the following command into Terminal:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/bin/launchctl load -w /Library/LaunchDaemons/org.isc.dhcpd.plist&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To unload and keep dhcpd from launching at boot, type the following command into Terminal:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/bin/launchctl unload -w /Library/LaunchDaemons/org.isc.dhcpd.plist&lt;/code&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Set Up the Dummy DNS Server&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;First create a file in /etc called rndc.key. This file will keep BIND from complaining that it is missing. Since you will not be updating, the DNS we can use a generic file and not include anything in the named.conf.
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
======================begin rndc.key===========================&lt;br /&gt;
key "rndc-key" {&lt;br /&gt;
algorithm hmac-md5;&lt;br /&gt;
secret "8E48raKxqEVCtKYFxA+loQ==";&lt;br /&gt;
};&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;======================end rndc.key===========================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;You will need to create the following named.conf file in /etc:
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
======================begin named.conf===========================&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;acl dummynets { 192.168.50.0/24; 192.168.51.0/24; };&lt;/p&gt;
&lt;p&gt;options {&lt;br /&gt;
directory "/var/named";&lt;br /&gt;
auth-nxdomain no; # conform to RFC1035&lt;br /&gt;
notify no;&lt;br /&gt;
allow-query { dummynets; };&lt;br /&gt;
allow-recursion { none; };&lt;br /&gt;
allow-transfer { none; };&lt;br /&gt;
max-ncache-ttl 60;&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;logging {&lt;br /&gt;
category default {&lt;br /&gt;
_default_log;&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;channel _default_log {&lt;br /&gt;
file "/Library/Logs/named.log";&lt;br /&gt;
severity info;&lt;br /&gt;
print-time yes;&lt;br /&gt;
};&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;zone "." IN {&lt;br /&gt;
type master;&lt;br /&gt;
file "db.fakeroot";&lt;br /&gt;
allow-query { dummynets; };&lt;/p&gt;
&lt;p&gt;};&lt;/p&gt;
&lt;p&gt;======================end named.conf===========================&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The above says to use db.fakeroot as the root dns zone file. The "acl dummynets { 192.168.50.0/24; 192.168.51.0/24; };" tells that only our dummy subnet can request queries.&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Now we need to create the db.fakeroot zone file in /var/named.
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
======================begin db.fakeroot===========================&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;$TTL 7200&lt;/p&gt;
&lt;p&gt;@ IN SOA hostname.exapmle.com user.example.com (&lt;br /&gt;
1 ; Serial&lt;br /&gt;
3600 ; Refresh every 1 hours&lt;br /&gt;
1800 ; Retry every 30 minutes&lt;br /&gt;
604800 ; Expire after 7 days&lt;br /&gt;
1 ) ; TTL 1 second&lt;/p&gt;
&lt;p&gt;IN NS 192.168.50.1&lt;/p&gt;
&lt;p&gt;IN A 192.168.50.1&lt;br /&gt;
* IN A 192.168.50.1&lt;/p&gt;
&lt;p&gt;======================end db.fakeroot===========================&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The above zone file resolves all hostnames back to 192.168.50.1&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Apple has included a launch daemon plist that can be used to start and stop the named service. Unfortunately, it doesn’t work, because it launches named before all the network stuff is loaded at boot. Until we get a fix, we will use the old style startup item. &lt;a href="http://www.sdmachelp.com/downloads/cps/BIND.zip"&gt;Download this file&lt;/a&gt;, unzip it and place the BIND folder in /Library/Startupitems/. This will make sure named is launched at startup.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Test the DNS service by typing the following command on a host computer that has been given one of the dummy IPs:
&lt;p&gt;&lt;code&gt;host www.cnn.com&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It should resolve to 192.168.50.1
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Set Up Apache to Redirect Missing Paths&lt;/h4&gt;
&lt;p&gt;The line you want to edit in your httpd.conf file looks like the following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#ErrorDocument 404 /missing.html&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Change it to:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ErrorDocument 404 /&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Create a simple index.html page that tells the user to contact you for proper access and save it to /Library/webserver/Documents. Turn on personal websharing in the sharing system prefs pane to start Apache.&lt;/p&gt;
&lt;p&gt;You can get pretty creative using CGI and have users fill out a form that gives you their information.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;David Miller has been supporting Macs since the mid '90s.  He has worked for large ISPs and DOE sites, and he's currently working as a Unix systems administrator.  He has graciously allowed Macinstruct to reprint this tutorial, which was originally written for his personal website: &lt;a href="http://www.sdmachelp.com/" title="http://www.sdmachelp.com/"&gt;http://www.sdmachelp.com/&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=vf--n1jUcN0:QshDHb1tJmc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=vf--n1jUcN0:QshDHb1tJmc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=vf--n1jUcN0:QshDHb1tJmc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=vf--n1jUcN0:QshDHb1tJmc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=vf--n1jUcN0:QshDHb1tJmc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 25 Jul 2007 07:42:21 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">188 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Create a Web Development Environment With MAMP</title>
    <link>http://www.macinstruct.com/node/182</link>
    <description>&lt;p&gt;Those of us who have websites know that we need a development environment to work on new features, make changes, and just experiment.  If you're creating static HTML pages, you don't need much - you can create the pages on your Mac and preview them locally in your web browser or a with WYSIWYG application like &lt;a href="http://www.apple.com/ilife/iweb/"&gt;iWeb&lt;/a&gt;.  However, things are a bit more complicated if you're working with web applications that use PHP and MySQL.  &lt;/p&gt;
&lt;p&gt;In that case, you're going to want to use &lt;a href="http://www.mamp.info"&gt;MAMP&lt;/a&gt;, a free web development environment for your Mac.  MAMP comes with everything you need, including Apache, PHP, MySQL, and even the buzzword-compliant acronym.  (MAMP, by the way, stands for Mac, Apache, MySQL, and PHP.)  It's not suitable for a production web server, but it's perfect for your home Mac.  &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;We'll show you how to install and configure MAMP on your Mac.  To spice things up a little, we'll also install &lt;a href="http://drupal.org"&gt;Drupal&lt;/a&gt;, an open source content management system (CMS) that powers the likes of &lt;a href="http://www.theonion.com"&gt;The Onion&lt;/a&gt;, &lt;a href="http://www.twit.tv"&gt;TWiT.tv&lt;/a&gt;, &lt;a href="http://www.maclife.com"&gt;Mac|Life&lt;/a&gt;, and yes, even &lt;a href="http://www.macinstruct.com"&gt;Macinstruct&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Install and Configure MAMP&lt;/h4&gt;
&lt;p&gt;Installing MAMP is a pretty straightforward process.  The installer is graphical, and MAMP keeps itself contained to a single folder in your Applications folder, which is really nice.  Here's how to install:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.mamp.info"&gt;Download MAMP&lt;/a&gt; from living-e.  It could take a bit longer to download than other applications - our MAMP download weighed in at a hefty 109 MB.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Double-click on the MAMP disk image to mount it on your Mac.  Drag the MAMP folder to your Applications folder.  Leave MAMP in your Applications folder and don't nest it in other folders.  (The server applications require this.)
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp2.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Launch MAMP by double-clicking the MAMP icon in the MAMP folder.  Once the MAMP window appears, click Start Servers to get everything going.  When you see green lights, you know you're good to go.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp3.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;MAMP will open a web page in your default web browser.  &lt;i&gt;This web page contains important information! Do not close this web page until you have jotted down all of the information you need.&lt;/i&gt;  The page also contains links to phpMyAdmin and SQLiteManager.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp4.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;That's it!  Now you can start installing your web site.  (Applications &gt; MAMP &gt; htpdocs)  Your website can be found at: &lt;a href="http://localhost:8888" title="http://localhost:8888"&gt;http://localhost:8888&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;Install and Configure Drupal&lt;/h4&gt;
&lt;p&gt;Now that we have MAMP working, we need to put it to use.  You can host anything you want - content management systems such as &lt;a href="http://www.wordpress.org"&gt;WordPress&lt;/a&gt; will work perfectly.  We're going to use &lt;a href="http://www.drupal.org"&gt;Drupal&lt;/a&gt; as an example.  Here's how you can install it, too:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.drupal.org"&gt;Download&lt;/a&gt; Drupal from the official website.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Uncompress the zip file in: Applications &gt; MAMP &gt; htdocs.  Cutting and pasting all of the Drupal files into the home directory is a good idea.  To do this, take all of the files in the Drupal folder (ours is called "drupal-5.1") and drag them to the htdocs folder.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;With your web browser, visit &lt;a href="http://localhost:8888" title="http://localhost:8888"&gt;http://localhost:8888&lt;/a&gt;.  If everything worked, you should see a web page like the one below.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp5.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Set the database type to mysql.  In the Database name box, type &lt;i&gt;test&lt;/i&gt;.  We could create a new database, but it's easier just to use test - a database MAMP creates by default.  The database username and password is root.  If everything works, you'll see a &lt;i&gt;Drupal installation complete&lt;/i&gt; message on the next page.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp6.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;We'd like to say that you're finished, but you're actually just getting started.  Customizing Drupal can be a long, painstaking task.  &lt;a href="http://www.ibm.com/developerworks/ibm/osource/index.html"&gt;Click here&lt;/a&gt; for a wonderful tutorial on using Drupal.
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/mamp/mamp7.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h4&gt;XAMPP: The MAMP Alternative&lt;/h4&gt;
&lt;p&gt;If you don't like MAMP, be sure to try &lt;a href="http://www.apachefriends.org/en/xampp-macosx.html"&gt;XAMPP&lt;/a&gt;, another free Mac web development environment.  We don't think XAMPP is quite as polished as MAMP, but it does have a number of features that MAMP doesn't, so if you're a hardcore tinkerer, you better check out XAMPP!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Matthew Cone is a technical writer living and working in Albuquerque, New Mexico.  In his free time, he does the desert rat thing and hikes and road bikes around the Southwest.  The rest of the time, he studies straw-bale houses, reads Anarchist philosophy, and pretends to not be working.  You can email him at: &lt;a href="mailto:matt@macinstruct.com"&gt;matt@macinstruct.com&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=_xFus5G5m9E:Yh7Jm3UNjOg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=_xFus5G5m9E:Yh7Jm3UNjOg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=_xFus5G5m9E:Yh7Jm3UNjOg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=_xFus5G5m9E:Yh7Jm3UNjOg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=_xFus5G5m9E:Yh7Jm3UNjOg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 18 Jul 2007 08:30:16 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">182 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Software Piracy: Black Beard &amp; Captain Kidd!</title>
    <link>http://www.macinstruct.com/node/67</link>
    <description>&lt;p&gt;&lt;i&gt;In keeping with a recent article about piracy in the &lt;a href="http://www.runrev.com/"&gt;Runtime Revolution Newsletter&lt;/a&gt;, I've chosen to reprint an article I wrote in 2000 for the original Macinstruct website. It is still quite relevant and on target. Last week's Code Mojo article presented me with significant issues - more than I had originally thought - but I will be back next week reviewing some of the scripting that was done in the Coloring Book application.&lt;br /&gt;
-Joe&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Real or fictional? Sinister or comical? Pirates are no joke! They do serious harm! An act of piracy is committed when someone takes anything that isn't theirs and uses it for their own purposes. It seems different than outright stealing; but, for the life of me, I don't see how or why! Once upon a time, such acts were performed only on the high seas; while today's pirates perform theirs over the Internet, not the ocean waves. &lt;/p&gt;
&lt;p&gt;The modern pirate is fettered with neither eye patches nor peg-legs, though the eyes do blur at times and the legs go to sleep from lack of use. Using computer software without a proper, valid authorization, a license, is an act of piracy. Software pirates are every bit as bad as those who hold up banks or liquor stores at gun point. In some respects they are even worse, since they rarely get caught, are rarely prosecuted, yet do severe, real damage to the lives of other people.&lt;/p&gt;
&lt;h4&gt;Why Am I Talking About Piracy on Macinstruct?&lt;/h4&gt;
&lt;p&gt;Because new Mac users frequent this site to learn about their Macs, and the use of Mac software, and that is what I am going to discuss. Piracy is but one of several important considerations to which many users are never adequately exposed. At this time I will cover copyrights and piracy. New, as you may be to the world of Mac software, you have most likely been exposed to situations in which you should have read a license agreement before clicking on a product installer's "I Agree" button. If you are like most of us, you maybe read the first one you encountered, but have assumed that all of the others are "exactly" the same. That may not necessarily be the case. &lt;/p&gt;
&lt;h4&gt;Freeware&lt;/h4&gt;
&lt;p&gt;Though there is no need to Register this type of software, it is a good idea to do so, since you may get a break on new versions if the owner chooses to change to shareware or commercial releases. You may, at least, be notified when new, free versions are issued. This software's license probably comes with some limitations, so read the terms of the agreement. The usual limitations are that you may not sell it to anyone and, when you give it to someone, you must include all of the items that come with it - such as "Read Me" files. So, it is still possible to be guilty of pirating free software. You must obey the terms of your free license. In some cases you will not be allowed to include the product on software collection CDs that are sold for profit, but an email to the owner will usually get you permission to do so, as long as the proper recognition is provided and you send them a free copy of your CD. After all, "exposure and distribution" is the name of the game, and we all need as much of it as we can get.&lt;/p&gt;
&lt;h4&gt;Shareware&lt;/h4&gt;
&lt;p&gt;When you pay the shareware fee, usually less than $25US, you will be registered and licensed by the owner of the product's copyright, and often entitled to subsequent upgrades for free, or to minor upgrades for free, and major upgrades for a reduced fee. Again, read the terms of the agreement. Once more, even though you will actually be encouraged to pass the product along to your friends and associates, there are usually some limitations as to the manner in which you may do this. The same limitations I mentioned for freeware distribution normally apply to shareware as well. If you do not pay the shareware fee, and you use the product contrary to the licensing agreement, you have pirated the software. Most shareware permits you to use the product for some specified period of time to determine whether you wish to have a permanent license, or not. If you plan to leave it on your hard drive, you should pay the shareware fee - even if you only use it once in a blue moon, or on every February 29th.&lt;/p&gt;
&lt;h4&gt;Commercial Software&lt;/h4&gt;
&lt;p&gt;In most instances, you will pay for the product before you receive it and you may choose not to register with the owner if that is your pleasure, but I would again recommend that you do so. &lt;/p&gt;
&lt;p&gt;It is pretty difficult to "accidentally" pirate this kind of software. If a friend "loans" you a copy of one of their software products; or, heaven forbid, "sells" you a copy without providing everything that they acquired when purchasing it, and you do anything more than try it out - which I think is reasonable, though it may be against the letter of the licensee's agreement, then you are using a pirated copy. &lt;/p&gt;
&lt;p&gt;Almost any reasonable software publisher will want you to demo their products with a friend, even to the extent of "loaning" them a copy, so long as they are told in no uncertain terms that they must purchase their own license if they decide to keep the product on their hard drive. I have mixed feelings about someone keeping a copy around on some removable media - just in case they eventually decide to license it. From a strictly legal point of view, I believe that would be piracy as well, but I think you may have to search your own conscience on this one. My feeling - just feeling mind you - is that if you produce something a second time using a product, then you must license it regardless of how you have it "hanging around."&lt;/p&gt;
&lt;h4&gt;Copy Protection&lt;/h4&gt;
&lt;p&gt;First, the disclaimer.  I am not an expert on copyright law, and have no training in that area. I do not pretend to offer legal advice on that or related subjects, though the reader may feel that I have and do. There are many views on these subjects. You might want to do a search for "copyrights" to check out the many diverse opinions regarding both copyrights and piracy. You will also find an interesting topic called "copylefts."&lt;/p&gt;
&lt;p&gt;Regardless of how a product is distributed, all software was created by someone and is the intellectual property of the entity proclaiming the copyright on and/or in their software, or other work. It is not required that the item, claimed as the copyrighted property of that entity, be registered; but, in the case of disputes, registration makes the copyright entitlement much easier to prove, and subsequently enforced if need be. Registering a copyright does not need to be an expensive process handled by an attorney. You can do it yourself by completing the appropriate forms and paying the required, nominal fee.  &lt;/p&gt;
&lt;h4&gt;In Conclusion&lt;/h4&gt;
&lt;p&gt;We like to think of the Macintosh community as somehow "better" than those who only use PCs. In many respects this has been demonstrated by the paucity of viruses to be found infecting our Macintoshes. For the most part, I think you will also find that Mac users are more inclined to pay their rightful shareware fees. I would like to think this to be true about the larger act of piracy as well - that we do it much less. It would be terrific if we didn't do it at all!&lt;/p&gt;
&lt;p&gt;It is unfortunate when some software developers have to resort to exotic registration schemes and/or hardware "dongles" to protect their intellectual property - and it is still theirs. We are only allowed to borrow it for a specified period of time, and under very specific conditions. Taking these extra measures makes their software more difficult to use, and more expensive to produce for all of us.&lt;/p&gt;
&lt;p&gt;Reward those who produce exceptional software at reasonable prices. Pay the shareware fees, register your acquisitions, adhere to the conditions of the licensing agreements, and provide the owner with intelligent feedback so that they may improve their products and make them even more useful for us. Promote the best software among your friends and associates; let them know when you've received excellent support. Be just as vocal when you find someone using unauthorized software. It can be done in such a manner as to point out the problem, without embarrassing them. Sometimes, a mere reference to the fact that you received a discount on your last upgrade, because you had registered yours, will stimulate them into doing the same. Always assume that it was an oversight on their part, but never ignore it completely. We all have a major investment in time and money in the best personal computer "system" to be found. Let's make sure that it stays healthy from top to bottom by doing our part. We may not like the law, but it is the law - for now.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Joe Wilkins is a licensed architect who produces all of his work on Macs (yes, even when all he had to work with was a Mac Plus, floppy disks and a wide carriage dot-matrix printer). He has produced his own "Picture" fonts, programmed 5 commercial applications, and chalked up more than twenty-two years of Mac experience - starting with the Lisa. He also authored the "University of HyperCard" on the original Macinstruct website.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=fCOoXaw9f0Q:DmUsy2MBqgk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=fCOoXaw9f0Q:DmUsy2MBqgk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=fCOoXaw9f0Q:DmUsy2MBqgk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=fCOoXaw9f0Q:DmUsy2MBqgk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=fCOoXaw9f0Q:DmUsy2MBqgk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 07 Mar 2007 08:49:49 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">67 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Rolling a Revolution Application</title>
    <link>http://www.macinstruct.com/node/61</link>
    <description>&lt;p&gt;We left off &lt;a href="http://www.macinstruct.com/node/54"&gt;last week&lt;/a&gt; with having pretty much completed a completely new &lt;a href="http://www.runrev.com"&gt;Revolution&lt;/a&gt; stack, named the "San Diego Activities and Coloring Book." There were still a number of issues and more than a few scripting challenges to be resolved. I had assumed, somewhat naively, that the balance of the scripts would not be a great deal different than their HyperCard counterparts. As I dug in to completing them, I found that was not exactly to be the case. &lt;/p&gt;
&lt;p&gt;Admittedly, Revolution's scripting language, Transcript, is very much like HyperTalk, HyperCard's scripting language.  But, in order to create a stack that may be converted to standalone applications for a number of different platforms, it appears that it is necessary to use handlers that may then call different APIs for the various platforms that display that platform's unique objects; whether they be dialogs or other elements that appear on the screen that have their own unique appearances and methods of doing things. This means selecting handler names that belong to Revolution, but may then, based on the particular platform, call APIs from those platforms. This may not be exactly the way it is done, but the most likely. So, we find many of the keywords are prefaced by the letters "rev," the balance of the name being pretty much the same as it would be in HyperTalk, but not always or consistently. Hence, finding the right call is not always that easy. So here is the script that is being used for the button "File" of group "Coloring Book Menu Bar":&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;on menuPick pWhich&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  switch pWhich&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "New Coloring Book..."&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;ask &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;file "Enter Name for new Coloring Book and show where to place it."&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;it is empty &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;itemDelimiter &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into savedDL&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;itemDelimiter &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;to "/"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;last item of it into stkName&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;itemDelimiter &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;to savedDL&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;revCopyFile stkName,it&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;stack it in a &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;new &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;window&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the&lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack to quote&amp;amp;stkName&amp;amp;quote&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;title &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack to quote&amp;amp;stkName&amp;amp;quote&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Open..."&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;answer&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; file "Select a Coloring Book to Open" &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;--with type ".rev"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;it&lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;is "Cancel" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; it in a &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;new &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;window&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Close"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;this stack &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;--it's still open, but not visible&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Save..."&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;get &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;long name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;--Puts stack name and path into it&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    revCopyFile&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;(the&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;effective&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;fileName&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;this&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;stack),&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;it&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Save a Copy..."&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    answer folder "Select destination folder for backup: "&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;result&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; is "Cancel" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; menupick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    revCopyFile (the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;effective&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;fileName&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of this stack), it&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Page Setup..."&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;answer &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;printer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Print Current"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;backcolor &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack to "white" &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;--So we don't get a grayed backgound printout.&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide group &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Coloring Book Menu bar" &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;--We don't want to have the Menu printed.&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;    -- Not all cards have the scrolling color field with it but for erasing color by whiting it&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;there is a fld "colorlist" and the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;visible&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of fld "colorlist" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;      &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;fld "colorList"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;      &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;btn "button"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;    end if&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;open &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;printing&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePaperSize is empty &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doPrintThisCard (1224,792),72&lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    else&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;print&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;this&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;cd&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;-- After printing we restore the things we just hid&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;show&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;group&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Coloring Book Menu bar"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;there is a fld "colorlist" and not the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;visible&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of fld "colorlist" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;      show &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;fld "colorList"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;      show &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;btn "button"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end if&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;close &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;printing&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Quit"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack into stkName&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;delete &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;first word of stkName&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;answer&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Are you sure you wish to Quit "&amp;amp;stkName&amp;amp;"?"&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;with&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Cancel"&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;or&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"OK"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;it is "Cancel" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;quit&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  end switch&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doPrintThisCard&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePaperSize,theMargin&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  -- set up defaults if no size and margin provided:&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  if&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePaperSize&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;is&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;empty&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;printPaperSize&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePaperSize&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  if&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theMargin&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;is&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;empty&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;72&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theMargin --72 Pixels per inch&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  -- get the page area:&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  set&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;printMargins&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;to&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;      theMargin,theMargin,theMargin,theMargin&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theMargin,theMargin,&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;      item&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;1&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePaperSize&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;-&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theMargin,&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;      item&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;2&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePaperSize&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;-&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theMargin&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;      into&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;destinationRect&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;--print into that rectangle:&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  print&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;this&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;card&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;destinationRect&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doPrintThisCard&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 11pt; line-height: 10pt; "&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There are still some aspects of the above script that do not work exactly as I would like; particularly the "New Coloring Book" portion. Note that the backslash character is used to continue the previous statement on the next line; and, in some cases, lines. The scripts are automatically indented and colorized, using the Courier Font. I'm still using the defaults for all of these items, but they CAN be changed to suit the users preferences. Where else to set them than the Preferences menu in the Revolution (Application) menu?&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/cmn1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;But for the ones I mentioned, you'll need to click on the "Script Editor" in the left column above.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/cmn2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;As you can see, there are a whole host of Preferences that you may make your own.&lt;/p&gt;
&lt;p&gt;I hadn't really intended to show much, if any, of the scripting for this stack, but I've decided that it is important that you see how similar it is to HyperTalk; so the following is the script that may be found in the Stack's script:&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;mousemove&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;-- To easily reset the cursor by moving the mouse to the top &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;mouseV &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;&amp;lt; 11 &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;Browse &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; mousemove&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; openstack&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;short name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack is "About Coloring Book®" \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;         &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;openstack&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; gColor,gCyan,gEveningBlue,gGold,gMagenta,gDarkGreen,\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;         gYellow, gOrange,gSalmon,gOrchid,gViolet,gBlack,\&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;         gRed,gSpringFrost,gBlue,gWhite&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; TheColor() into gColor&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;repeat with &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;i = 1 to 15&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of menuItem i of button "Color" of the \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;         &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;long name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack to (false)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;repeat&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuitem gBlack of button "Color" of the\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;         &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;long name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack to true &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; revSpeak "Welcome to " &amp;amp; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;short name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;browse &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;end openstack&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; openCard&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;short name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack is not "About Coloring Book®" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    if the number of this cd is 3 or 37 then enable button "Edit"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    else&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;disable&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; button "Edit" of the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;effective name &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this stack&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    if the number of this cd is 11 then &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;      repeat&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;with&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; c = 1 to 15&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;        put&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Field "&amp;amp;c into afld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;        set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;foreGroundColor&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of  Field afld  to "Red"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;      end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;repeat&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  end if&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;end openCard&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; closeCard&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;get &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;number &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this cd&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;there is a fld "Music Instructions" and the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;visible&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of fld\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  "Music Instructions" of cd it &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;fld "Music Instructions" of cd it&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; it is 3 &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    revStopSpeech &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    revUnloadSpeech&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;it is 13 or it is 32 or it is 33 or it is 34 &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;gCurrentPicture is not empty &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;      &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doHidePict gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;    end if&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; closeCard&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;arrowkey theKey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;target &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;is empty &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;pass &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;arrowkey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;switch &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theKey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "up"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;cd 1&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"down"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;cd 57&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"right"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go next&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"left"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;prev&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case else&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;pass &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;arrowkey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end switch&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; arrowKey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;Enterkey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;get &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;number &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this cd &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;it is 13 or it is 32 or it is 33 or it is 34 &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doHidePict gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  end if&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; Enterkey&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doShowPict thePict&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Museum of Man" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 2" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 2" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "San Diego Museum of Art" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 3" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 3" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Sea World" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 4" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 4" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Mormon National Monument" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 5" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 5" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Lindbergh Field" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 6" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 6" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  else &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end if&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; thePict&lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict&lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into field theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;" - Click/ENTER Key to close" after field theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;show &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;graphic theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;show &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;field theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;show &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;image thePict&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"This izz thee"&amp;amp;thePict&lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;into where&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "La Jolla Cove" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"This is the "\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;      &amp;amp; "La Hoya Cove" into where &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Cabrillo National Monument" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;     &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"This is the " &amp;amp; "Cabreyo National Monument" into where &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  revspeak where&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; doShowPict&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;doHidePict thePict&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;image thePict&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Museum of Man" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 2" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 2" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "San Diego Museum of Art" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 3" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 3" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Sea World" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 4" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 4" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Mormon National Monument" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 5" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 5" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;else if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;thePict is "Lindbergh Field" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle 6" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title 6" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  else &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"My Rectangle" into theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Picture Title" into theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end if&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;graphic&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;theGraphic&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;hide &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;field theFld&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;empty into gCurrentPicture&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; doHidePict&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;mouseup&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;browse &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; mouseup&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;  text-decoration: none;"&gt; &lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;function TheColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; gCyan,gEveningBlue,gGold,gMagenta,gDarkGreen,gYellow,gOrange\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;         ,gSalmon,gOrchid,gViolet,gBlack,gRed,gSpringFrost,gBlue,gWhite&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 1 into gCyan&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 2 into gEveningBlue&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; 3 into gGold&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 4 into gMagenta&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 5 into gDarkGreen&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 6 into gYellow&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 7 into gOrange&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 8 into gSalmon&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 9 into gOrchid&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 10 into gViolet&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 11 into gBlack&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 12 into gRed&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 13 into gSpringFrost&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  put 14 into gBlue&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; 15 into gWhite&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  return gBlack&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; TheColor&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The above script is by no means perfect, and there are a number of things that might be done to improve the handlers it contains, but this will have to do for now. Being at the highest level, some of these handlers are called from other places in the stack; such as the Color Menu - see below.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;on menuPick pWhich&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; gColor,gCyan,gEveningBlue,gGold,gMagenta,gDarkGreen,gYellow,gOrange,\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;         gSalmon,gOrchid,gViolet,gBlack,gRed,gSpringFrost,gBlue,gWhite&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkmark &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of menuitem gColor of button "color" to (false)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;empty into gColor&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;switch&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; pWhich&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Cyan"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gCyan of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gCyan into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Evening Blue"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gEveningBlue of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gEveningBlue into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Gold"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gGold of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; gGold into gColor&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Magenta"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gMagenta of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gMagenta into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Dark Green"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gDarkGreen of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gDarkGreen into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Yellow"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gYellow of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gYellow into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Orange"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gOrange of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gOrange into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Salmon"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gSalmon of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gSalmon into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Orchid"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gOrchid of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gOrchid into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Violet"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gViolet of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gViolet into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Black"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gBlack of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gBlack into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Red"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gRed of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gRed into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Spring Frost"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gSpringFrost of button "Color"\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;        to (true)&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gSpringFrost into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "Blue"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gBlue of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gBlue into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    break&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "White"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkMark&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of menuItem gWhite of button "Color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put gWhite into gColor&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Browse Tool"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the browse &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkmark &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of menuitem gColor of button "color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Paint Tool"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the bucket&lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; tool&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkmark &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of menuitem gColor of button "color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Show Kolor Field"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;visible&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;fld "ColorList" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;is not "browse" &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;browse &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Hide Kolor Field/K" into&lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;last line of button "Color" of\&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;         stack "San Diego Activities and Coloring Book"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  case &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Hide Kolor Field"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    set&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;visible&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;fld "ColorList" to (false)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Show Kolor Field/K" into&lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt; &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;last line of button "Color" \&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;         of stack "San Diego Activities and Coloring Book"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;switch&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  if&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; gColor is not empty &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;brushcolor &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;to pwhich&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;    set &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;checkmark &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of menuitem gColor of button "color" to (true)&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end if&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; menuPick&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The color menu was done before I realized that an easier way to implement color selection and provide for a greater number of colors at the same time was to put a scrolling field onto each card that was intended for coloring and list all 552 available colors in it. By showing the names of the colors in THEIR colors, the user knows what they are getting - kind of. Some show up pretty faintly, even when the font is enlarged considerably.&lt;/p&gt;
&lt;p&gt;After the field was created on the first card on which it would appear, the following script was placed in its script:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;mouseup&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  --  get the colornames&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  --  repeat with i = 1 to the number of lines in it&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  --    put line i of it into line i of me&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  --    set the forecolor of line i of me to line i of it&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00;"&gt;  --  end repeat&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  get &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;value&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; of the &lt;/span&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;clickline&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #ff9900; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;set &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;brushcolor &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;to it&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;choose &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;bucket &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;tool&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; mouseup&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that the first 5 lines are now commented out, so they aren't used anymore. I left them in place in case I mess up and need to recreate the field's contents. If this were actually to be done again, a number of times, then it would have been better to replace the references to the field by "me" with a local variable of some kind; and, then, when the entire list was completed, put the variable into the field. This is a pretty universal approach when manipulating the contents of fields. Do the manipulating in memory (using variables) rather than in the fields. &lt;/p&gt;
&lt;p&gt;Once I was satisfied with the appearance and functioning of this field, and had created a button to make selecting the color "white," for the purpose of "erasing" other colors, as easy as possible, I copied the field and the button at the same time and proceeded to cycle through the stack's cards, pasting the copied objects into many, but not all, of them. There was no need to show "where" they were to be placed, since Revolution is smart enough to place them all in the same spot on each of the cards, so long as I don't click anywhere on the cards, which would probably mess things up. I'm going to show just one more script; that of the Music Menu. There are nine preloaded Music clips in a folder named "Music Folder," and the clips have names "Music 1" through "Music 9." Note that you are always taken to the first card to play music. This is how the clips are played:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;on&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; menuPick pWhich&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;global &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;if &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;the &lt;/span&gt;&lt;span style="color: #ff0000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;number &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;of this cd is not 1 &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;then &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;go &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;cd 1&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  switch pWhich&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;  case "About Music"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    set the visible of fld "Music Instructions" to not the visible of \&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;        fld "Music Instructions"&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    put fld "Music Instructions" into temp&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;    revspeak temp -- The instructions are read to the user&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 1"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 1" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 2"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 2" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 3"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 3" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 4"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 4" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 5"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 5" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 6"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 6" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 7"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 7" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 8"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 8" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Music 9"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;put &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;"Player 9" into gPlayer&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;break&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;case&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; "Stop Music"&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;stop &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;playing gPlayer&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;    &lt;/span&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;exit &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;menuPick&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;  &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;end&lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt; &lt;/span&gt;&lt;span style="color: #990000; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;switch&lt;/span&gt;&lt;span style="color: #663399; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; "&gt;&lt;span style="color: #0000ff; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; opacity: 1.00; "&gt;start &lt;/span&gt;&lt;span style="font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt; "&gt;playing gPlayer -- This is outside of the switch statement&lt;/span&gt;&lt;/div&gt;
&lt;div class="paragraph Body" style="line-height: 14pt; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: 'Courier', 'serif'; font-size: 10pt; line-height: 9pt;"&gt;end menuPick&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In order for the users to have their own music played, all they have to do is replace the nine files in the Music Folder with audio clips of their own (that have the same names as the ones currently there). You might think this was pretty easy, but there were issues to overcome. Getting this external folder to be recognized required some exploration. I tore what little hair I have nearly out by the roots before I finally discovered the secret. Revolution has a lot of "secrets"!  I don't even remember exactly how I managed to solve this problem. It all had to do with "paths." Initially, I tried rolling my own, but then I found that once I had created nine different player objects with the names "Player 1" thru "Player 9," and took a look at their Inspector, there was a little folder icon to the right of where the "path" was to be put that allowed me to browse my hard drive until I located the "Music Folder". See below:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/cmn3.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;This automatically put the correct "path" into the "source" field on the Inspector. I'm sure that I could get this to work on all of the cards, but this is another one of those group "things" that I really haven't mastered yet; plus it's not that important right now. &lt;/p&gt;
&lt;p&gt;Well, that's all I'm going to explain before saving as a standalone application, something I went through successfully a couple of weeks back with my &lt;a href="http://www.macinstruct.com/node/48"&gt;Picture Fonts Stack&lt;/a&gt;. I set the "Standalone Application Settings" as I did before, but this time I had some external files (the music clips) that needed to be attached. So when clicking the "Copy Files" icon, the following dialog appeared, though it was empty at the time.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/cmn4.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Clicking on the Add File... button allowed me to navigate to the "MusicFolder" and then to select each one of the clips. My only complaint here was that I had to do it nine times since it would not allow me to choose more than one file at a time.&lt;/p&gt;
&lt;p&gt;Then I selected "Save as Standalone Application...", but before I did, it was necessary to reopen the Menu Builder from the Tools Menu, so that I could check the "Set as Menu Bar on Mac OS" checkbox. Otherwise, even on the Mac version the Menus would appear at the top of the Card. Unfortunately, doing this lopped off about 40 pixels from the bottom of the cards. Fortunately, I had taken this into consideration at the outset, and that didn't adversely affect the appearance of any of the cards.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/cmn5.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;After doing this, I decided to build the standalones, since I've just about run out of time for this week's column. After a very short time, during which I noticed that the Externals were being added, the completed application dialog appeared, so all looked well. This was the final Mac opening screen shot:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/cmn6.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;I transferred the Windows version over to my other Mac, one that has Virtual PC 6 on it. When I transferred the file over to the other Mac, I put it in my "Shared Folder" file. Then, opening VPC, I located the Windows version and noticed that the Externals were all there in an Externals Folder and the About stack was there as well; however, double clicking on the Coloring Book icon immediately produced a dialog that said it had failed to initialize, so I had to quit, and then close VPC6. At this point I decided to present the problem to the RevList for some guidance. After trying a few suggestions, I have come to the conclusion that it is not a Revolution problem, but a Windows problem - probably an incompatibility between XP running under VPC 6 and my hard drives. &lt;/p&gt;
&lt;p&gt;As those of you who have experimented with Windows over the years well know, things never work as easily on that platform as they do on the Mac OS. I have yet to check the Mac version to make sure that it works on the new  Intel Macs, but I am fairly confident that it will. Be sure to check back next week to see the end - I hope - of this little mystery.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Joe Wilkins is a licensed architect who produces all of his work on Macs (yes, even when all he had to work with was a Mac Plus, floppy disks and a wide carriage dot-matrix printer). He has produced his own "Picture" fonts, programmed 5 commercial applications, and chalked up more than twenty-two years of Mac experience - starting with the Lisa. He also authored the "University of HyperCard" on the original Macinstruct website.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=Frjc0FShtn8:uDp1r28jOO4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=Frjc0FShtn8:uDp1r28jOO4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=Frjc0FShtn8:uDp1r28jOO4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=Frjc0FShtn8:uDp1r28jOO4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=Frjc0FShtn8:uDp1r28jOO4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 28 Feb 2007 02:36:11 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">61 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Creating a New Cross-Platform Application in Revolution</title>
    <link>http://www.macinstruct.com/node/54</link>
    <description>&lt;p&gt;When I first started thinking about this Chapter, I lost focus and started thinking about knowing all there is to know about Revolution. That was naive, and pretty stupid of me. I had exposed myself to a little bit of the vastness of Revolution and started thinking in grander terms than my original conception, which was to provide the old HyperCard crowd a really good excuse to shift their long-standing HC devotion to Revolution by demonstrating that Revolution can be a fairly simple extension to their HyperCard addiction. That group, on a worldwide basis, was - and is - huge. This will allow them to continue solving most of the same kinds of problems they had handily tamed with HyperCard; but with added dynamism and much fewer restrictions. I am not abandoning this ambition to know all about Revolution; rather I am facing up to the fact that, as is often stated in text books on most all topics, "it is beyond the scope of this publication."&lt;/p&gt;
&lt;p&gt;Retreating to the same mentality I had when I first attacked HyperCard, I'm going to concentrate on creating some limited capacity stacks and then extend their behavior as stand-alones. Meaning that, even though there are a whole host of really fantastic things that can be done with Revolution, we're just going to experience the tip of this gigantic iceberg.&lt;/p&gt;
&lt;p&gt;So, we're going to create a somewhat, but not too, elementary Revolution stack from scratch and then turn it into a standalone application for both the Mac OS X and Windows XP operating systems. We won't complete those tasks completely in this Chapter. Just this past Monday, Revolution Version 2.8 was announced, which provides full Windows Vista compatibility; however, we still have a few unresolved issues from last week, things that I promised I'd find out about and announce this week. &lt;/p&gt;
&lt;h4&gt;What Can't Be Done With the Media Edition of Revolution?&lt;/h4&gt;
&lt;p&gt;You can't convert HyperCard stacks to Revolution stacks. That takes the Studio Edition.&lt;/p&gt;
&lt;p&gt;You also cannot create standalone applications for any platform.&lt;/p&gt;
&lt;p&gt;You &lt;i&gt;can&lt;/i&gt; create fully functioning Revolution stacks, using all of Revolution's features; but if you plan to distribute them to others, they will also need to have the Revolution Player, something that is free and may be distributed with your stack creations. This is something that was also done with HyperCard when it finally introduced its ability to produce standalone applications.&lt;/p&gt;
&lt;p&gt;I am told that the &lt;a href="http://www.runrev.com/"&gt;Revolution website&lt;/a&gt; is making all of this much clearer to those who come to take a peek.  I also indicated that I would make some other issues a bit clearer.&lt;/p&gt;
&lt;h4&gt;HyperCard Backgrounds versus Revolution Groups&lt;/h4&gt;
&lt;p&gt;Most importantly, how do we create the equivalent of the HyperCard background? The HC background is a "layer" between the cards of a stack and the stack itself. It's like the scenery for the activities that take place in a stage play's "scenes." When a play's scene changes, a break occurs during which time the stage hands come out, usually while things are dark, and rearrange or change the props used and maybe even place a new backdrop for the next "set." &lt;/p&gt;
&lt;p&gt;All of the activities that take place while that scenery is in place is very much akin to what happens on the cards of a HC Stack that have the same background. Buttons, fields and graphics occurring on a card with a specific background are shared by all of the cards with that same background. With HC, all cards created while "in" some background, have that background as "their" background. Even though a field is shared amongst a number of cards, the contents of that field do not necessarily have to be the same on every one of the cards, but if it is NOT shared then it will or may be different on all of them. There are other subtle nuances as well.&lt;/p&gt;
&lt;p&gt;The following is a step-by-step process for creating/using "Groups" with Revolution. Once created, they function much like HC's backgrounds; though, as mentioned, there may be  multiple "Groups" resident on any card. I still don't feel comfortable using them; and, recently, I messed up a stack I was developing to the point of having to revert to one I had saved nearly 10 days earlier. I won't wait that long between making backup copies again. My only consolation was that when I redid all that I had done in the interim I did it much better. I probably would not have started over without the loss I'd faced. Sometimes good things come of bad things! At least I'm able to see it that way.&lt;/p&gt;
&lt;h4&gt;Creating/Using Groups with Revolution&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Create any object or objects. Select them by lassoing them, or shift/clicking them one-by-one.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;With the object(s) selected, choose "Group" or "Group Selected" from the "Object" menu or the ToolBar at the top of the screen.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Open the Grouped Objects' Property Inspector.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Check the "Behave as Background" checkbox or set the backgroundBehavior to true using the Message Box.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;If there are existing cards, you must go to each one and choose "Place Group" from the Object Menu; new cards created from a card that has the Group already in place will automatically have all of the objects in the Group.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Instead of going to each existing card, particularly with a large number of cards, write a script to accomplish the above actions; you may skip cards you don't wish to share the groups object(s).&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Be careful if you want to add more objects to the Group. It is not as  simple as just selecting an existing group along with some other object or objects and doing a Re-Group, as I feel it should be; unless I've missed something, you must ungroup the existing group, which may make it appear that you've lost everything, particularly if you already have more than one card. The newly "un-grouped" objects will appear on the card on which you performed the "un-grouping." The other cards will have no objects from the group. When you create a new group with the added objects, you will have to treat all of the cards as existing when that group is created; meaning you must go to each card and "place that group" on it. The upshot of all this is that you should plan carefully ahead to make sure that your design is complete before you start creating any more cards. Otherwise, it can be quite confusing and frustrating. I'm sure this topic will be addressed again; and, perhaps, again.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;A New Revolution Stack&lt;/h4&gt;
&lt;p&gt;Even though I have discussed Groups at length, the new stack I will now create will have but a single Group, that one for the menu bar; mostly because I began this stack prior to having any real understanding of Groups and what they might be used to do.&lt;/p&gt;
&lt;p&gt;As mentioned last week, this stack will be an Activities and Coloring Book pertaining to the places and things that actually happen in the City of San Diego, California. In concer&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=CE5PJp9JbHc:HiylAxQRLDE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=CE5PJp9JbHc:HiylAxQRLDE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=CE5PJp9JbHc:HiylAxQRLDE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=CE5PJp9JbHc:HiylAxQRLDE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=CE5PJp9JbHc:HiylAxQRLDE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 21 Feb 2007 08:04:37 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">54 at http://www.macinstruct.com</guid>
  </item>
  <item>
    <title>Converting HyperCard Stacks to Standalone Apps Using Revolution</title>
    <link>http://www.macinstruct.com/node/48</link>
    <description>&lt;p&gt;First of all, I want to say that my recent voyages into the land of Revolution have started taking their toll on me. Something that I, simplistically, had thought I was "up to" as a challenge in teaching has started to become far more. I'm not giving up; I just need to set the record straight: I'm a beginner, just like many of you who are reading my offerings, and my tenet "the best way to learn is by teaching" still remains in place. I just want everyone to know that I'm no expert on Revolution. I'm stumbling through exactly as I initially said I would be. For one thing, I am mining the RevList for all sorts of assistance, and the individuals on that mailing list are performing like the true miracle workers most of them are. The new application upon which I intend starting work in future articles will encompass a number of my discoveries. For now, let's continue to finalize the Font Stack as a Stand-alone application as promised last week.&lt;/p&gt;
&lt;p&gt;At the same time, one of my responders wanted some clarification about the various versions of Revolution that are being made available. It seems that the differences between Media, Studio and Enterprise editions are not as clearly explained as they, perhaps, should be. As I mentioned in my very first Revolution offering, we have been provided with three distinct paths of involvement:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Free for 30 Days Revolution Demo (Trial Mode): available for both Media and Studio Editions&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;The Media and Studio Editions&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;The Enterprise Edition&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Loath as I am to reinvent the wheel (or much of anything else for that matter), the following has been culled from the &lt;a href="http://www.runrev.com/"&gt;Run Revolution website&lt;/a&gt;, which we should all revisit from time to time, since its content does change and there are occasionally special offerings that may save you money and/or heartaches:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Revolution Media is a feature rich tool for creating interactive media and software utilities. Right out of the box it includes templates for creating kiosks, presentations, adventure games, portfolios and more. Get more information on this edition of Revolution.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Revolution Studio is the professional's choice for cross-platform development. Create on one operating system, deploy on all four major operating systems, including Windows, Mac OS X, Linux and Solaris! Build native applications, including database front ends and CGIs easily. Get more information about Revolution Studio.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Revolution Enterprise includes all the features in Revolution Studio and a seat of each operating system IDE of Revolution. If you're a pro developer then Revolution Enterprise is the solution for you.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Revolution Super Bundle has just about everything a power developer needs. Not only do you get Revolution Enterprise but you get Animation Engine, Valentina, Quartam Reports and much much more. Take a moment to look at the package for Professional Software Developers.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To some extent the differences are probably not noticeable to most, except that the Media Edition is a lot cheaper than either of the other two Editions. For most who plan to explore Revolution before plunking down the considerable kopeks required for either the Studio or Enterprise Editions,  Media is the way to go. I understand the reader's inability to discern the difference between Media and Studio. Much appears to be implied.  Obviously, Studio contains more of something, though from reading what is presented I'm not sure what that something is. It is stated that the Studio Edition can create applications that run natively on five different operating systems, but it doesn't appear to say anything about what &lt;i&gt;can't&lt;/i&gt; be done with Media. I feel this needs to be clarified. I suspect the difference between the two is much less than it would appear. I &lt;i&gt;know&lt;/i&gt; I'll get some feedback from those who know about this, and I'll pass it on next week. I'm sure the author of their content was just too close to the subject matter to see that everything is as clear as mud!&lt;/p&gt;
&lt;p&gt;Hopefully, I didn't lose you with the previous side trip. Time to get down to business. &lt;a href="http://www.macinstruct.com/node/42"&gt;Last week&lt;/a&gt;, I converted an HyperCard stack into a Revolution stack, and it was easy, but there were a few anomalies. Namely, I had some uncertainties as to exactly what the conversion had done with some of the components in the stack. So we're going to check out these items, and we're going to use a most powerful feature of both HC and Rev: the Message Box.&lt;/p&gt;
&lt;p&gt;The Message Box (also msg box, or just plain msg) is a vital part of both environments. In Rev, you access it from the Rev Tool Bar or from the Tools Menu. I've not completely resolved a certain issue, whether to hold down the shift key along with the command key when trying to access its related menu item. &lt;/p&gt;
&lt;p&gt;One of the things I discovered when I was creating HC stacks was that, unlike most other Mac applications, I was able to use both upper and lower case command key combinations in my menus. Other applications eventually started using the Option and Shift and Shift/Option alternatives as well, but with HC I could just build upper or lower case letters into the menus where the Command Key options were shown and that added functionality was automatically provided by HC. From time to time, it appears that is the case with Rev menu Command keys as well, but not consistently based on my brief experience. Either that, or there are some unimplemented items in Rev. I'll run across and discuss this consideration in the new Rev stack I'll start creating next week.&lt;/p&gt;
&lt;p&gt;Getting back on topic. In both my HC stack and the converted to Rev stack, I showed the msg box with Command/m and typed into them "put the number of backgrounds" (I could also have used bgs). This was going to tell me if there really was a difference between the two. As I had suspected, there was. The Rev version had added a bg to the stack. Now 4 instead of 3. Then "put the number of cards" (or cds). Both the same at 97. Then "put the number of bg buttons". Both 5. Interesting, since they are not visible on the first card of the HC stack. When I used "put the short name of this bg"; I got bkgnd (also acceptable) id 3194 with HC; and Group id 3194 for the Rev stack. Incidentally, while messing around going back and forth between the Rev stack and AppleWorks, the application I'm using to compose this little tirade, buttons and text in the Rev stack suddenly disappeared; so, figuring they would all come back if I just closed Rev without saving and reopened, I did that and they did. Hmn! Maybe I'll figure out what's happening here someday.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Continuing with my exploration, I then entered "&lt;code&gt;PUT THE SHORT NAME OF THE NEXT BG&lt;/code&gt;" into the msg. In both cases the results were the same as before; just a different id number than with the first one. The short name of the 3rd bg is "Indices" on both stacks; guess I took the time to give it a real name and it was carried over to the Rev stack. Now the mystery deepens. With the Rev stack the first and last bgs have the same short name; but if I enter "put the name of the fourth bg" I get "group HC Icons"; so the fourth and last are not the same with the Rev stack. How can that be, since there are four bgs and the fourth would be the last? Of course, with the HC stack there is no 4th bg and so the first and last have different short names. I've just discovered something interesting. It appears that Rev creates a totally "new" and, apparently, "hidden" bg into which the HC Icons for the stack are stored. I have a strange feeling that a lot of people know this and I've just found it out the hard way. &lt;/p&gt;
&lt;p&gt;Aha! This is the case of multiple bgs that were mentioned by one of the readers last week. In order for all of the cards to share these icons, this bg "Group" must be shared by all of the cards. Not sure exactly how this is either accomplished or implemented, but we'll find out soon. I plan to spend some more time with the msg box in another article, but you can see that it is invaluable for diagnostic purposes, and we've only touched the surface of what can be done with it. As a teaser, here is a screen shot of msg box in multiline mode. Fantastic!&lt;/p&gt;
&lt;p&gt;Below, in the multiline msg, I did all of the above at one time.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Isn't that neat? And, as you can see by the "grow" button in the lower right corner, it is growable; and the size of the panes can be adjusted by dragging the bar that runs through the middle of the box.&lt;/p&gt;
&lt;p&gt;Now, down to cases. We're going to create a Standalone application from the "Font Stack". First, with my belt and suspenders' philosophy, save a copy of the stack you're going to use. I'd suggest you do it on a separate drive or disk to relieve you of the likelihood of future complications. I now have a bone to pick with the Rev programmers, who in their infinite wisdom decided to use Save As...  instead of the HC way of doing things with a "Save a Copy...", which is much more useful in a case like this. Immediately, I encounter one more shortcoming: If you command/click on the Stack's Title bar, you do not see the path popup that appears in most other OSX applications. I use this a lot to find out where I've put things. They are not always where I thought I put them, or saved them. This is a serious omission by the Rev Team. Well, kind of!&lt;/p&gt;
&lt;p&gt;OK, now I've saved a copy on another hard drive by finding the file with Spotlight, control/clicking on the found item to reveal it's location in the Finder, and then dragged it over to the other hard drive. Not nearly as easy as making a Save a Copy... menu selection. &lt;/p&gt;
&lt;p&gt;Clicking File&gt;Standalone Application Settings displays the following dialog which is in the General mode:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev3.png" /&gt;&lt;/p&gt;
&lt;p&gt;Then click on the OS X Icon in the tool bar of this dialog to get the following.  (Were the stack more complex there would be some other items to address before doing this, but not in this case. The Font Stack is really simple. It doesn't even have its own menus.)&lt;/p&gt;
&lt;p&gt;About the only thing we're going to do now, since I haven't had time to come up with a unique icon for this "application" and it will have no documents associated with it, is to select the Answer and Ask Dialog icons that we want used. Everything else is already completed for our inspection; just bookkeeping for the most part.&lt;/p&gt;
&lt;p&gt;Again, with a more complex stack we'd need to check out the Stacks and Copy Files modes and make sure we've provided all the required information for them.  We might also want to make provisions for Bug Reports. See the Dialog next for that.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev4.png" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev5.png" /&gt;&lt;/p&gt;
&lt;p&gt;There is no problem coming back to alter any of these Settings, since they are just that. So ease up! Now for the serious part of this whole thing: click File&gt;Save As Standalone Application... Apparently it's going to close the Stack before it does anything since we're presented with this dialog:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev6.png" /&gt;&lt;/p&gt;
&lt;p&gt;If we have already saved the stack before doing this, as I would strongly suggest, then the next thing that happens is you're asked for a place to put the new application, though it doesn't say so; consequently you have to guess that is what is going on. It wants to put the new application in your Documents folder, which is OK with me, so I click Save and wait, a very, very short time in this case, while the wristwatch icon tells me that there is a short delay. Then we get this:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev7.png" /&gt;&lt;/p&gt;
&lt;p&gt;Outstanding! I haven't checked it out yet, and the original stack is reopened after we OK this dialog. So lets check out the new application. This is what I see in the Finder:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev8.png" /&gt;&lt;/p&gt;
&lt;p&gt;Looks encouraging. It appears that I have both a Mac OS X version and a Windows version. Since I didn't provide an icon, it used a generic one which is not all that bad, considering it was for free.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev9.png" /&gt;&lt;/p&gt;
&lt;p&gt;I'm impressed!  My observations are that somehow I should have been able, and just didn't know how or think, to disable the Zoom feature on the window, since it is inappropriate to this stack. Also, I should have implemented something for the "About" feature, which now does nothing when you choose that from the Apple Menu. I also should have changed the name, eliminating the word Stack, since it no longer is one. &lt;/p&gt;
&lt;p&gt;As you can see from the following series of screen shots - both Mac OS X and Windows XP, those infamous icons never made it over to the Standalones. Fortunately, I had implemented the arrow keys for navigation purposes and they work just fine on both platforms. I've included some screen shots that you've never seen before of some of the other fonts in Joe's Picture Fonts® from the Windows version.  Incidentally, the Windows version was run on one of my older Macs using Virtual PC 6.&lt;/p&gt;
&lt;p&gt;Of course, I want to reiterate: this was a VERY, VERY simple stack; but there are a lot of them out there just begging to be converted so the Windows world can see what we've been up to for the past decade and a half. Now, can the Media Edition create Standalones like this? I don't know, but I'm sure someone will be letting me know, and I'll let you know when I know. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev10.png" /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev11.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Almost exactly the same as the Mac version - also without the ugly buttons; but notice that the Mac background is whiter than that for the Windows shots which are very lightly tinged in gray.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev12.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;One of my more useful Fonts. Unfortunately, they are all done as bit-mapped fonts.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.macinstruct.com/new/images/columns/rev13.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;I made a number of variations on the "plain" font theme.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Well, that's all for this week. We're going to start with a brand new Rev stack next week. This is an application that I had completed using Future Basic for the Mac, and so it should move along rather quickly. Lots of color and graphics. It's a children's coloring book about the City of San Diego. Eventually we plan to do coloring books about all of the major tourist cities of the world. I needed to create a Windows version and didn't like the prospects of tuning up my Visual Basic software, so I had been procrastinating for quite some time. No longer!&lt;/p&gt;
&lt;p&gt;If you have friends, partners or associates who've been chomping at the bit to do the same kind of thing, give them a holler. Tell them we're having a Revolution. Every Wednesday. If you miss out on Wednesday, you can always check the articles out later by clicking on the Column button at the top of every Macinstruct page.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Meet Your Macinstructor&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Joe Wilkins is a licensed architect who produces all of his work on Macs (yes, even when all he had to work with was a Mac Plus, floppy disks and a wide carriage dot-matrix printer). He has produced his own "Picture" fonts, programmed 5 commercial applications, and chalked up more than twenty-two years of Mac experience - starting with the Lisa. He also authored the "University of HyperCard" on the original Macinstruct website.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=kPR6NJAdtOA:sK_AVzq3t8o:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=kPR6NJAdtOA:sK_AVzq3t8o:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=kPR6NJAdtOA:sK_AVzq3t8o:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.macinstruct.com/~ff/codemojo?a=kPR6NJAdtOA:sK_AVzq3t8o:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/codemojo?i=kPR6NJAdtOA:sK_AVzq3t8o:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
     <pubDate>Wed, 14 Feb 2007 08:09:46 +0000</pubDate>
 <dc:creator>mcone</dc:creator>
 <guid isPermaLink="false">48 at http://www.macinstruct.com</guid>
  </item>
  </channel>
</rss>
