[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macros (AppleWorks UltraMacros)



Robert,

Several UltraMacros 'dot' commands rely upon expressing the category as an
integer, rather than as a string name.

Deleting a couple of categories may have reshuffled the deck, so to speak.
(e.g. - If Category 'Name' was #7, and previously defined Categories 'Phone'
and 'Zip' are deleted, 'Name' _may_ now become #5.)

Without AppleWorks in front of me, I can't remember if the category
'numbers' correlate with the order they are shown on the screen, or whether
the numbers correspond with the order in which they were created. I
_believe_ it is the latter.

I would look at your macro source code and subtract '2', recompile, and try
again.

Hugh...




> From: Robert Boucher <boucher1@alumni.texas.net>
> Organization: Road Runner High Speed Online http://www.rr.com
> Newsgroups: comp.sys.apple2
> Date: Tue, 20 Nov 2007 10:56:21 -0600
> Subject: Macros
> 
> For a number of years I have used a macro with an AW DB file. The macro
> does one of two things depending upon which category the cursor is in.
> One of the two actions of the macro quit working correctly after I
> removed two unused categories in the DB file, neither of which was used
> in the macro or even shown on any screen.
> 
> Are macros structured so that the category location in the file
> definition must remain the same?