Jump to content

Nefarious

Active Members
  • Posts

    28
  • Joined

  • Last visited

Nefarious's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. The script in question is a bit large to post so I've sent it to you via PM. Please review at your own convenience. Thanks.
  2. Return HWnd($o_object.HWND ()) Return ^ ERROR >Exit code: 0 Time: 0.413 ...in IE.Au3. When I compile the script and run it I get this... Line 0 (File ...myscript): Return HWnd($o_object.HWND ()) Return ^ ERROR Error: The requested action with this object has failed. Any ideas as to what would cause this? It's kind of difficult to search Line 0 for problems considering it doesn't exist.
  3. I finally got a chance to test this out and the site I'm trying to use it on just flips out...a simple fix for my problem would be to be able to send a simulated "mouseclick" while maintaining the ability to keep this script running in the background and not tie up my mouse/puter from doing other things in the foreground. As a side note, I'll send the script I have so far to anybody willing to help via PM. I don't think the forums will allow me to post 2700+ lines of code or I'd do it here. Please PM me or post here if you are wanting to see my current script. Thanks for the help, guys, you are all awesome.
  4. Well, I figured out how to do the java part by using _IENavigate, but I'm still having problems with the other part of my question. I don't fully understand how _IEFormGetCollection works...I modded the sample code in the help file and it just returns a message box saying there is 1 form on this page...I know there is more than 1 form on the page. Sooooo I'm looking, instead, for a way to do a mouseclick using IE functions. I do NOT want the mouse pointer to be controlled like in mouseclick though. I want this script to be able to run in the background while I do other stuff in the foreground. I hope this makes sense. Thanks again.
  5. Alright, I'm working on a new script using IE.au3 functions...my problem is that while using a DOM viewer to break down a page and get frame/form names I'm coming across forms that have no name...and "input" buttons with no name. How would you "click" a button if you have the frame name, but not form name or name for the button? Can you use _IEAction to simulate clicks at a certain pixel location on the screen and if yes, how? Thanks for the help. Also, is it possible to send javascript commands via the address bar (or another way) while still maintaining the ability to run this script in the background? <<EDIT>> Several views on this topic, but no replies. Are my questions not detailed enough? This is my first time attempting to use IE.au3 so I'm still a bit confused on the functions and the help file just confuses me even more (go figure).
  6. Well, that works well on some pages, but the page I'm looking to use it on seems to block it. Is there an external program that doesn't run through the browser?
  7. I'm looking for a way to grab control ID's from buttons/pulldown menu's that don't appear to have one (according to the Window Info program) Either that or a way to find the javacode associated with a certain button. Any ideas? Thanks in advance for any help. EDIT: Also I need a link to IE.au3 ...thanks.
  8. This works much better for what I need. Thanks.
  9. Perfect. Thank you so much.
  10. In the given example in the help file I don't quite understand the Top, Left, Right, Bottom... $coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 ) Seeing as how the windowspy gives you x,y coords how do you plug those into that example? I just can't visualize what area the sample code would be checking. Thanks.
  11. This is probably simple for some of you brains out there... What I'm trying to do is check 2 pixel locations in a browser window, in this case I need 111,60 and 389,110 to be checked for the color red and once it's found have it click that pixel via a mouseclick. Any sample code or links to posts with more info would be appreciated.
  12. Okay, back to the drawing board....again...I tried it on yet another machine and the original problem still exists. Something in my script is sending the mouse to pixel location 0,0 and I can't figure out why. I'll strip down the code a bit and post it here later when I get home.
  13. Well, it turns out that the ToolTip I was using at location 0,0 was forcing the browser closed when I took it to another computer. I just moved the tool tip away from the upper-left corner and the problem is solved. Makes me feel stupid for not checking that first after days of scratching my head. I'm also wondering why it was closing the browser at work, but not at home....*shrugs* Anyway, problem solved.
  14. Oh nice...using this is so much easier on the eyes. I can actually look at code without straining my eyes. Thank you.
  15. Did you try scanning it with your virus software? I, personally, don't trust stuff that I haven't requested, but that's just me. After having to reformat due to nasty virus infections I've pretty much blacklisted any file from the internet that isn't from a credible source and even then I *always* scan them for virus' before I unzip/run them.
×
×
  • Create New...