Advertisement
Guest User

OpenDental Shortcuts and Hotkeys

a guest
May 21st, 2012
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SetTitleMatchMode, 2
  2. ;Insert date and time anywhere.
  3. ^t::
  4. FormatTime, TimeString
  5. SendInput ---%TimeString%---
  6. return
  7.  
  8. ;Launch Open Dental
  9. ^!o::
  10. IfWinExist, Open Dental
  11. {
  12.     WinActivate  ; Automatically uses the window found above.
  13.     WinMaximize  ; same
  14.     return
  15. }
  16. else
  17. {
  18.     run %A_ProgramFiles%\Open Dental\OpenDental.exe
  19.     return
  20. }
  21.  
  22.  
  23. ; Click on the select patient dialog.
  24. ^s::
  25. IfWinExist, Open Dental
  26. {
  27.     WinActivate  ; Automatically uses the window found above.
  28.     WinMaximize  ; same
  29.     Click 75,55
  30.     return
  31. }
  32. else
  33. {
  34.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  35.     return
  36. }
  37.  
  38. ;Open Appts window
  39. ^1::
  40. IfWinExist, Open Dental
  41. {
  42.     WinActivate  ; Automatically uses the window found above.
  43.     WinMaximize  ; same
  44.     Click 25,65
  45.     return
  46. }
  47. else
  48. {
  49.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  50.     return
  51. }
  52.  
  53. ;Open Family window
  54. ^2::
  55. IfWinExist, Open Dental
  56. {
  57.     WinActivate  ; Automatically uses the window found above.
  58.     WinMaximize  ; same
  59.     Click 25,135
  60.     return
  61. }
  62. else
  63. {
  64.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  65.     return
  66. }
  67.  
  68. ;Open Account window
  69. ^3::
  70. IfWinExist, Open Dental
  71. {
  72.     WinActivate  ; Automatically uses the window found above.
  73.     WinMaximize  ; same
  74.     Click 25,205
  75.     return
  76. }
  77. else
  78. {
  79.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  80.     return
  81. }
  82.  
  83. ;Open Treatment Plan window
  84. ^4::
  85. IfWinExist, Open Dental
  86. {
  87.     WinActivate  ; Automatically uses the window found above.
  88.     WinMaximize  ; same
  89.     Click 25,275
  90.     return
  91. }
  92. else
  93. {
  94.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  95.     return
  96. }
  97.  
  98. ;Open Chart window
  99. ^5::
  100. IfWinExist, Open Dental
  101. {
  102.     WinActivate  ; Automatically uses the window found above.
  103.     WinMaximize  ; same
  104.     Click 25,335
  105.     return
  106. }
  107. else
  108. {
  109.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  110.     return
  111. }
  112.  
  113. ;Open Images window
  114. ^6::
  115. IfWinExist, Open Dental
  116. {
  117.     WinActivate  ; Automatically uses the window found above.
  118.     WinMaximize  ; same
  119.     Click 25,405
  120.     return
  121. }
  122. else
  123. {
  124.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  125.     return
  126. }
  127.  
  128. ;Open Manage window
  129. ^7::
  130. IfWinExist, Open Dental
  131. {
  132.     WinActivate  ; Automatically uses the window found above.
  133.     WinMaximize  ; same
  134.     Click 25,475
  135.     return
  136. }
  137. else
  138. {
  139.     MsgBox ,Open Dental window was not found.`nPlease log in to Open Dental and try again.
  140.     return
  141. }
  142.  
  143. ;Open Notepad.exe
  144. ^!n::
  145. IfWinExist, Untitled - Notepad
  146. {
  147. WinActivate
  148. return
  149. }
  150. else
  151. {
  152.     run Notepad.exe
  153.     WinWait Untitled - Notepad
  154.     WinActivate
  155.     return
  156. }
  157.  
  158. ;Bring up the help box
  159. ^h::
  160. 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