Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/08/2015 in all areas

  1. Ward

    MessagePack UDF

    Introduction "MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller." (by http://msgpack.org/). There are already so many languages support MessagePack format, here comes AutoIt version. The backend coder is Charlie Gunyon's cmp. It supported MessagePack proposal v5. This UDF only have two public functions: MsgPack_Pack() and MsgPack_Unpack(). It just like Json_Enocde() and Json_Decode() in my ?do=embed' frameborder='0' data-embedContent>>JSON UDF. The Map type will be decoded into "Windows Scripting Dictionary Object" retuned from ObjCreate("Scripting.Dictionary"). So I suggest using Json.au3 to deal with the Map/Object data type. The main difference is MessagePack support Binary format, but Json not. For example (?do=embed' frameborder='0' data-embedContent>>Json.au3 is required to run this example): Local $Obj1 Json_Put($Obj1, ".binary", Binary("0x00")) Json_Put($Obj1, ".string", "abc") Json_Put($Obj1, ".int", Random(0, 1000, 1)) Json_Put($Obj1, ".float", Random()) Json_Put($Obj1, ".bool", True) Json_Put($Obj1, ".null", Null) Local $Binary = MsgPack_Pack($Obj1) Local $Obj2 = MsgPack_Unpack($Binary) ConsoleWrite("Test2 $Obj1.binary is " & VarGetType(Json_Get($Obj2, ".binary")) & @LF) ; "Binary" In my opinion, for human readable data storing or exchanging, of course choose Json. Otherwise, especially to exchange data on the internet, MessagePack may be a better choice. MsgPack.zip
    1 point
  2. wakillon

    Transparent Rolling Text

    A transparent rolling text example with GDI Font and background picture are embedded in script. TransparentRollingText.au3
    1 point
  3. Here a version of a splash text variant using GDI+. Requires AutoIt v3.3.12.0 or higher! Source code download: UDF: _SplashTextEx.au3 (previous downloads: 135) Example: Example1.au3 (previous downloads: 127) Might be useful for someone... Please report any bugs.
    1 point
  4. ​I take that back. @JPM modified the current beta au3check and it now does support UTF8 with BOM, it only gives a confusing message that probably should be suppressed: Jos
    1 point
  5. Local $oElements = _IETagNameGetCollection($oIE, "div") For $oElement In $oElements if $oElement.classname=="group_actions_btn" then _IEAction ($oElement, "click") EndIf ;ConsoleWrite ( $oElement.classname & @CRLF) next Try this way. If it wont work, you should understand whether it is finding the elements at all. To do that you should uncomment line with consolewrite and in your console you will see the elements which are found, then try to click those found elements instead of "group_actions_btn"
    1 point
  6. Did you try: $oForm = _IEFormGetObjByName($oIE, 'loginFormBean') _IEFormSubmit($oForm)If that doesn't work, then this should: _IELinkClickByText ($oIE, "sign in")
    1 point
  7. Jon

    Forum Upgrade Status

    Forum upgraded to 4.0.4 Release Notes
    1 point
  8. Jos

    OR statement not working

    This doesn't look right: $Date > "10" What is the exact content of date and you are doing a greater than test with the String 10! When it contains a proper date value you could compare it to another date value with DateDiff() or something. Jos
    1 point
  9. ​You actually can but agree this is nicer/easier... Will be part of the next Beta version. Thanks Jos
    1 point
  10. wakillon

    Chiptunes Players

    ​Look at woolyss.com and modarchive.org
    1 point
  11. Melba23

    "PM someone else"

    Hi, There have been a few threads recently where it has been suggested that members PM other, more experienced, members directly for help. Although we appreciate that this has usually been intended as a joke, this is not a good thing to see and is indeed specifically prohibited in the Forum rules. Anyone doing this in the near future is likely to find that sanctions are imposed, so please resist the temptation. Thanks for your cooperation. M23
    1 point
  12. Jewtus, Not me - AutoIt itself. M23
    1 point
×
×
  • Create New...