All upper case Button bar icon order and macros Facing pages macro tip Interactive help for user macro buttons |
Macro buttons to open/close palettes Selecting overflowed text Thesaurus button |
Return to complete hints and tips index
Define new buttons with, for example, the names and macro strings as shown:
Function | Name | Macro |
---|---|---|
Normal Title All Caps | aa Aa AA | {case_entry(0,0)} {case_entry(1,0)} {case_entry(2,0)} |
While these don't have the toggle effect of swapcase, they seem to do the trick.
This is a common problem. In Autorun, you should have a !Macros file, this sets up all the buttons and macros, it controls the order of the buttons, and it is what is saved when you click on Save on the macros window. The trouble starts if you have another file in Autorun which sets up macros. If you do, and that file is executed after !Macros, then you can change !Macros as much as you like, and it won't have an effect. At some point Beebug dished out a file, which they suggested be put in Autorun, set up buttons, and was not called !Macros. Since then this has been fixed, but no doubt copies live on to trip up the unwary.
I often use the facing pages option as means of checking the layout of a double sided document but on my monitor (AKF60) using a resolution of 600 x 800, I find that this is a little difficult without also reducing the Zoom down to 50%. This can be done very easily but it requires 4 clicks of the mouse when one would be preferable.
I made the following simple alteration to the "Facing pages" macro, which enables you to toggle between a single page at 100% and facing pages at 50% with one click of the mouse.
Replace the existing definition of the facingpages macro with the following line.
{if (getfacingpages()==0) setzoom(ZOOM50,0,0); else setzoom(ZOOM100,0,0); setfacingpages(!getfacingpages())}
{stylepal_entry(0,0)} {colpal_entry(0,0)} {pagepal_entry(0,0)}
{int b;b=bmcreate(\"k1\");setbmtocaret(b);bmmove(b,1,4);setzonetobm
(b);bmdelete(b);}
That will give you a key press which selects to the end of the current story.
set thesaurus$running 1
and;
unset thesaurus$running
Then define a macro (for C_T) with the body
{string s="thesaurus$running";if(!getenvs(s)) {osclis("wimptask run <Thesaurus$Dir>.!Run");pause(5)}}{'C_T}
Note: It is necessary that <Thesaurus$Dir> needs to have been defined. To ensure this copy the "Set Thesaurus$Dir <Obey$Dir>" line from the !Run file of the Thesaurus application to its !Boot file also. Either allow the filer to "see" the Thesaurus application before attempting to use the macro, or Filer_Boot the Thesaurus application in your boot sequence.
defmacro2(0,"select","{picktool(1,0)}","select","Select tool.|MThis is the
default tool used to select objects and edit text.");
You can see the help text - the last argument of defmacro2()
which is an enhanced version of the original defmacro()
function. I suppose it gets complicated because you can't just type the help
text into an icon.