Hal Vaughan wrote:
On Saturday 05 July 2008, Andrew Douglas Pitonyak wrote:
Hal Vaughan wrote:
...
You enter some specific text.
Press a key like Ctrl+F3
Based on the text that is present, new text and/or formatting is
applied

I need to search around OOo a bit to figure it out, but it might be
one of these. (and I need to be somewhere soon so I can not look
now).

http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_Use
r_Manual/Writer_Guide/Using_AutoText
http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_Use
r_Manual/Writer_Guide/Autoformatting

The bottom line is that you would simply need to create the entry and
then use it. This might be easier than the macro, perhaps not...

I have to look into it, but the advantage of a macro is that once I specify the macro, it happens in one keystroke every time. It sounds like this means I'd type the full text, THEN specify the formatting. The idea is that even though all I'm typing is names, I can still set the margins and type the name in one stroke. This other way I'd have to type the name, then hit the keys for formatting.

I have wondered about using an F key instead of a key combination. For example, there are some F keys that aren't used. I thought at one point I had found a way to make OOo listen after a keypress. In other words, I could type something like, say, F6 and it might trigger a macro that does nothing but listen for the next key until it gets a keypress. Then when it does, it dispatches the control to the appropriate macro.
No, if it works, it would look more like this:

You enter the text park and press Ctrl+F3, or something similar, and then it replaces Park with something, and formats it. Certainly, this can be done in a macro, but if the auto-formatting stuff can also do this, then, well, it would be easier :-)


In a script you often have a lot of dialog, which means typing people's names at that place in the center of the page or with that widest margin 20 times or so in a page.

I considered this with respect to scripts for puppets. I considered storing names in fields so that I could instantly change a name everywhere at one time.


When I first started checking out OOo, I was concerned because OOo doesn't do actual margin changes without forcing a page break (a serious flaw, as I see it), so when I did early imports from Word Perfect, I'd get one line per page in many cases and it's only after the filter was created to import Word Perfect documents that the situation changed.
I still think that you should use paragraph styles.

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to