-
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.
- Loading branch information
1 parent
320e3bc
commit 5df21a6
Showing
4 changed files
with
41 additions
and
1 deletion.
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 @@ | ||
*.exe |
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,25 @@ | ||
^!\:: ; ctrl+alt+\ switches to 3CX and readies it for number entry (if on number page) | ||
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 | ||
} | ||
|
||
Click, 225, 95 ; clicks in textbox | ||
SendInput, ^a{Delete} ; selects all and clears text | ||
|
||
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 |
---|---|---|
@@ -1 +1,15 @@ | ||
# 3CX | ||
# 3CX | ||
hotkey for easily switching to 3CX and getting ready for number input | ||
|
||
## 3CX Script | ||
This is a compiled [AutoHotKey](https://autohotkey.com/ "AutoHotKey's Homepage") script that makes it easy to switch to 3CX. | ||
|
||
Simply press CTRL+ALT+\ (the one above the Enter key) to switch to the open 3CX window and clear any existing number and get ready to input a number. | ||
|
||
Make sure to have 3CX running or you'll get an error message | ||
|
||
Also, a real limitation is that it must be on the screen that allows direct number entry: | ||
|
||
![only 3CX screen that this works for](images/3CX_screen.png) | ||
|
||
_Please let me know if you find any issues_ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.