Jump to content

seandisanti

Active Members
  • Posts

    2,900
  • Joined

  • Last visited

About seandisanti

  • Birthday 03/01/1980

Profile Information

  • Location
    Las Vegas
  • WWW
    http://seandisanti.com
  • Interests
    computers...

Recent Profile Visitors

849 profile views

seandisanti's Achievements

Universalist

Universalist (7/7)

6

Reputation

  1. Ok, if that's the case then you should be able to work with different instances, though you may not want to use Attach to get your handle. I would say to create each of your instances with _IECreate(), so you have separate handles right from the get go.
  2. You can definitely do this, as JLogan said, have a look at the control functions in the help file, as well as _Timer_Init, _Timer_Diff, WinWait, WinWaitActive functions
  3. have you tried logging in with two different accounts manually and seeing if that works? I suspect you're going to have trouble with that even if you're not doing it programatically.
  4. you could just set hotkeys for while the window in question is active, rather than manually casing out keyboard hooks. Look at hotkeyset and GUISetAccelerators as alternatives
  5. I'm sorry, I'm not really sure what you're asking. Are you getting an error with your code? What is it doing that it shouldn't be doing, or what do you need help with?
  6. Technically they shouldn't have the same ID, but that's fine. How do you know which one to click on while looking at the page? if you're really just going based on index, you can use IETagNameGetCollection() to return a collection of elements with that tag and then step through them until you find the one you're looking for.
  7. AutoIt and Assembly are different things. I would say learn AutoIT first, because there is a much smaller barrier to entry.
  8. You could do it with javascript or jquery too, fairly easily
  9. If the application is backgrounded, Accelerator wouldn't work would it?
  10. Do you have to work within the iframe? In a lot of cases you can just navigate to the src of the iframe directly
  11. It looks like the OP is looking to automate webpage interaction, rather than GUICtrls. Check out _IEFormElementGetObjByName
  12. Kornboy, re-read the original thread, the responses were enough for the OP to solve their issue. Everyone else, it's not that they actually need to send that many, they are trying to send a single click, but because bluestacks is difficult to work with, they're sending hundreds to get it to recognize one. If at first you don't succeed... try it 200 more times the same exact way, right?
  13. Also, WinActive right after WinGetHandle is not necessary, and is probably not doing what you think it is, as you're not using it as a check of anything.
  14. When you use control send, you need to specify the control to which you're sending. Also it's a good idea to check for success on WinGetHandle etc, and you can often use the wait functions (WinWaitActive, winWaitNotActive, etc) to avoid guessing at sleep durations.
×
×
  • Create New...