Clickable internal links may be hard to implement in OO3, but it is quite easy to create simple bookmarks, and return to them automatically.
Two scripts attached below.
CreateBookMk.scpt
GotoBookMk.scpt
A special section entitled Bookmarks is created at the end of the document. The note of each bookmark row contains the id of its target row.
Note that if you select a bookmark row before running GotoBookMk.scpt, it will bypass the menu and jump straight to the bookmark target.
--
Two scripts attached below.
CreateBookMk.scpt
- Select a row in an OO3 document, and run the script.
- Respond to the prompt for a bookmark name.
GotoBookMk.scpt
- Run the script.
- Choose a bookmark by name from the menu which appears.
- (The script will jump to the corresponding row)
A special section entitled Bookmarks is created at the end of the document. The note of each bookmark row contains the id of its target row.
Note that if you select a bookmark row before running GotoBookMk.scpt, it will bypass the menu and jump straight to the bookmark target.
--
Last edited by RobTrew; 2011-07-05 at 07:46 AM..