tp9191 Posted November 15, 2012 Author Share Posted November 15, 2012 Opt("MouseCoordMode", 2) $size = WinGetClientSize("MeGUI - MP4 Muxer") ;Add Client name here for Background windows $x_ratio = $size[0] / @DesktopWidth $y_ratio = $size[1] / @DesktopHeight Sleep(2000) MsClick("","","","left",1,409,178) Sleep(2000) MsClick("","","","left",1,409,178) Sleep(2000) MsClick("","","","left",1,409,578) Func MsClick($tittle, $text, $controlid, $clickType, $clicks = 1, $xpos = 1, $ypos = 1) $randX = $xpos * $x_ratio $randY = $ypos * $y_ratio ControlClick("MeGUI - MP4 Muxer", "", "",$clickType,$clicks,$randX,$randY) ;Set $tittle if u want to work on a specific window client EndFunc ;==>MsClick I'm reading the script and excuse me, but, how exactly is this going to help me, anyways? It says it's for background windows while you are full screened? Isn't that a bit excessive if all I am wanting to do is click a simple 'input file' box? P.S., the guy misspelled "title" but not sure if that will matter. Link to comment Share on other sites More sharing options...
ileandros Posted November 17, 2012 Share Posted November 17, 2012 (edited) Yes its for background windowed full screens. If you programs is not windowed fullscreen then you will need to change these two: $x_ratio = $size[0] / @DesktopWidth $y_ratio = $size[1] / @DesktopHeight If this is your code and it is not working is because of the controlclick command. The 3rd parametre of the command is the ControlID of the input you want to click not the times of mouseclicks you want to do. Opt("MouseCoordMode" , 0 ) winactivate ("MeGUI - MP4 Muxer") controlclick ("MeGUI - MP4 Muxer", "", 1, 8, 12) MsClick("MeGUI - MP4 Muxer", "",$controlID,"left",1,8,12) I didn't want to say this but if you want post your summary of the info tool Edited November 17, 2012 by ileandros I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
StainlessS Posted April 8, 2013 Share Posted April 8, 2013 If you're still interested, I think you will find it easiest to use send CTRL+5 key sequence as shown in Menu Tools/Muxer/Mp4 Muxer. 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