Is there a better way to do it?
Code: Select all
+^!z:: ;save docx as pdf replacing old one with last one if needed
Send ^s
Sleep 1500
Send {F12} ;FileAs
Sleep 300
Send !t
Sleep 200
Send p{Return}
Sleep 300
Send y{Return}
Sleep 1000
WinClose ahk_class AcrobatSDIWindow
Sleep 1000
WinClose ahk_class OpusApp
; Sleep 200
Send {Return}
Return