taly88 Posted November 28, 2017 Share Posted November 28, 2017 Hello nice friends, im try alot of things but any thing not work... i need bat file (cmd) for go some URL , Then wait to save-as dialog show and then gives file name with "xXx -[current-time].csv" the - save it. please help me thank-you-very-much! Taly. Link to comment Share on other sites More sharing options...
BigDaddyO Posted November 28, 2017 Share Posted November 28, 2017 Something like this. But, you will need to use the AutoIT Window Info tool to figure out the Window and controls to enter $iPID = ShellExecute("www.yahoo.com") ;Use AutoIT Window Info tool to get the Save-As file name input box If WinWait("Save As", "", 90) Then ControlSetText("Save As", "", "FileNameEditBoXControlName", "xXx-" & @HOUR & @MIN & @SEC & @MSEC & ".csv") ControlClick("Save As", "", "OKbuttonName") Else MsgBox(0, "Error", "The Save-As window did not appear within 90 seconds") EndIf Earthshine 1 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