Jump to content

ProcessExists() on a dialog


Recommended Posts

Hola!

I'm trying AutoIT for the first time and thrashing on a couple things. Im trying to drag n drop blocks of .mts video files from a folder (Source) into a conversion utility (Moyea Video Converter), crop and downscale the resolution, save the files as a single new file and repeat the process. To keep the single file below 2Gb Im splitting the files into sub-directories A1 A2 B1 B2. In perfect world, AutoIT could count total files, grab 25% of them(in order-numeric file names) and recursively process each, moving along to a new parent folder for another project.

Currently:

1)When the Files are dragged I need scripting to wait for Video Converter to receive them before jumping to insert the new (single) file name. Ive used "Sleep" but it would be cool to know when its really ready.

2)When Converting - A progress dialog shows Status "Running" until it completes "OK" and a button changes from "Pause" to "Finished". It seems to use one process (Video Converter.exe) for the entire program so ProcessExists() wont work (Its less active but still running after conversion.

Attached:

Downscale - After the files are in the converter - the parameters are inserted and the processing is initiated - it fails to recognise when process completes.

xxControlbased - Activating Directory Window, navigating to Source and sub directories. I tried using Control commands and retreated to mouse moves - notice the Window info cant grab the title (Source)

As you can see by the commenting, Ive tried quite a bit and any help getting me pointed right would really be appreciated.DownscaleFiles.htmlxxControlbased_Convert.au3post-66907-0-44049600-1314480203_thumb.jWindowInfo_ProcessingDialog.txtWindowInfo_FileNavigation.txt

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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