Jump to content

dainiusb

Active Members
  • Posts

    34
  • Joined

  • Last visited

dainiusb's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Yes. But now it started to work. I don't know what happened.
  2. So I'm trying to send a string of data to Arduino using CommMG UDF. It seems that Arduino is not receiving it. I used Device Monitoring Studio and it shows that the data is sent fine and looks exactly the same as if I sent it from Arduino Serial Monitor. Is CommMG compatible with USB? Global $CMPort = 9 Global $CmBoBaud = 9600 Global $sportSetError = '' Global $CmboDataBits = 8 Global $CmBoParity = "none" Global $CmBoStop = 1 Global $setflow = 2 _CommSetPort($CMPort, $sportSetError, $CmBoBaud, $CmboDataBits, $CmBoParity, $CmBoStop, $setflow) If @error Then MsgBox(16,"Error!","Can't connect to Arduino on port - "&$CMPort) Exit EndIf _CommSetRTS(0) _CommSetDTR(0) _CommSendString("x" & 128 & "y" & 256 & "e", 1)
  3. Ooh! Now I see it. Thank You.
  4. I don't understand how to do it. I see Eval and Assign as completely different things than I need. From examples I understand that Assign is used to assign data to a variable and eval finds out the value but how is this useful? I don't get how it works.
  5. it doesn't write because it writes right after execution of chrome. You can use Sleep(5000 or something) to give it enough time to start completely.
  6. Local $abc1 = 2 Local $abc2 = 3 Local $abc3 = 4 MsgBox(0, "", $abc & 2) Something like that. $abc + 2 = $abc2 Can this be done in AutoIt?
  7. YEES! Thank You soo much. I didn't know about this or any macros besides @error
  8. <snip> Not a good idea to offer help when a Mod is asking questions. M23
  9. I have never used it on AutoIt but curl seems like a good choice.
  10. Hello. So I've started experimenting with TCP packets and AutoIt. I'm using wireshark to see where and what is being sent from my scripts. The thing is, unlike when other programs are sending packets, each data string or whatever that is sent is on the same line. How do I do this in AutoIt? n does nothing :/ By the way, all I do is TCPSend one after another. Am I doing this correctly?
  11. The thing is that I can't think of a way to do this. Well I have one idea. Like split screen or area in chunks and scan them one after another but that's quite dumb because like if just a half of that icon appears in chunk then it won't get detected...And if it was some advanced detection then same image could be detected up to 4 times... Another crazy thought: let ImageSearch detect one of the images, then cover it somehow( ) and search for another bwahahaha ;D
  12. I've told already that I want to learn more(this is what I want to do), not just basic stuff and I'm asking this not to automate specific program but simply to learn more because I couldn't find anything like that on the forum and even google. If I wanted to find those files the way you told me(what if was controlling some computer remotely?), I could simply use any other programming language. And this is just an example...I don't expect them to be so but that's one of the examples that I could think of
  13. Oh I see. But these are pretty old and I've solved them myself already and completed that project the next day without problems. I'm no longer interested in game automation after I saw how crappy it was haha
  14. Firstly, by anything I meant any image. Secondly I don't know yet what my project is going to be because I'm just learning for the future at the moment but here's an example: So the goal is to count all those image icons and get their coords.
  15. upper-left pixel of that image? But whats the use of this? I don't think I'll be able to find more than 4 images. And it's pretty hard if images are randomly placed on screen.
×
×
  • Create New...