In Authorware 6, the calculation editor has really
been enhanced. I find it very easy to be productive
using it. For one thing, it has the same key combinations
I have come to expect in text editing applications,
such as Shift-End for selecting from the cursor
location to the end of the line, Shift-Home for
selecting to the beginning of the line, etc.
The way the "Search in Calculation" feature works
is also a real time-saver for me. A situation
I run into a lot is that I might have a calc that
looks like:
If SomeCondition then
MyList[#someProperty] := MyList[#someProperty]^"Something"
Else
MyList[#anotherProperty] := MyList[#anotherProperty]^"Something"
End If
This is an over simplification, but it gives
you the general idea. If you copy and paste the
statement from the "If" part to the "else" part
of the statement, you can change all occurrences
of #someProperty below the "Else" to #anotherProperty
in one quick search and replace.
How? Place your cursor in the word "Else", then
click the binoculars on the calc toolbar. Put
"someProperty" in the Find box and "anotherProperty"
in the Change To Box. Note: Do not include
the quotes. When you click the "Change All"
button, it will not, in fact, change all instances
in the calc, but just the ones below the
cursor. If you wanted to change the ones above
the cursor, you'd select the "Backwards" check
box.
Not comfortable with Lists? Check out Chris
Swenson's TAW presentation.
I've also found that, when using complicated
nested expressions, keeping one eye on the bracket
and parentheses indicators at the bottom of the
window can help prevent those annoying "please
correct your expression" messages. When you run
Authorware on a machine without a numeric keypad,
such as a laptop, use Ctrl+Shift+Enter to close
the calculation window and keep its contents.
I found it easy to change the color for the
different categories of text. But it took me a
lot of experimentation to figure out how to set
the background. Like many things Authorware, it
is easy once you know how. Just right click in
the color swatch!