WinActivate of Word (Office 365) using partial name

Started by weissenb, April 08, 2019, 09:53:18 AM

Previous topic - Next topic

weissenb

Hello!
Using notepad it is easy to determine the partial-name as shown in the tutorial. But using current MS Office it is difficult as it appears no "word". There is "Save", name of the file, where is it stored etc.
I do not find any working partial name to activate the window.

Thanks for any help!

Best Regards, Christian

td

Don't know which version of Office you are using but generally, the partial window name '~Word~' works for MS Word.  If it doesn't, it's time for a little self-help.   

You can find the analysis.wbt script in your WinBatch samples directory.  You can use it to identify the title for Word on your system. Just make sure you specify that the script show hidden and iconized windows.  Alternatively, you can use the Roboscripter tool provided with your WinBatch installation to query for the title making sure you place the crosshairs over the client area of the Word window to get the title.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

weissenb

I have Office 365 (always the newest version).
Thanks, it worked! :-)

td

Office 360 isn't necessarily always at the newest version of Office 360. 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade