Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/30/2017 in all areas

  1. water

    Script won't run.

    Welcome to AutoIt and the forum! Seems you missed to read the forum rules on your way in. Please do so now! Then you will understand why you won't get any help on this subject. Game automation of any kind is not permitted here! Hope to see you soon with a legitimate question
    2 points
  2. Jblz619

    smtp mailer by jos

    Hi there I have The smtp mailer by Jos working perfectly I wrote a user friendly GUI for it and everything. Just one question can you send signatures at the bottom of the email through the smtp. I assume maybe clipboard put and clipboard get to copy and paste the email into the body of the script email. Idk please help. Maybe use html idk im looking every where and can't find any awnsers. Maybe if I get the full html code for the email signature save it to a txt file. And then use file read and put it at the bottom of the email body? I will test it and let you guys know.
    1 point
  3. ControlClick() is to click on controls ( no surprise there I guess). The x/y option is relative to the control clicked. Now having said all of this: What in the hell are you trying to do here that makes any sense using this complex mouse clicking other than automating a Game? Seriously.... don't come back with Notepad or Paint because that won't be good enough. Jos
    1 point
  4. Danp2

    FF.au3 (V0.6.0.1b-10)

    Not currently. One possible replacement for MozRepl would be Marionette, but I haven't done anything with it as of yet.
    1 point
  5. Just run this script and see the difference AutoItSetOption("MouseCoordMode",0) $ph=Run("Notepad.exe") Sleep(500) $aPos= WinGetPos("[ACTIVE]") ConsoleWrite("X-Pos: " & $aPos[0] & " Y-Pos: " & $aPos[1] & " Width: " & $aPos[2] & " Height: " & $aPos[3] & @CRLF) MouseMove(0,0) MsgBox(0,"MouseCoordMode 0","Pos (0,0)") AutoItSetOption("MouseCoordMode",2) MouseMove(0,0) MsgBox(0,"MouseCoordMode 2","Pos (0,0)") ProcessClose($ph) Jos
    1 point
  6. Maybe: https://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm#MouseCoordMode Jos
    1 point
  7. Where are you waiting? There is NO Func called at all! Jos
    1 point
  8. jchd

    Sqlite3 Select questions

    @Earthshine is perfectly right. Always retrieve the only columns you need and if you do require them all, then list them explicitely in the order that best fits processing in your programming language. Why? Simply because if ever you need to reorder, add or remove some column(s) in a table, then all your applications using this table will need rewrite, testing, release, along with a way to cope with old and new designs (think upgrade and backups). Also, double quotes are used in SQL for schema names (databases, tables, views, indices, columns, aliases), while single quotes are used to enclose string values.
    1 point
  9. Forumrules link is in my sig and what are you expecting to work for the emulator? - no need to answer as it is pretty clear this is for a game... so please read those rules now. Jos
    1 point
  10. Jos

    smtp mailer by jos

    Isn't that simply a matter of concatenating the footer (html) text to the provided Body text? Jos
    1 point
  11. jesus40

    Get data from json

    thanks master, it worx like a charm +++++
    1 point
  12. Jos

    Get data from json

    This should be close: #include <Inet.au3> #include <json.au3> $URL = "https://api.abucoins.com/products/stats" $data = _INetGetSource($URL) $object = json_decode($data) Local $i = 0 While 1 $product_id = json_get($object, '[' & $i & '].product_id') If @error Then ExitLoop If $product_id = "ETH-BTC" Then $volume_USD = json_get($object, '[' & $i & '].volume_USD') ConsoleWrite('$volume_USD = ' & $volume_USD & @CRLF ) ;### Debug Console EndIf $i += 1 WEnd Jos
    1 point
  13. What the actual what dude, you are a wizard! I didn't even know that anything like that is possible with AutoIt. Great job!
    1 point
  14. Ward

    LZMA Compression UDF

    How to compress data in memory? The simplest way is to use the Native API Compression by trancexx. Here provides another way, using LZMA algorithm. LZMA is the default method of 7z format, provides a high compression ratio and very fast decompression. In this UDF, embedded and external DLL are both supported. If "LZMA.DLL.AU3" (embedded binary) is not included in scripts, a external LZMA.DLL must exists. You can use external DLL if MemoryDll is not work for you. Some tips: Both LzmaEnc and LzmaDec only accept binary arguments. To compress string, StringToBinary and BinaryToString can help.LzmaEnc can accept an extra argument, the comression level, from 1 to 9. For example: LzmaEnc($Binary, 9)More settings are support by LzmaEncSetting, please see LZMA SDK.This UDF is not for file compression. To compress files, 7-ZIP UDF is the better choiceExample: #include "LZMA.AU3" #include "LZMA.DLL.AU3" Local $Source = Binary("LZMALZMALZMALZMALZMALZMALZMALZMALZMALZMA") Local $Compressed = LzmaEnc($Source) Local $Decompressed = LzmaDec($Compressed) LZMA.zip
    1 point
×
×
  • Create New...