dkarjadi Posted September 17, 2009 Share Posted September 17, 2009 Greetings all, My First Post here... I'm trying to automate QuicktimePlayer.exe to do clip stitching... after struggling a bit learning AutoIt, I got most of it done... with only 1 thing left to make it complete for me... I need to be able to "tell" QuicktimePlayer where to save the resulting file to... I've been able to Set the filename in the Save as... dialog box by using ControlCommand("Save A File","","Edit1","EditPaste",$File1&".mov") I've also been able to set the "Save as a reference movie" using ControlClick However I haven't been able to "pre-Set" the dialog to point to a default directory I wanted... Doing a "FileChangeDir($Savedirectory)" prior to the save as... doesn't change the combo box, when the save as... dialog box comes up.... Any help pointing in the right direction would be greatly appreciated! Thanks!! Link to comment Share on other sites More sharing options...
celestialspring Posted September 18, 2009 Share Posted September 18, 2009 (edited) This is how I do it: $windowname = "Save As" ; put the title of your window here $control = "ControlID" ; enter control ID of the box where the text goes $initialdirectory = @programsdir/ & "{Enter}" ; your initial path here $flag = 0 winwait($windowname) ControlSend($windowname,"",$control,$initialdirectory,$flag) Hope this helps cs Edited September 18, 2009 by celestialspring Link to comment Share on other sites More sharing options...
dkarjadi Posted September 18, 2009 Author Share Posted September 18, 2009 THANK YOU!!!!!!!!! This is how I do it: $windowname = "Save As" ; put the title of your window here $control = "ControlID" ; enter control ID of the box where the text goes $initialdirectory = @programsdir/ & "{Enter}" ; your initial path here $flag = 0 winwait($windowname) ControlSend($windowname,"",$control,$initialdirectory,$flag) Hope this helps cs 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