Search the Community
Showing results for tags 'mouseover'.
Found 2 results
Hello all, I am at an impasse trying to move mouse to a specific element on a webpage, a button in this case, and clicking it (this would be the easy part). The element is defined as followed: id = "controls-4" class = "set btn" I am able to locate the element using the following lines: Local $oDiv = _IEGetObjById($oIE, "controls-4") MsgBox($MB_SYSTEMMODAL, "controls-4", $oDiv.innertext) From here, I've tried the following lines, but all failed to move the mouse or click the element: Local $locDM = ControlGetPos("","",$oDiv) MouseMove($locDM,$locDM) _IEAction($oDiv, "click") After storing the element to $oDiv, how should I go about using it to achieve what I want? Thank you for your help in advance.
zvvyt posted a topic in AutoIt GUI Help and SupportHi there ya'll! What I've got is 2 GUIs being ontop of eachother, one being the others parent. The parent serves mostly as a background as the child is a bit smaller, transparent and contains a set of images/icons. The child GUI also has a scrollbar created by _GUIScrollbars_Generate. The problem I'm having is that in the parent GUI I have an inputbox, created by GUICtrlCreateInput, and as that inputbox got focus I want to be able to scroll the child GUI. I can't set the inputbox in the child instead as I guess it would be too much work moving it as I scroll along. As I'm having it now I manually have to click inside the child GUI to be able to scroll it, and then click inside the parent/inputbox to type again. Don't know if there's any other great solution to this. I just thought that a mouseover scroll be OK! If you got any other solution I'd happily take that aswell! Best regards, zvvyt