
dumdumpop
Members-
Posts
17 -
Joined
-
Last visited
Recent Profile Visitors
dumdumpop's Achievements

Seeker (1/7)
0
Reputation
-
WebDriver UDF - Help & Support
dumdumpop replied to Danp2's topic in AutoIt General Help and Support
A bit of a face-palm moment. I didn't return it, just tested the return and works like a charm. Lol thanks again! -
WebDriver UDF - Help & Support
dumdumpop replied to Danp2's topic in AutoIt General Help and Support
I just got the JQuery to work! This is absolutely incredible thank you! *EDIT I did notice one thing, when I try to retrieve a value, it comes back as null. Is there a way to retrieve information from a JQuery script call? ex: using a script like $('#ElementId').height() I know I can probably get the information from the FindElement function, but just exploring possibilities right now Also both of what you sent ended up working perfectly, thank you so much! This was exactly what I was hoping to get out of this too, thank you so much! -
WebDriver UDF - Help & Support
dumdumpop replied to Danp2's topic in AutoIt General Help and Support
So far this is working perfectly for what I need it for! I do have a few questions though: How can I retrieve a list from a specific element I find? For instance, I'm trying to get the options from a select element. I'm able to call FindElement without a problem, but when trying to find the options inside of it, that's when things come back empty: $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//select[@id=DropDown]") $sElements = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//select[@id=DropDown]/option") $sElement works whereas $sElements is empty *EDIT Also, I know this is probably a long shot, but would be incredible: Can the ExecuteScript function also work with JQuery? I tested it without luck but that would be amazing -
Is there any way to add an event for anytime a user clicks? (Can be out of screen)? I'm trying to capture the mouse position from outside of the form.
-
I tried searching for this, but due to me not really knowing how to explain it in a basic search, it's proven unsuccessful So what I'm curious about is if Autoit can possibly create a GUI of instances of notepad/IE. So basically heres what I was thinking: A GUI with a button for New Instance Once you click New Instance, it opens in a hidden instance of Notepad or IE (haven't figured out which I want yet) In the GUI a small window is displayed in which it shows the instance that was opened. Ideally, I'd like smaller buttons under each visible instance for activate / hide I'll probably wind up needing to make a picture of what I'm talking about, but I figured maybe if anyone knows what I'm talking about it'd be great lol The main plan here is to be able to open 10+ instances of each program but without taking any real estate on the control bar. It'd basically act as a grouper for multiple instances of the program Please let me know if anyone needs further clarification for this, I know it definitely sounds confusing so I won't be insulted at all lol *EDIT* Found exactly what I was looking for! If anyone else was curious it was located here:
-
Good evening! I'm trying to figure out how I can freeze a screen while its active and refresh the display every x seconds. What I mean by this, is to go on youtube (preferably specifying the handle in which the script will edit) and while a video is playing, freeze the screen, but allow the video to continue playing. Anyone have any idea where to begin on this?
-
Good evening! So just a quick question about autoit, I used cheat engine to get the memory value in which I want to edit (032A20C0) and I would like to change the value of this from 100, to 1000. Can someone explain to me what would be the best way to go about this? Thanks
-
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
This is my last post I'm allowed for today, and that's what I was trying earlier. I copied you exact code <changed the title> and ran it, when I minimize it displays the Test box, with 2 of the exact same Handles, but doesn't show the window of my notepad :/ Thanks for trying to help though, I appreciate it -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
You're a step behind, I already understand how WinWaitActive works, and it has worked all day. That was never the issue. All I'm trying to do is use the function WinActivate on the handle that was returned from the WinWaitActive. It just doesn't bring it into view, meaning its staying minimized. On top of that, I cannot use the Send function when I manually open up the window. So I'm just gonna say theres probably no solution and call it quits I only have 1 post left till tomorrow night anyway -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
The problem starts the second I try to activate the window. Even if its the only window open, after doing that WinActivate wont open it, just leaves me on the screen that I'm on, and the client minimized. However, if I hover over the notepad icon, its highlighted around it, as if it is in focus, but its not. I've tried adding a Send() function below it to see if it was actually open, just not being displayed for some reason and it doesn't type in the notepad at all *EDIT* Just tested running the function Send("Keys") so that it types keys in the notepad, it doesn't even do that so I'll probably just have to admit defeat on this :/ -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
Keeping it simple works for me! By running that, I get the handle: 0x00530B86 -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
The reason I do a WinWaitActive is because I have several different notepads open, so it helps distinguish between which I want to use. So with my regular notepad, non modified, I use the WinWaitActive, then select the first window. Then save that as $hWnd1. I can repeat these steps for as many windows as I'd like and can recall them separately by using WinActive() So say I want to open up the second window out of 5, an easy way for me to distinguish between them, if their names are the same would be to use WinActivate($hWnd2) if that makes more sense. I've been using the help file a ton, but its not helping me with the issue. The helpfile is the reason for me trying all the different ways to open it though I also haven't used the WinGetHandle, but added it in so I can show that I was trying to get the handle as a method as well *EDIT* This is also my first day with Autoit, so I'm no pro at what gets returned from each function lol -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
$hWnd1 = WinWaitActive("[CLASS:Notepad]") WinActivate($hWnd1) Opt("WinTitleMatchMode", 2) $hWnd2 = WinWaitActive("New Accounts - Notepad") WinActivate($hWnd2) WinActivate(988) ;;PID, I know this shouldnt work to begin with, but still tried it lol $hWnd3 = WinWaitActive("[CLASS:Notepad]") $hWnd3 = WinGetHandle($hWnd3) WinActivate($hWnd3) Those are a few ways that I tried it, <I manually opened up the ones calling for WinWaitActive() and added a msgbox in between as a delay so when I close the box, the program should open, didn't work> Self modified so that it doesn't update instantly. So basically every 5 seconds you see what you've typed. Kinda acting like a refreshing framerate. I'm trying to expand my knowledge on programming, so just messing around with a bunch of things. I don't necessarily need this for anything, but still fun to see what you can do but I do feel as though at some point in my modifications that I'll need to be able to activate the window with autoit :/ -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
Yup even with the proper title. I spent like 6 hours trying every different combination of parameters that are allowed in the WinActivate and still cant get it lol Only think I haven't successfully done was trying to load it from the PID but I wasn't sure if that was possible only things I found from searching was conveting a PID to handle which I didn't need -
WinActivate() kinda selective?
dumdumpop replied to dumdumpop's topic in AutoIt General Help and Support
Sorry, should've mentioned in the original post, I've tried locating the title and loading it like that as well, still doesn't work its a tricky one lol