Inaringer Posted August 27, 2011 Share Posted August 27, 2011 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.au3WindowInfo_ProcessingDialog.txtWindowInfo_FileNavigation.txt Link to comment Share on other sites More sharing options...
JohnOne Posted August 27, 2011 Share Posted August 27, 2011 If you can get the text of the button with ControlGetText (). Maybe that will help you. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Inaringer Posted August 27, 2011 Author Share Posted August 27, 2011 If you can get the text of the button with ControlGetText (). Maybe that will help you.I like it! thanks I will try that right away Link to comment Share on other sites More sharing options...
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