Ms word

Get help with using AutoHotkey and its commands and hotkeys
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Ms word

12 Feb 2017, 08:01

Hello guys
how open Microsoft word options dialog box from File menu?
thanks in advance
GS SAHU
Posts: 37
Joined: 29 Sep 2014, 12:18

Re: Ms word

12 Feb 2017, 12:25

alt+f+i
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: Ms word

12 Feb 2017, 13:54

Thank you very much,
but I mean: open "word options" menu by AHK Script.
Thanks in advance.
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: Ms word

13 Feb 2017, 11:11

Hello my friends
any help, please
GS SAHU
Posts: 37
Joined: 29 Sep 2014, 12:18

Re: Ms word

13 Feb 2017, 12:51

SetTitleMatchMode 2
WinActivate, Microsoft Word
send !fi
burque505
Posts: 1398
Joined: 22 Jan 2017, 19:37

Re: Ms word

13 Feb 2017, 20:19

GS SAHU, that didn't work for me.
burque505
Posts: 1398
Joined: 22 Jan 2017, 19:37

Re: Ms word

13 Feb 2017, 21:01

Probably overkill, but works here.
I'm an utter noob, and I had to use Pulover's Macro Creator to get it to work. I just basically stole it from there.
The key seems to be "WinActivate, Document1 - Word ahk_class OpusApp"
If I can get a shorter version running I'll post it.

#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
DetectHiddenWindows On
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1


Run, Winword
sleep, 1000
WinActivate, Document1 - Word ahk_class OpusApp
sleep, 1000
Send, {LAlt Down}
Sleep, 100
Send, {f}
Sleep, 100
Send, {LAlt Up}
Sleep, 100
Send, {t}
Return
burque505
Posts: 1398
Joined: 22 Jan 2017, 19:37

Re: Ms word

13 Feb 2017, 21:04

MUCH shorter :)

Run, Winword
sleep, 1000
WinActivate, Document1 - Word ahk_class OpusApp
sleep, 1000
Send, !f
Sleep, 100
Send, {t}
Return
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: Ms word

14 Feb 2017, 02:29

thanks GS SAHU
thanks burque505
thanks for all

Return to “Ask For Help”

Who is online

Users browsing this forum: AlexIII, ananthuthilakan, Bing [Bot], JoeWinograd, mikeyww, Netocon, WOlfen, yssharie and 62 guests