Jump to content

Thatsgreat2345

Active Members
  • Posts

    2,544
  • Joined

  • Last visited

Everything posted by Thatsgreat2345

  1. Then just use _IEDocReadHTML($oIE) to get the source of google or whatever page IE is currently on.
  2. http://msdn.microsoft.com/en-us/library/aa752094.aspx navOpenInNewWindow = 1 navNoHistory = 2 navNoReadFromCache = 4 navNoWriteToCache = 8 navAllowAutosearch = 16 navBrowserBar = 32 navHyperlink = 64 navEnforceRestricted = 128 navNewWindowsManaged = 256 navUntrustedForDownload = 512 navTrustedForActiveX = 1024 navOpenInNewTab = 2048 navOpenInBackgroundTab = 4096 navKeepWordWheelText = 8192 navVirtualTab = 16384 navBlockRedirectsXDomain = 32768 navOpenNewForegroundTab = 65536 Yes the 2048 means something special
  3. You can either use sleep to wait, or a timer as well, or a loop or hotkey to wait for a key to be pressed to then stop the key being pressed down.
  4. Oh god I want to flame you so badly, you are lucky I'm not going to. There is another obfuscator that Smoke_N made awhile ago however I do not believe it works anymore.
  5. Yeah because there is no frame on the google website named "iframe_test", what are you trying to do as getting iframe source doesn't look like what you want.
  6. Check out _IEPropertySet and the parameters width and height. At least from what you said I think that is what you want. You want to be able to move the window around to show you just the login form.
  7. I know exactly what I'm talking about, I'm calling you a lazy fvck that doesn't have any drive to learn but merely wants everything handed to him.
  8. I fail to see the point of this, you're making a random string and not actually having any sort of authentication thus this isn't a serial, it's just a pointless string.
  9. How about learn to use DLLs. He proposed a way and then you ignore it because you don't want to learn and now we should find new ways to help you because you're lazy.... give me a break
  10. That is because the login does ajax request to get the login page, but you can just use http://virtonomics.com/mary/main/user/login But in using IE Form functions you can use the name or just the index. Such as _IEFormGetObjByName which uses the name, or _IEFormGetCollection which use a 0 based index. So the first form on the page would be 0, the second would be 1, the third would be 2, so on and so forth. This works the same way with elements. EDIT: Plus I will only help you with the login, and not any automation of the game as I'm sure it is against game rules!!
  11. FileOpen should lock it, and you do not need to use any FileLock function to do so.
  12. Use the autoit window info tool which you can get the control, then use ControlGetText and there you go.
  13. With firefox you can get the Web Developer Extension. Then simple do Forms > View Form Information . Shows all the forms and elements including ids, names, and what not.
  14. #include <IE.au3> $oie = _IECreate('http://www.google.com') Sleep(100) $oforms = _IEFormGetCollection($oie,-1) For $oform In $oforms ConsoleWrite($oform.name & @CRLF); $oeles = _IEFormElementGetCollection($oform) For $oele In $oeles ConsoleWrite(@TAB & 'Name: ' & $oele.name & ' Tag Type: ' & $oele.tagName &@CRLF) Next Next A small demonstration
  15. Not that I recall, but the way to do that would be to get all the forms, get all elements under each form and from then on you could get all the properties of each of them, it would just really take about 2 loops.
  16. He means that you didn't show us any code so we can't help you at all because we can't figure out what the problem is without code.
  17. $sVal = StringRegExpReplace(@IPAddress1, "\d+\.\d+\.(\d+).+", "$1") MsgBox(0, "Test", @IpAddress1 & @CRLF & $sVal) What this does is matches the IP address with an expression which is \d+ so (1 or more numbers) then a . then again 1 or more numbers. Then the parentheses say what you want to do stuff with. In this case since there is only one set of parentheses , the 3rd parameter which the $1 says get whatever the first set of parentheses matches. And in this case it would be the 3rd part of the IP which you are looking to get. Example: 192.168.1.101 , would return just the 1. So If $sVal >= 10 Or $sVal <=20 Then ;Execute some code Endif Edit: Melba23 gave you the way to do it if you need all the numbers in the IP address, but still just a small explanation of the code that GEOSoft proposed.
  18. First off speak english, and according to google translation it seems like you're asking for help in turkish. But you never actually said what you need help with.
  19. No offense but there is most likely a much more efficient, and better way of doing this besides making your life easier to debug.
  20. I'm curious as to the point of having named variables like this?
  21. I'm actually really bad with regular expressions haha but no need to have to loop or anything #include <Array.au3> $output = FileRead('output.txt'); $reg = StringRegExp($output,'\((\d+)\sMB\)',3) _ArrayDisplay($reg)
  22. look online at examples for how to construct regular expressions, it takes a little while to get used to but trust me it is something you really need to learn and will come in handy in the future.
  23. Check the function StringRegExp in the help file.
  24. I just told you how, StringRegExp and StringRegExpReplace
  25. Theoretically you should be able to register WM_COMMAND and check for $BN_PUSHED but for some reason the msg is never sent and isn't working. So you may be stuck with using _GUICtrlButton_GetState , which will return the state of the button and can detect if it is being pushed down.
×
×
  • Create New...