pabloarms Posted June 3, 2010 Posted June 3, 2010 I used Autoit to call a program that takes a picture. I then copy and the file to another location and exit the script. Then I try to use a program that I have on my tray, and it take an upwards of 6 seconds to get focus on the program in the tray. Anyone have any sugestions? Thank you ; Delete any left over images in the C:\Images folder FileDelete("C:\Images\*.*") FileDelete("C:\Images\JPG\*.*") ; FileDelete("C:\users\armslaptop3\documents\digital microscope\picture\*.bmp") ; Run Dinolite Run("C:\Program Files\Dino\DinoCapture.exe") ; Wait for the ZoomBrowser to become active WinWaitActive("DinoCapture") ; Take the picture ; ; Now wait for RemoteCaptureTask to close before continuing WinWaitClose("DinoCapture") Sleep(500) FileCopy("c:\images\*.bmp", "c:\images\1.bmp") Exit ; ---------------------------------------------------------------------------- ; <AUT2EXE INCLUDE-END: C:\Documents and Settings\marc\Desktop\GetImageCommand.au3> ; ----------------------------------------------------------------------------
Developers Jos Posted June 3, 2010 Developers Posted June 3, 2010 Marc, How did you get this source? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now