Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetTitleMatchMode, 2
- ;Insert date and time anywhere.
- ^t::
- FormatTime, TimeString
- SendInput ---%TimeString%---
- return
- ;Launch Open Dental
- ^!o::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- return
- }
- else
- {
- run %A_ProgramFiles%\Open Dental\OpenDental.exe
- return
- }
- ; Click on the select patient dialog.
- ^s::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 75,55
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Appts window
- ^1::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,65
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Family window
- ^2::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,135
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Account window
- ^3::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,205
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Treatment Plan window
- ^4::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,275
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Chart window
- ^5::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,335
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Images window
- ^6::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,405
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Manage window
- ^7::
- IfWinExist, Open Dental
- {
- WinActivate ; Automatically uses the window found above.
- WinMaximize ; same
- Click 25,475
- return
- }
- else
- {
- MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
- return
- }
- ;Open Notepad.exe
- ^!n::
- IfWinExist, Untitled - Notepad
- {
- WinActivate
- return
- }
- else
- {
- run Notepad.exe
- WinWait Untitled - Notepad
- WinActivate
- return
- }
- ;Bring up the help box
- ^h::
- MsgBox, 64, OpenDental Shortcuts and Hotkeys, Press Ctrl + h to open this help box.`n`nPress Ctrl + Alt + o to open the Open Dental program.`n`nPress Ctrl + s to open the Select Patient dialog box.`n`nPress Ctrl + t to insert date and time.`n`nPress Ctrl + 1 for Appointments window.`n`nPress Ctrl + 2 for Family window.`n`nPress Ctrl + 3 for Account window.`n`nPress Ctrl + 4 for Treatment Plan window.`n`nPress Ctrl + 5 for Chart window.`n`nPress Ctrl + 6 for Images window.`n`nPress Ctrl + 7 for Manage window.`n`nPress Ctrl + Alt + n to open notepad.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement