Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
Code: Select all
::trgtreply::
InputBox, Name#, Enter a First Name.
InputBox, Vendor#, Enter the Vendor Name.
WinWait, ahk_class rctrl_renwnd32,
IfWinNotActive, ahk_class rctrl_renwnd32, , WinActivate, ahk_class rctrl_renwnd32,
WinWaitActive, ahk_class rctrl_renwnd32,
Send, Thanks, %Name#%.{ENTER}{ENTER}Your price has been updated, and %Vendor#% will remain PV. Please note that these prices will take effect this coming Monday. Any orders already in the system should be filled at the existing price, and any orders placed beginning this coming Monday will reflect these new prices.{ENTER}{ENTER}Have a good one.
Exit