Yes, thank you Cor
I'll got back to this issue because temporarily the Reminder was grayed
out and I could not figure out the reason (now it is back and I do not
know the reason for that either). Than I found your macro text.
I inserted my first OOo macro text not by recording but by typing (or
really cut/pasting) and: it worked as I thought it should. Thank you
very much, Cor, for understanding my problem and taking the time to
figure it out.
Now I can do what I want.
{{
And I would like to go one step further:
I like recording and play-back. That's fast.
However, I do not like scripting, not at all. In the long run scripting
tends to be quick'n dirty, faulty, error-prone on a new release,
unmaintainable. Don't like to spend the time to program in such a
language. If I can't do it by recording I should write a Java plugin,
like e.g. in JEdit. I'll keep my eyes open ...
}}
Cor Nouws wrote:
> Cor Nouws wrote (12-11-2007 10:39)
>> These might help:
>
> Maybe I should have added an extra hint.
>
> Sub GoToTOC ' assign to Ctrl-g
> AddMyBookmark("_here")
> GoToMyBookmark("_doc")
> End Sub
>
> Sub ReturnToWhereIWas ' assign to Ctrl-r
> GoToMyBookmark("_here")
> End Sub
>
> (Used bookmark names and key combinations from your first mail.)
>
> So Enter all te subs in OOo-Basic
> Assign the keys
> Add the bookmark "_doc" to the position of your TOC (or anywhere else).
>
>
> Regards,
> Cor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]