I want that when I press f1 key then it should show the last word of the text written in ms word document. I think it can be done by com module but I do not know how to use it in ms word (However I know the use of com component in ms excel.)
Please look at following example-
Suppose this is the text which is written in ms word-
Code: Select all
A special thanks to Jonathan Bennett, whose generosity in releasing AutoIt v2 as
free software in 1999 served as an inspiration and time-saver for myself and
many others worldwide. In addition, many of AutoHotkey's enhancements to
the AutoIt v2 command set, as well as the Window Spy and the old script compiler,
were adapted directly from the AutoIt v3 source code. So thanks to Jon
and the other AutoIt authors for those as well.
Finally, AutoHotkey would not be what it is today without these other individuals
Please help me. Thanks..