How to navigate and send AHK variables in word.doc to needed place Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
DanRim
Posts: 153
Joined: 20 Jul 2018, 15:16

How to navigate and send AHK variables in word.doc to needed place

13 Aug 2020, 17:15

Hi,

I have invoice in word.doc and I need to add or replace some text in that word.doc (like date, amount, name and so on) and convert it to pdf. and save on desktop. How to send info which is stored in AHK variable to word. doc to needed destination (area in the document)?
Any suggestions?

I hope my question is clear and not complicated :)
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: How to navigate and send AHK variables in word.doc to needed place

13 Aug 2020, 23:54

Bc you've to convert it anyway, why not using HTML instead of a doc for the template? That way you could manipulate your template easily and covert it afterwards.
Another option would be doing something like this: http://www.addbalance.com/word/datefields1.htm
User avatar
Jovannb
Posts: 268
Joined: 17 Jun 2014, 02:44
Location: Austria

Re: How to navigate and send AHK variables in word.doc to needed place  Topic is solved

14 Aug 2020, 05:22

AHK: 1.1.37.01 Ansi, 32-Bit; Win10 22H2 64 bit, german
DanRim
Posts: 153
Joined: 20 Jul 2018, 15:16

Re: How to navigate and send AHK variables in word.doc to needed place

14 Aug 2020, 15:08

BoBo wrote:
13 Aug 2020, 23:54
Bc you've to convert it anyway, why not using HTML instead of a doc for the template? That way you could manipulate your template easily and covert it afterwards.
Another option would be doing something like this: http www.addbalance.com /word/datefields1.htm Broken Link for safety
Thanks BoBo for reply. I did not hear that it is possible to do with HTML and how to navigate in such document.
I have checked website you shared and I found a little bit complicated to find information, but I really appreciate for you reply! I will try find more info about HTML and Word what you suggesting.
In my case i thought it is possible somehow to reuse template of word.doc. Just needed insert there information. Seems I need to build the same but in another way.
DanRim
Posts: 153
Joined: 20 Jul 2018, 15:16

Re: How to navigate and send AHK variables in word.doc to needed place

14 Aug 2020, 16:01

Jovannb wrote:
14 Aug 2020, 05:22
Hi

that does the trick for me:

https://www.autohotkey.com/boards/viewtopic.php?t=13148

J.B.
Thanks for references and your time. It worked :)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Frogrammer, gongnl, Google [Bot] and 276 guests