Jump to content

Recommended Posts

Posted

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>

; ----------------------------------------------------------------------------

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...