Added referral safeguards, second background colour for home visit searches, more text shortcuts (both inline and via quicksearch)
This commit is contained in:
39
includes/ReferralSafeguard.ahk
Normal file
39
includes/ReferralSafeguard.ahk
Normal file
@@ -0,0 +1,39 @@
|
||||
; This script was created using Pulover's Macro Creator
|
||||
; www.macrocreator.com
|
||||
|
||||
|
||||
|
||||
F22::
|
||||
referral_file := "C:\Sean\AHK\referrals\referrals.txt"
|
||||
referral_historical := "C:\Sean\AHK\referrals\historical.txt"
|
||||
WinActivate, SystmOne GP ahk_class SunAwtFrame
|
||||
Sleep, 333
|
||||
MouseGetPos, cur_mouse_x, cur_mouse_y
|
||||
CoordMode, Pixel, Screen
|
||||
Click, 2199, 70 Left, Down
|
||||
Sleep, 10
|
||||
CoordMode, Pixel, Screen
|
||||
Click, 2493, 70 Left, Up
|
||||
Sleep, 10
|
||||
Send, ^c
|
||||
Click, Left, 1
|
||||
Sleep, 10
|
||||
/*
|
||||
Click, %cur_mouse_x%, %cur_mouse_y%, 0
|
||||
Sleep, 10
|
||||
*/
|
||||
FormatTime, cur_timestamp, , yy-MM-dd HH:mm
|
||||
/*
|
||||
MsgBox, 0, , %cur_timestamp% - %clipboard%
|
||||
*/
|
||||
Sleep, 500
|
||||
CurrentKeyDelay := A_KeyDelay
|
||||
SetKeyDelay, 200
|
||||
SendEvent, ^5 ^6 {APPSKEY} !o
|
||||
SetKeyDelay, %CurrentKeyDelay%
|
||||
FileAppend, %cur_timestamp% - %clipboard%`n, %referral_file%
|
||||
FileAppend, %cur_timestamp% - %clipboard%`n, %referral_historical%
|
||||
Return
|
||||
|
||||
F21::
|
||||
Run, notepad.exe %referral_file%
|
||||
Reference in New Issue
Block a user