Jump to content

jameelo25

Active Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by jameelo25

  1. Thank you so much!! It's working now, moving it to the top actually fixed it! Thanks again!
  2. HotKeySet("{^}", "_switchnumb") sleep(100) WEnd #include<ScreenCapture.au3> func _switchnumb() WinActivate("MEmu1") MouseClick("left", 1434, 317) ;free button MouseClick("left", 1187, 162) ;state Select MouseClick("left", 1456, 366) ;delaware MouseClick("left", 1450, 791) ;ok MouseClick("left", 1174, 202) ;select area code MouseClick("left", 1457, 433) ;area code MouseClick("left", 1453, 472) ;ok MouseClick("left", 1240, 246) ;get a custom number MouseClick("left", 1448, 484) ;ok sleep(5000) send("^4") sleep(2000) WinActivate("Chrome") _ScreenCapture_Capture(@ScriptDir&'\test.jpg', 1234, 432, 1327, 446 ) EndFunc Here
  3. It's 3.3.14.5, didn't know that, really sorry.
  4. func _xxxxxx    WinActivate(xxxxx)    MouseClick(xx)    sleep(5000)    send("xx")    _ScreenCapture_Capture(@ScriptDir&'\test.jpg',1238, 432, 1328, 447)    EndFunc The #include got moved to the top of the script, I still get the same error : "C:\Program Files (x86)\AutoIt3\Include\ScreenCapture.au3" (60) : ==> Variable used without being declared.: _WinAPI_BitBlt($hCDC, 0, 0, $iW, $iH, $hDDC, $iLeft, $iTop, $__SCREENCAPTURECONSTANT_SRCCOPY) _WinAPI_BitBlt($hCDC, 0, 0, $iW, $iH, $hDDC, $iLeft, $iTop, ^ ERROR
  5. I did remove it from my function actually, I put it on top of the script
  6. Sorry! Here it is "C:\Program Files (x86)\AutoIt3\Include\ScreenCapture.au3" (60) : ==> Variable used without being declared.: _WinAPI_BitBlt($hCDC, 0, 0, $iW, $iH, $hDDC, $iLeft, $iTop, $__SCREENCAPTURECONSTANT_SRCCOPY) _WinAPI_BitBlt($hCDC, 0, 0, $iW, $iH, $hDDC, $iLeft, $iTop, ^ ERROR It's the same script above but I added the &
  7. Yeah, I discovered that right now, but the problem is im still getting a different error now, it says that the variable is mentioned without it being declared
  8. So this is a part of my script : func _xxxxxx WinActivate(xxxxx) MouseClick(xx) sleep(5000) send("xx") #include<ScreenCapture.au3> _ScreenCapture_Capture(@ScriptDir'\test.jpg',1238, 432, 1328, 447) EndFunc Whenever I write this code, I get an error from autoit saying : _ScreenCapture_Capture(@ScriptDir'\test.jpg',1238, 432, 1328, 447) _ScreenCapture_Capture(^ ERROR Anyone knows how to fix that?
  9. @xCROv It's for me to get a number from the chat, increase it by 1, and type it in the chat bar. (its a counting up challenge)
  10. @Danp2 This thread is about a different function I need in AutoIt than my previous one, here's the code : WinActivate("Discord") MouseClick("left", 404, 702) ;clicking on the previous text MouseClick("left", 404, 702) ; double clicking to select all of it send("^c") ;copying it MouseClick("left", 526, 782) ;clicking on the chat bar Global $count = 0 Send("^v" & $count) ;pasting it and inserting the count in the chat bar $count += 1 ;adding 1 to $count ; i need to figure out how to ctrl v then add 1 to the number
  11. I want to automate the process of : Pasting a number i have in my clipboard into my notepad, and then increasing it by 1 using the $count function can anyone show me how to do that? Any help would be very greatly appreciated from you guys
  12. thanks, i'll try that @JLogan3o13
  13. Hey everyone , I want to make a "While" or loop in Autoit where the program counts up numbers automatically in my notepad, starting from the number 5000. So I want it to write this every 2 seconds automatically : 5001 2 secs 5002 2 secs 5003 I don't really know how to do this without writing " send("5003") ", then "send("5004") " then "send(5005)" every single time, any help would be greatly appreciated
  14. To automate things that they have to do on a regular basis.
  15. @JLogan3o13 the thing is , i'm looking for the feature that automates this, that does this automatically and non stop in every x minutes
  16. @JLogan3o13 Nope, I saw the TOS and the limit is every 30 minutes, so I won't really be spamming and its not against the rules
  17. I want to make the Autoit program type some text in a discord server that I am a part of automatically , like every x minutes or every x hours, how can I do that? My code would be like this : WinActivate("Discord") sleep(2500) MouseClick("left",500, 770) Sleep(1800000) send("hai people ") send("{enter}") (the 1800000 seconds mean 30 minutes) So how can I make the text get typed automatically by autoit every 30 minutes?
×
×
  • Create New...