Leaderboard
Popular Content
Showing content with the highest reputation on 07/09/2015 in all areas
-
8 points
-
2 points
-
AutoIt v3.3.13.21 Beta View File 3.3.13.21 (July 8th, 2015) (Beta) AutoIt: Added: @OSVersion supports Windows 10 and Windows Server 2016.Added: GUICtrlCreatePic() with PNG example.Added: Constants for native Functions in AutoItConstants.au3.Added #3012: GUISetFont() default value doc.Fixed #3028: GUICtrlCreateCombo() doc formatting.Fixed #3040: Int() doc typos.Fixed #3042: Number() doc clarifications.Fixed #3041: AutoItWinGetTitle() doc example typos.Fixed #3039: AutoItWinSetTitle() doc example typos.Fixed #3057: StringSplit() Return Value if $STR_NOCOUNT doc.Fixed #2901: Memory error when specifying a UTF file mode that includes a BOM when no BOM is present.UDFs: Changed: _ArrayTranspose() algorithm.Changed: _SQLite 3.8.8.1 -> 3.8.10.0.Added: _GDIPlus_ImageGetDimension().Added: _GDIPlus_BitmapCreateDIBFromBitmap() can be used to allow .PNG in GUICtrlCreatePic().Added: _GDIPlus_ImageGetThumbnail().Added #3034: _Timer_SetTimer() doc example.Fixed #3011: _FileListToArrayRec() not closing the open handle.Fixed: _Word_DocFind(), _Word_DocFindReplace() and _Word_DocPrint() did not set @extended to the COM error code.Fixed #3018: _GDIPlus_EffectCreateHueSaturationLightness () doc and _GDIPlus_BitmapApplyEffect() crash.Fixed #3038: _Timer_SetTimer() callback function parameters.Fixed #3037: _RunDOS() waits for command completion.Fixed #3055: Bad link in _WinAPI_IOCTL() doc.Fixed #3052: _ArraySort() doc clarification for 2D .Fixed #3059: Miscelaneous => Miscellaneous in Help : Typos.Others: Added: lang-autoit.js code highlighting file for Google Prettify. See the Extras\Prettify folder.Added: lang-autoit.js supports multiline comments. Submitter Jon Submitted 07/08/2015 Category Beta1 point
-
I have a UDF for a progressbar and gui that you should be able to easily modify. See the link in my signature.1 point
-
Reaching out to Melba32
tweakster2010 reacted to iamtheky for a topic
booo dont apologize, If we can provoke Melba to make one last strafing run to resume the collection of taxes, therein lies the power of the forum.1 point -
If you want this to not close the script (IE sleep) try using exitloop instead of exit.1 point
-
I don't actually see a window called "MetaTrader" as in: WinActivate("MetaTrader")Semi-related: it may be that when you use Send($sNewOffset)you may be losing focus on the window so the rest of the commands don't work. You could try two things: (i) after that send you could winactivate with the title you need to regain focus (assuming that is what is wrong - which it may not be - just a guess - this would be easy to try - you may even see it happen when the script is running) and / or (ii) you could use Au3Info to get more information about the specific control you are trying to set and then use ControlSend or ControlCommand to set it - which target the control instead of sending more generic keystrokes (is the control for $sNewOffset a text field, drop down, ... what is it - can you show that specifically?).1 point
-
Should .. $tag.innerText = $sCurrentBalanceBe.. $sCurrentBalance = $tag.innerText1 point
-
No, don't use it. To be honest though, this is not really the place for secret projects, it defeats the main purpose of the forum. If you cannot provide some sort of actual reproducing code, there isn't much that can be done. Doesn't have to be your super secret project just a demonstration of it.1 point
-
Powerful HTTP Server in Pure AutoIt
minxomat reacted to jvanegmond for a topic
Thanks very much minx. I didn't focus too much on malicious clients since it seems like fighting a losing battle. However, your contribution to improve this is very much appreciated and I will definitely put it in the next version.1 point -
SciTE Customization GUI -- [03/04/2017]
argumentum reacted to jaberwacky for a topic
My pleasure. Thanks for using SCG! I will look into the user includes issue. The SciTE thing though, did SCG cause that? If not then that's outside of my realm. Thanks for the report and for using SCG! Edit, I think I see the issue. The tooltip stays in place and doesn't disappear to allow the variable list to display. I've noticed that, but I'm not sure if it's something with SciTE, SciTE4AutoIt3, or with the way SCG sets some SciTE property.1 point -
Hi using your function it seems that on my system it does not return any obj here is how I would do (debug line I've added at bottom of your function prints a 0, that means $oElement is not an object ) : #include <ie.au3> Local $obj, $style_save, $oie $oie = _IECreate("www.google.com") ; open a simple page to try While 1 $obj = _Capturar($oie) $style_save = $obj.style.border ; save previous border if any For $x = 1 To 5 ; flash the red border $obj.style.setAttribute('border', '5px solid red') ; drraw a red border Sleep(100) $obj.style.setAttribute('border', $style_save) ; restore original border Next WEnd Func _Capturar($oie) Local $doc = _IEDocGetObj($oie) If @error Then ConsoleWrite("Error>" & @CRLF) Exit (1) Else Local $aPos = MouseGetPos() ; position the mouse on the screen Local $evt = $doc.createEventObject() ; position the event Local $sl = $doc.body.scrollLeft Local $st = $doc.body.scrollTop Local $x = $aPos[0] - $oie.document.parentwindow.screenLeft ; get the element in the mouse position Local $y = $aPos[1] - $oie.document.parentwindow.screenTop Local $oElement = $doc.elementFromPoint($x, $y) ConsoleWrite("Debug: IsObj -> " & IsObj($oElement) & @CRLF) Return $oElement EndIf EndFunc ;==>_Capturar1 point
-
SciTE Customization GUI -- [03/04/2017]
argumentum reacted to UEZ for a topic
SciTE4AutoIt3 tab -> AutoIt3 Directory Settings: when I click the "Select" button for "User Includes" and press cancel it clears the list. Further on restart the combo box is empty. In the previous SciTE version it was possible for autocomplete function to show the all used variables when adding a function parameter. E.g.when I type GUICtrlCreatePic( it shows me the parameters for that function but when I start typing the 1st parameter starting with $ I don't get the variable list displayed. I've to press the ESC key to remove the function description and get the variables listed. Thanks.1 point -
1 point
-
Powerful HTTP Server in Pure AutoIt
jvanegmond reacted to minxomat for a topic
I solved it, my local network policy blocked the requests I fixed a Bug btw: If there is a packet flood from a client who's trying to take you down, the send function will glitch out and loop indefinitely. To prevent this, we have to check that TCPSend actually sent any bytes, if not cut off the client: Func _HTTP_SendData($hSocket, $bData, $sMimeType, $sReply = "200 OK") $sPacket = Binary("HTTP/1.1 " & $sReply & @CRLF & _ "Server: " & $sServerName & @CRLF & _ "Connection: close" & @CRLF & _ "Content-Lenght: " & BinaryLen($bData) & @CRLF & _ "Content-Type: " & $sMimeType & @CRLF & _ @CRLF) TCPSend($hSocket, $sPacket) ; Send start of packet ConsoleWrite("# [HTML] Sent header." & @LF) Local $iLastData = -1 ; buffer to check packet flood While BinaryLen($bData) ; Send data in chunks (most code by Larry) $a = TCPSend($hSocket, $bData) ; TCPSend returns the number of bytes sent $bData = BinaryMid($bData, $a + 1, BinaryLen($bData) - $a) If BinaryLen($bData) = $iLastData And $iLastData >= 0 Then ExitLoop $iLastData = BinaryLen($bData) WEnd If Not $iLastData Then $sPacket = Binary(@CRLF & @CRLF) ; Finish the packet TCPSend($hSocket, $sPacket) ConsoleWrite("# [HTML] Sent everything" & @LF) EndIf TCPCloseSocket($hSocket) ConsoleWrite("# [HTML] Closed connection." & @LF) EndFunc ;==>_HTTP_SendData1 point