Skip to content

Commit dc77ff1

Browse files
committed
Initial commit
0 parents  commit dc77ff1

12 files changed

+671
-0
lines changed

.gitattributes

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

+169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
#################
2+
## VIM
3+
#################
4+
5+
*~
6+
7+
#################
8+
## Eclipse
9+
#################
10+
11+
*.pydevproject
12+
.project
13+
.metadata
14+
bin/
15+
tmp/
16+
*.tmp
17+
*.bak
18+
*.swp
19+
*~.nib
20+
local.properties
21+
.classpath
22+
.settings/
23+
.loadpath
24+
25+
# External tool builders
26+
.externalToolBuilders/
27+
28+
# Locally stored "Eclipse launch configurations"
29+
*.launch
30+
31+
# CDT-specific
32+
.cproject
33+
34+
# PDT-specific
35+
.buildpath
36+
37+
38+
#################
39+
## Visual Studio
40+
#################
41+
42+
## Ignore Visual Studio temporary files, build results, and
43+
## files generated by popular Visual Studio add-ons.
44+
45+
# User-specific files
46+
*.suo
47+
*.user
48+
*.sln.docstates
49+
50+
# Build results
51+
[Dd]ebug/
52+
[Rr]elease/
53+
*_i.c
54+
*_p.c
55+
*.ilk
56+
*.meta
57+
*.obj
58+
*.pch
59+
*.pdb
60+
*.pgc
61+
*.pgd
62+
*.rsp
63+
*.sbr
64+
*.tlb
65+
*.tli
66+
*.tlh
67+
*.tmp
68+
*.vspscc
69+
.builds
70+
*.dotCover
71+
72+
## TODO: If you have NuGet Package Restore enabled, uncomment this
73+
#packages/
74+
75+
# Visual C++ cache files
76+
ipch/
77+
*.aps
78+
*.ncb
79+
*.opensdf
80+
*.sdf
81+
82+
# Visual Studio profiler
83+
*.psess
84+
*.vsp
85+
86+
# ReSharper is a .NET coding add-in
87+
_ReSharper*
88+
89+
# Installshield output folder
90+
[Ee]xpress
91+
92+
# DocProject is a documentation generator add-in
93+
DocProject/buildhelp/
94+
DocProject/Help/*.HxT
95+
DocProject/Help/*.HxC
96+
DocProject/Help/*.hhc
97+
DocProject/Help/*.hhk
98+
DocProject/Help/*.hhp
99+
DocProject/Help/Html2
100+
DocProject/Help/html
101+
102+
# Click-Once directory
103+
publish
104+
105+
# Others
106+
[Bb]in
107+
[Oo]bj
108+
sql
109+
TestResults
110+
*.Cache
111+
ClientBin
112+
stylecop.*
113+
~$*
114+
*.dbmdl
115+
Generated_Code #added for RIA/Silverlight projects
116+
117+
# Backup & report files from converting an old project file to a newer
118+
# Visual Studio version. Backup files are not needed, because we have git ;-)
119+
_UpgradeReport_Files/
120+
Backup*/
121+
UpgradeLog*.XML
122+
123+
124+
125+
############
126+
## Windows
127+
############
128+
129+
# Windows image file caches
130+
Thumbs.db
131+
132+
# Folder config file
133+
Desktop.ini
134+
135+
136+
#############
137+
## Python
138+
#############
139+
140+
*.py[co]
141+
142+
# Packages
143+
*.egg
144+
*.egg-info
145+
dist
146+
build
147+
eggs
148+
parts
149+
bin
150+
var
151+
sdist
152+
develop-eggs
153+
.installed.cfg
154+
155+
# Installer logs
156+
pip-log.txt
157+
158+
# Unit test / coverage reports
159+
.coverage
160+
.tox
161+
162+
#Translations
163+
*.mo
164+
165+
#Mr Developer
166+
.mr.developer.cfg
167+
168+
# Mac crap
169+
.DS_Store

NewChromeTab.ahk

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
; Activated by Win+t
2+
#t::
3+
4+
SetTitleMatchMode, RegEx
5+
6+
; Get the Google Chrome window
7+
IfWinNotExist, Google Chrome
8+
{
9+
return
10+
}
11+
12+
WinActivate
13+
14+
WinWaitActive, Google Chrome,,5
15+
if ErrorLevel
16+
return
17+
18+
Send ^t
19+
20+
Send ^l
21+
22+
return

NewTimesheetEntry.ahk

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
; Activated by Win+a
2+
#a::
3+
4+
; Get the input, exit if user cancels
5+
InputBox, IRN, New Timesheet Entry, Enter tag,,,,,,,,%IRN%
6+
if ErrorLevel
7+
return
8+
9+
SetTitleMatchMode, RegEx
10+
11+
; Get the Timesheet window
12+
IfWinNotExist, Inprotech Timesheet
13+
{
14+
return
15+
}
16+
17+
WinActivate
18+
19+
WinWaitActive, Inprotech Timesheet,,5
20+
if ErrorLevel
21+
return
22+
23+
Send ^S
24+
25+
Sleep 3000
26+
27+
Send ^N
28+
29+
Sleep 1000
30+
31+
Send %IRN%{Tab}
32+
33+
Sleep 1000
34+
35+
Send T{Tab}
36+
37+
return

OpenDMS.ahk

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
; Activated by Win+o
2+
#o::
3+
4+
; Get the input, exit if user cancels
5+
InputBox, IRN, Open DMS, Enter IRN,,,,,,,,%IRN%
6+
if ErrorLevel
7+
return
8+
9+
SetTitleMatchMode, RegEx
10+
11+
; Get the Outlook window
12+
WinExist(" - Microsoft Outlook")
13+
WinActivate
14+
WinMaximize
15+
16+
; Click the "Search for Workspace" button
17+
; Click 808, 68, 2
18+
19+
; Use the Alt+4 quick access toolbar "Search for workspace" shortcut
20+
Send !4
21+
22+
; Wait for the Search workspaces window, and exit if it doesn't arrive
23+
WinWaitActive, Search Workspaces,,2
24+
if ErrorLevel
25+
return
26+
27+
; Click in the IRN field, select all text and enter the IRN
28+
;Click 386, 453
29+
; Use tabs to get to the IRN field
30+
Sleep 50
31+
Send {Tab}
32+
Sleep 50
33+
Send {Tab}
34+
Sleep 50
35+
Send {Tab}
36+
Sleep 50
37+
Send ^a
38+
Send %IRN%{Enter}
39+
40+
; Wait for the Search Results window and exit if it doesn't arrive
41+
WinWaitActive Search Results,,2
42+
if ErrorLevel
43+
return
44+
45+
Send {Down}{Enter}
46+
Sleep 400
47+
48+
; Navigate to the Correspondence folder
49+
Send +{Tab}
50+
Send {Right}{Down}{Enter}
51+
return

OpenMOS.ahk

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
; Activated by Win+s
2+
#s::
3+
4+
InputBox, IRN, Open MOS, Enter IRN,,,,,,,,%IRN%
5+
if ErrorLevel
6+
return
7+
8+
SetTitleMatchMode, RegEx
9+
10+
; Get the Word window
11+
IfWinNotExist, Microsoft Word
12+
{
13+
return
14+
}
15+
16+
WinActivate
17+
WinMaximize
18+
19+
; Click the "Inprotech" button
20+
;Click 180, 95, 2
21+
22+
; Click the "Forms" button
23+
;Click 212, 150
24+
25+
; Click the "Marking off sheet" button
26+
;Click 493, 149
27+
28+
; Enter the Marking_off macro shortcut
29+
Send {Control Down}{Alt Down}q{Alt Up}{Control Up}
30+
31+
; Wait for the "Enter IRN Selection" window, and exit if it doesn't arrive
32+
WinWaitActive, Enter IRN Selection,,7
33+
if ErrorLevel
34+
return
35+
36+
; Enter the IRN
37+
Send %IRN%{Enter}
38+
39+
return

OpenRTM.ahk

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
; Activated by Win+q
2+
#q::
3+
4+
; Get the input, exit if user cancels
5+
InputBox, IRN, Open RTM, Enter tag,,,,,,,,%IRN%
6+
if ErrorLevel
7+
return
8+
9+
SetTitleMatchMode, RegEx
10+
11+
; Get the Google Chrome window
12+
IfWinNotExist, Google Chrome
13+
{
14+
return
15+
}
16+
17+
WinActivate
18+
WinMaximize
19+
20+
WinWaitActive, Google Chrome,,5
21+
if ErrorLevel
22+
return
23+
24+
Send ^1
25+
26+
Sleep 100
27+
28+
Send {Tab}/
29+
30+
Sleep 100
31+
32+
Send ^atag:%IRN%{Enter}
33+
34+
return

0 commit comments

Comments
 (0)