tp9191 Posted November 13, 2012 Share Posted November 13, 2012 http://i45.tinypic.com/nqw8k6.jpgAll i'm trying to do is to click the "..." button at the very top for "video input"And yes, I realize there is coords difference in the screenshot where it says 8,12, because I was screwing around with stuff. But, I tried both Position and ControlClick Coords from the InfoTool that you see in the screenshot.When I run the script it simply does nothing to click open the video input box.I've tried plenty of stuff for like the last 45 minutes (lol @ me spending that much time for something so easy). I assume it has to do something with the coordinates but I can't figure it out.It would have been nice if the help file example used the coords so people could see how it's done.Opt("MouseCoordMode" , 0 ) winactivate ("MeGUI - MP4 Muxer") controlclick ("MeGUI - MP4 Muxer", "", 1, 8, 12) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 13, 2012 Moderators Share Posted November 13, 2012 tp9191, Welcome to the AutoIt forum. Have you tried using the control indentification you have obtained like this: ControlClick("MeGUI - MP4 Mixer", "", "[NAME:openButton]") Then you do not need the coordinates at all. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
tp9191 Posted November 13, 2012 Author Share Posted November 13, 2012 Thanks. I'll try that. How to make use of the entry for 'Advanced Mode' was actually my other question that I was gonna ask but I was in a rush this morning to make the thread. Link to comment Share on other sites More sharing options...
tp9191 Posted November 13, 2012 Author Share Posted November 13, 2012 Okay, well I just tried it but it did not do squat. lol Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 13, 2012 Moderators Share Posted November 13, 2012 tp9191,Such is life! So we return to the coordinates. Reopen the Window Info tool and use the <Options - Coord Mode> menu to set "Window". Now highlight the control again and note the position and size values in the "Control" tab. Then try this:ControlClick("MeGUI - MP4 Mixer", "", "", "primary", 1, X, Y)where:X = x postion + width/2 Y = y position + height/2Now you should be clicking in the middle of the button. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
tp9191 Posted November 13, 2012 Author Share Posted November 13, 2012 Still it did not work. position = 408, 25 size = 24, 24 so it should be: ControlClick("MeGUI - MP4 Muxer", "", "", "primary", 1, 216, 24) Is the reason why it isn't working have anything to do with the fact that this program uses the .NET framework? I was reading something about that in the ControlID section in the help file. Link to comment Share on other sites More sharing options...
JohnOne Posted November 13, 2012 Share Posted November 13, 2012 (edited) With it not being a standard control, it is entirely possible that the actual ID (16581002) is static. Try ControlClick("MeGUI - MP4 Mixer", "", 16581002) EDIT: Also, treble check the window title is correct, copy and past from info tool. Edited November 13, 2012 by JohnOne 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...
tp9191 Posted November 14, 2012 Author Share Posted November 14, 2012 It's muxer, not mixer, guys And it appears to be dynamic, because it worked but when I opened the mp4 muxer window again, it didn't work. Bah, Perhaps we should go back to the coords? Link to comment Share on other sites More sharing options...
tp9191 Posted November 15, 2012 Author Share Posted November 15, 2012 no solutions? Link to comment Share on other sites More sharing options...
JohnOne Posted November 15, 2012 Share Posted November 15, 2012 I think you should everything you have tried, so people don't waste their time just repeating it. 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...
tp9191 Posted November 15, 2012 Author Share Posted November 15, 2012 You think I should what everything I have tried? Could you repeat that, please? lol Link to comment Share on other sites More sharing options...
Aktonius Posted November 15, 2012 Share Posted November 15, 2012 some controls refuse to be clickable by controlclick() if the their parent isnt active window. Link to comment Share on other sites More sharing options...
JohnOne Posted November 15, 2012 Share Posted November 15, 2012 Yes. I think you should. 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...
ileandros Posted November 15, 2012 Share Posted November 15, 2012 (edited) Try this out.Give the tittle and name of button when using the MsClick() IN the command dont change the function Edited November 15, 2012 by ileandros I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
tp9191 Posted November 15, 2012 Author Share Posted November 15, 2012 some controls refuse to be clickable by controlclick() if the their parent isnt active window.As you can see from the original post I did use WinActivate, though.Yes.I think you should.I'm sorry but I don't understand what you were trying to say in your post, which is why I said to repeat it. Link to comment Share on other sites More sharing options...
JohnOne Posted November 15, 2012 Share Posted November 15, 2012 Your code you have already tried. 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...
tp9191 Posted November 15, 2012 Author Share Posted November 15, 2012 (edited) There was nothing specfically I was trying. It was more of me just trying to familiarize on how to input some of the commands and whatnot. That's what I meant when I said I was trying different stuff for like an hour.Try this out.Give the tittle and name of button when using the MsClick() IN the command dont change the function$size = WinGetClientSize("") ;Add Client name here for Background windowsI don't quite understand what client is. Do I need to input something there, or ignore it? Edited November 15, 2012 by tp9191 Link to comment Share on other sites More sharing options...
tp9191 Posted November 15, 2012 Author Share Posted November 15, 2012 bump Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 15, 2012 Moderators Share Posted November 15, 2012 tp9191, Please do not bump your threads within 24 hours. Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare. Just be patient - it might be urgent for you but it is not for anyone else. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
ileandros Posted November 15, 2012 Share Posted November 15, 2012 Yes the name of the your window... I feel nothing.It feels great. 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