Execute a Program, Import Images with AutoHotKey

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Execute a Program, Import Images with AutoHotKey

Post by Justin Shafer » Sat Mar 29, 2014 7:51 pm

Hit F6 to run. You will need AutoHotKey. I plan on using AmCap with this or maybe DXSnap. Amcap costs $35.00 or so.. it can be installed on multiple computers? :D

It allows you to take images from Cameras. It supports Hardware Triggering with StillPin Cameras (the capture button). For the Image Master and 2014 MD-740 Cameras. These cameras do NOT have TWAIN interfaces.

I plan on creating a video and posting it in the Main Forum when this new camera arrives.

SetTitleMatchMode 2
~F6::
FileDelete, %SystemDrive%\Images\*.*
RunWait, %SystemDrive%\%PROGRAMFILES(X86)%\Noël Danjou\AMCap\amcap.exe ;Runs a program and waits for it to finish before continuing.
ControlClick, x382 y88, Open Dental ; Should click on Import File in Open Dental if your Images Screen is up.
Sleep 1000 ; Sleep for a second
IfWinActive, Open ; Only sends keyboard strokes if the Open File Dialog is open
{
Send %systemdrive%\Images{enter} ;Be sure this exists!
Send {tab}{tab}{tab}{tab}{tab}{tab}{tab}
Send ^a
Send {enter}
Return
}

Post Reply