Jump to content

tsolrm

Active Members
  • Posts

    145
  • Joined

  • Last visited

tsolrm's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. thank you
  2. Not an option
  3. HotKeySet ("{b}", "BlastC") Func BlastC() Send ("qwerb") EndFunc Because the Send contains 'b' in it - this sends this into an endless loop of sending qwerbqwerbqwerbqwerbqwerb etc I've tried ispressed If _IsPressed("42", $hDLL) Then Send ("qwerb") Do Sleep (10) Until _IsPressed("42", $hDLL) = 0 EndIf This doesn't do the endless loop but outputs bqwerb instead of qwerb. Anyway around this problem please?
  4. Great, thank you!
  5. Also a quick question, i need to find out how many times a string repeats itself within a string. What i've done is - I used StringInStr and once an occurrence is found - it is replaced and the process is repeated until nothing is found. However the string is pretty big so it takes a long time. Any shortcuts?
  6. thank you very much!
  7. these have always confused me $friends = StringRegExp ($friends, "<steamid></steamid>", 1) this is all i have
  8. i have a block of text where the numbers i need are between <steamid>number</steamid> is there a quick way to extract these into an array?
  9. I don't think u understood me. This function is for GUI controls
  10. Is it possible to do the following in AutoIt. I'm making a simple uploader When I rightclick on any image, I want there do be an extra option which would say something like "Upload this to www...." and when it's clicked, the image is uploaded and a link is recieved.
  11. Trying to upload a screenshot to http://fastpic.ru/ So far there is no error but nothing gets returned from the site ($sRead = "") Help please? $sURL = "fastpic.ru" $hOpen = _WinHttpOpen() $hConnect = _WinHttpConnect($hOpen, $sURL) $sRead = _WinHttpSimpleFormFill($hConnect, Default, Default, _ "name:uploading", "1", _ "name:file[]", @ScriptDir&"\screens\"&$picture, _ "name:submit", "Загрузить") ConsoleWrite (@error) ConsoleWrite ($sRead) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) FileWrite ("text.txt",$sRead) exit
  12. I don't know what to do. after the input box is created i've added this code GUICtrlSetData ($Offender [$tabs], "test") $texttest = GUICtrlRead($Offender[$tabs]) ConsoleWrite (@CRLF&$Offender [$tabs]&@CRLF&$texttest) In the console it shows 12 test Now without touching anything else $texttest = GUICtrlRead($Offender[$index]) ConsoleWrite (@CRLF&$Offender[$index]) ConsoleWrite (@CRLF&$texttest&@CRLF&$texttest2) this gives 12 0 I must be missing something. This is driving me nuts
  13. Well I am sorry for the attitude but this is not the first time people send me to read forum rules. I've read them believe me. Can some one help me on the subject?
  14. I've tried creating 3-4 tabs. $Offender[$index] and $ScreenName[$index] returns 0 for all. Even though the actual array $Offender exists and holds the numbers of the controls and $index returns a valid index for the tab
  15. My god people, why are u so paranoid. This has nothing to do with game automation, in fact i don't see how u could possibly automate Warcraft 3. How exactly capturing a screen shot automates the game?
×
×
  • Create New...