Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Opens case details in Inprotech Web
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
; Activated by Win+z | ||
#z:: | ||
|
||
; Get the input, exit if user cancels | ||
InputBox, IRN, Open Inprotech Case, Enter tag,,,,,,,,%IRN% | ||
if ErrorLevel | ||
return | ||
|
||
SetTitleMatchMode, RegEx | ||
|
||
; Get the Google Chrome window | ||
IfWinNotExist, Google Chrome | ||
{ | ||
return | ||
} | ||
|
||
WinActivate | ||
WinMaximize | ||
|
||
WinWaitActive, Google Chrome,,5 | ||
if ErrorLevel | ||
return | ||
|
||
; Select the Inprotech tab | ||
Send ^3 | ||
|
||
Sleep 100 | ||
|
||
; Minimize existing windows | ||
Send ^A | ||
|
||
Sleep 100 | ||
|
||
; Click in the search box | ||
CoordMode Mouse, Relative | ||
Click 220, 190 | ||
|
||
; Select all text | ||
Send ^a | ||
|
||
Send %IRN%{Enter} | ||
|
||
return |