T
Tommy Svensson
Hi all,
Need some basic help with the following issues:
1) Programmatically, how do I set the view of a document to "Normal"?
2) Is it possible to change the color of a selection (the normal black one)
and how can I change it programmatically?
3) I have a macro that resizes a document window, I would like the text to
wrap nicely in the window so that the horizontal scrollbar is not visible
(or, there's no need to croll to the right). How can I achieve this?
4) I have an undo macro but it does not seem to do it all. It inserts a
bookmark every time I do a macro operation and then when I press ctrl-z I
intercept the undo command and backtrack all the bookmarks. Is there no way
to undo a bunch of operations all at once without having to press ctrl-z
multiple times?
5) How can I retrieve the word that is currently under the mouse pointer in
a word document? (i.e without clicking)
6) How do I intercept a right click on a word in a word document and/or
customize the context menu?
7) Is it possible to store invisible information on every word in a
document? What I mean is this:
Generated/tagged Word document:
----------
Hi, my name is <data age=27>Tommy</data> and this is a text string in a Word
document.
-----------
Can I right click on Tommy and in the context menu add the age of Tommy? Of
course, the <data> tag is a pseudo tag for invisible data connected to
Tommy.
Thx,
/Tommy
Need some basic help with the following issues:
1) Programmatically, how do I set the view of a document to "Normal"?
2) Is it possible to change the color of a selection (the normal black one)
and how can I change it programmatically?
3) I have a macro that resizes a document window, I would like the text to
wrap nicely in the window so that the horizontal scrollbar is not visible
(or, there's no need to croll to the right). How can I achieve this?
4) I have an undo macro but it does not seem to do it all. It inserts a
bookmark every time I do a macro operation and then when I press ctrl-z I
intercept the undo command and backtrack all the bookmarks. Is there no way
to undo a bunch of operations all at once without having to press ctrl-z
multiple times?
5) How can I retrieve the word that is currently under the mouse pointer in
a word document? (i.e without clicking)
6) How do I intercept a right click on a word in a word document and/or
customize the context menu?
7) Is it possible to store invisible information on every word in a
document? What I mean is this:
Generated/tagged Word document:
----------
Hi, my name is <data age=27>Tommy</data> and this is a text string in a Word
document.
-----------
Can I right click on Tommy and in the context menu add the age of Tommy? Of
course, the <data> tag is a pseudo tag for invisible data connected to
Tommy.
Thx,
/Tommy