-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from WoosterFromWA/no_hang_up_and_rename
No hang up and rename
- Loading branch information
Showing
11 changed files
with
299 additions
and
51 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
*.exe | ||
*.msi |
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,50 @@ | ||
3CXFocus(paste:=0) ; function that actually does stuff... defaults to just clearing any existing input | ||
{ | ||
if WinExist("ahk_exe 3CXWin8Phone.exe") | ||
{ | ||
winid := WinExist("ahk_exe 3CXWin8Phone.exe") | ||
} | ||
|
||
if winid | ||
{ | ||
WinActivate | ||
WinActivate | ||
WinWaitActive, , , 1 | ||
If ErrorLevel | ||
{ | ||
MsgBox, 8208, Error, WinWaitActive Timed Out, cancelling | ||
return | ||
} | ||
} else { | ||
MsgBox, 8208, Not Running, 3CX is not running, cancelling | ||
return | ||
} | ||
|
||
Sleep, 500 | ||
|
||
SendInput, {Esc} ; clear text from 3CX window | ||
|
||
if paste | ||
{ | ||
SendInput, ^v ; send copied text if 'paste' value is set | ||
} | ||
|
||
return | ||
} | ||
|
||
#SingleInstance, force | ||
|
||
^!\:: ; ctrl+alt+\ switches to 3CX and readies it for number entry (if on number page) | ||
F12:: | ||
|
||
3CXFocus() | ||
|
||
return | ||
|
||
F11:: ; copy text in active window and paste into 3CX | ||
|
||
SendInput, {End}+{Home}^c ; select all text in active box | ||
|
||
3CXFocus(1) | ||
|
||
return |
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,31 @@ | ||
#SingleInstance, force | ||
|
||
^!=:: ; ctrl+alt+= clears search in GM | ||
; winid := WinExist() | ||
if WinExist("ahk_exe gmw.exe") | ||
{ | ||
winid := WinExist("ahk_exe gmw.exe") | ||
} | ||
if WinExist("ahk_exe mstsc.exe") | ||
{ | ||
winid := WinExist("ahk_exe mstsc.exe") | ||
} | ||
; MsgBox %winid% ; debugging only | ||
if winid | ||
{ | ||
InputBox, var, Name, Name to Search For | ||
WinActivate | ||
WinActivate | ||
WinWaitActive, , , 1 | ||
If ErrorLevel | ||
{ | ||
MsgBox, 8208, Error, WinWaitActive Timed Out, cancelling | ||
return | ||
} | ||
} else { | ||
MsgBox, 8208, Not Running, GoldMine is not running, cancelling | ||
return | ||
} | ||
Click, 200, 90 ; clicks in search field of GM | ||
SendInput, ^a%var%{Enter} ; selects all and clears text | ||
return |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
Start "" "C:\Program Files (x86)\Quest Integration\QI Tools\3CX.exe" | ||
rem Start "" "C:\Program Files (x86)\Quest Integration\QI Tools\GMSearch.exe" | ||
Start "" "C:\Program Files (x86)\Quest Integration\QI Tools\Quick Status Change.exe" | ||
rem Start "" "C:\Program Files (x86)\Quest Integration\QI Tools\Window Switching.exe" |