Macros
Overview
This web page provides example macros that have been provided
by SKY Software and by SKY Index users.
Notice: The macros that appear on this page are
determined solely by SKY Software and we reserve that right to add or remove
macros at any time and for any purpose. These macros are provided free of charge
and without warranty of any kind. Use of these macros is at your own risk.
Article on
Macros by Jonathan Jermey (published by the Australian Society of Indexers)
SKY Index Macros
Purpose: Add Hidden Notes
Author: Ann Truesdale
Macro: %{f12}{end}^t ?^t{left 2}+{right}
Notes: I use this to make notes and queries to myself. When doing final
editing I search for ? to group them all. The ones I resolve before that I
remove as I go along. I use this same macro to code entries that I want to group
for some reason -- diacritics so I can make a list to send to the editor or
names missing first names -- whatever I need to group later. I type in a symbol
such as # or @ instead of a note. The macro will place the cursor so you are
ready to type hidden text. Best to copy and paste these, but if you type this
one, note there is a space before the question mark.
Note 2: Some of these are
especially helpful if you are working on an index with many entries per page;
for indexes with few entries per page I tend to replace some of them with other
macros specific to that index.
Purpose: Converts 56 to 56-57 and moves to next entry
Author: Ann Truesdale
Macros: %{f12}{f2}{end}^c{+}{f2}{home}^v-~
Notes:
Purpose: Converts 56 to 56-5 with cursor positioned to type end of
page range, i.e., typing 9 yields the page range 56-59
Author: Ann Truesdale
Macros: %{f12}{f2}{end}^c{f2}-^v{bs}
Notes:
Purpose: Increments page number by one; also converts a page range to
the next page above the lower end, i.e., 356-362 becomes 357.
Author: Ann Truesdale
Macros: %{f12}{f2}{end}{f2}{home}+^{right}^x{f2}^v{+}~
Notes: Sounds esoteric, but I actually use it a lot in some books. For a
single page number, increments by one, but saves the keystrokes for moving to
the locator grid and then to the new entry. Very handy if you just typed a main
entry term and don't need a sub. One keystroke and you're ready to type the next
main entry term.
Purpose: A cousin of the above; converts 356-362 to 356. Handy for
when you enter a page range, and then need to enter some terms on the first page
of that range.
Author: Ann Truesdale
Macros: %{f12}{f2}%~{f2}+^{left}{del}{bs}~
Notes:
Purpose: Bold, italic, or underlined locators
Author: Ann Truesdale
Macros: %{f12}^+{left}^b{end}^b^tx^t
Notes: For italic change b's to i's; for underline to u's. This inserts
an x in hidden text to prevent the following from happening (forces the bold
locator to sort after the page range): *235*, 235-8
If you happen to want the formatted text to sort before the page range there,
remove ^tx^t from the end of the macro.
Purpose: This macro allows you to sort subheading
number 1 by its page number. It does this by copying the locator and then
placing it at the front of the Sub1 field as a forced sorting code.
Author: Kamm Schreiner
Macro: {End}^c{Home}{Right}{F2}{Home}{{}|^v{}}{F2}{Down}
Notes: This macro is not needed for version 6.0 of SKY Index as this
sorting can be accomplished through a simple program setting. The macro will work only for page numbers that are of the
same number of digits. If the largest page number is three digits, you will need
to create two additional macros to add leading zeros to the single and double
digit page numbers for the sorting to be correct. For single digit page numbers
use:
{End}^c{Home}{Right}{F2}{Home}{{}|00^v{}}{F2}{Down} and for two digit page
numbers use:
{End}^c{Home}{Right}{F2}{Home}{{}|0^v{}}{F2}{Down}.
Purpose: To remove subs from entries with 1 to 3 subs, while leaving a
deleted copy of the complete entry in the file.
Author: Judith Anderson
Macro: For 1 sub: +{F6}^a^d{DEL}{UP}{RIGHT}{DEL}+{F7}
For 2 subs:
+{F6}^a^d{DEL}{UP}{RIGHT}{DEL}{UP}{DEL}+{F7}
For 3 subs:
+{F6}^a^d{DEL}{UP}{RIGHT}{DEL}{UP}{DEL}{UP}{DEL}+{F7}
Notes: This is for files with only one level of subheading. The F7 at the
end returns you to page-sorted mode. For entries with more than 3 subs, you
could remove the F7 to stay in grouped mode and manually remove the rest of the
subs.
Purpose: To remove Latin (scientific) name from an entry of type:
common name (Genus species)
Author: Judith Anderson
Macro: %{F12}{END}+^{LEFT 4}{DEL}
Notes: Often in a biological index, you will have a main entry of the
type "common name (Genus species)". When you duplicate and swap, you usually
want only the common name in the subhead.
Purpose: To double-post an entry of the form "common name (Genus
species)", moving scientific name to front of entry and placing common name in parens after it.
Author: Judith Anderson
Macro: ^d{F2}^{LEFT 4}{LEFT}^+{HOME}^x{END} {(}^v{)}{HOME}{RIGHT
2}{BS}^{RIGHT 3}{BS 2} {END}
For three-word scientific names (e.g. Genus species subspecies)
use:
^d{F2}^{LEFT 5}{LEFT}^+{HOME}^x{END} {(}^v{)}{HOME}{RIGHT
2}{BS}^{RIGHT 4}{BS 2} {END}
Notes: The macro above requires that the scientific name has only 2 parts
(no subspecies or varieties). However the common name can consist of any number
of words.
Purpose: To make the
current entry into a See reference to the entry above
it.
Author: Jon Jermey
Macro: {UP}^c{DOWN}{RIGHT}{Del} {RIGHT}see ^v{ENTER}
Notes: Cursor should be in the first column of a
three-column grid. The {Del} is in there to remove any
entry in the second column that may have been
auto-entered.
Purpose: To make the
current entry into a See Also reference to the entry
above it.
Author: Jon Jermey
Macro: {UP}^c{DOWN}{RIGHT}{Del} {RIGHT}see also ^v{ENTER}
Notes: Cursor should be in the first column of a
three-column grid. The {Del} is in there to remove any
entry in the second column that may have been
auto-entered.
Purpose: To swap the
topic and the see also reference: e.g. 'power see also
energy' copies to 'energy see also power'
Author: Jon Jermey
Macro: {UP}^c{DOWN}{END}see also ^v{UP}{F2}{HOME}^{RIGHT}^{RIGHT}^+{END}^c{DOWN}{HOME}^v
Notes: Cursor should be in the first column of a
three-column grid. The {Del} is in there to remove any
entry in the second column that may have been
auto-entered.
Purpose: To copy the
entry in the cell above.
Author: Jon Jermey
Macro: {UP}^c{DOWN}^v{DOWN}
Notes: I use this a LOT.
Purpose: To delete the
last word of the current entry.
Author: Jon Jermey
Macro: ^{F2}{F2}+^{LEFT}{DEL}
Notes: handy for trimming.
Your macro could appear here!
If you use macros to improve your indexing productivity and
would like to share them with other SKY Index owners, please submit them by
sending email to
support@sky-software.com with the macro(s) formatted as shown below.
Purpose:
Author:
Macros:
Notes:
|