Leaderboard
Popular Content
Showing content with the highest reputation on 01/26/2015 in all areas
-
XvidCapture Demo capturing made easy, into avi video file with stereo sound
coffeeturtle and 2 others reacted to wakillon for a topic
XvidCapture, demo capturing made easy, into avi video file with stereo sound. Script use XvidCapture.dll made for freebasic by D.J.Peters Major defects : The frame rate need to be limited due to the time for write datas (80-130 ms by frame with a 1920x1080 screen size and a 640x480 video size). The dll support only uncompressed wav audio format (do not work with mp3) The quality setting doesn't seem to change anything. Tested with AutoIt 3.3.8.1 on WinXP SP3 and AutoIt 3.3.12.0 on Win7/Win8.1 On my netbook using XP, i need to set fps to 5 with 320x240 ! On my Destop PC using W7 or W8.1 , i need to set fps to 7 with 854x480 ! So don't expect a video in high-definition with dolby surround from a little dll of 153 ko ! If FPS can be respected by the script, the audio and video can be synchronized, so adjust settings depending on the config of your pc. As usual externals files are embedded in script. Thanks to Smashly for his wave functions and also UEZ, Authenticity, Eukalyptus and jpm for the new GDIPLUS functions. source for 3.3.12.0 : XvidCapture v1.0.1.6.au3.html source for previous versions : XvidCapture v1.0.1.6 PreviousAutoItVersions.au3.html executable : XvidCapture.exe.html3 points -
And another one. Local $sText = "here is the link http://www.my-li-nk.com and another http://www.his-li-nk.com that should stay as is, and here are-the-dashes-that-need-to-be replaced with spaces" Local $sStr = '"' & StringRegExpReplace($sText, "([\w.,/:]+(?:\-[\w.,/:-]+))", '" & (StringRegExp("${1}","^http") ? "${1}" : (StringRegExpReplace("${1}","-"," "))) & "') & '"' ;ConsoleWrite($sStr & @LF) ConsoleWrite(Execute($sStr) & @LF)2 points
-
GuiBuilderNxt - Reboot [08/18/2016]
jaberwacky and one other reacted to guinness for a topic
jaberwacky, Well written and good use of AutoIt constants, well done. I might actually consider giving you a hand during my free time if you don't mind? (No guarantees though) Edit: Spelling2 points -
AutoIt GUI Creators (Designers)
nguyentoannta3 reacted to TheSaint for a topic
As many of you may not be aware, of much about AutoIt's humble beginnings, and aspects related to the first GUI version of AutoIt, I thought it might be nice to create a historical reference here for all the many GUI creators that have been created by various people over the years. NOTE - While one could argue, that this topic might be better placed in one of the Chat forums, I would argue, that it links to heaps of good code. While much may be redundant in that code, it is still interesting and forms a great perspective. Many are bound to find useful elements at the very least. Koda, is no doubt the most well-known GUI creator now, but there was a time, when CyberSlug's legendary GUIBuilder (first known as AutoBuilder) ruled the roost, and AutoIt coder's saw it as a Godsend. AutoIt coding was much simpler back then of course. Below, will be a timeline, of any AutoIt GUI creators listed in forum pages. It will be added to by myself as I find them or as others here find them and place a link in a subsequent post ... PLEASE HELP! Comments welcome too. (Also note, that this is also intended to include updates, branches etc by others) Apr 20 2004 - AutoBuilder by CyberSlug. Sep 27 2004 - An interesting topic, where CyberSlug talks about the future of AutoBuilder (etc) and renaming to GUIBuilder and you see the first mentions and links to updates by others (including myself & livewire). Nov 05 2004 - A topic where lookfar is working on a SciTE replacement, talks about starting a Form Designer. Aug 10 2005 - GuiBuilder first update by TheSaint. Sep 26 2005 - GUIBuilder updates by livewire (he also talks about transferring his efforts to Koda). Nov 02 2005 - KODA FormDesigner v1.3 by lookfar Nov 03 2005 - Seemingly interesting topic about forms by tonedeaf Dec 26 2005 - AutoIt Studio(beta) by BillLuvsU Jan 09 2006 - AutoBuilder update (or branch) by _^__darkbytez (livewire also posts). Feb 19 2006 - Koda v1.5 by lookfar Sep 07 2006 - Koda v1.7.3.0 by Lazycat Jan 07 2007 - Form/GUI Builder by FlintBrenick Jun 10 2007 - Gorganizer by _Kurt (more of an assister than actual GUI maker) Jun 27 2007 - Basic GUI Designer by Mast3rpyr0 May 03 2008 - Autoit Programmer's Desktop (APD) by Ealric Jul 11 2008 - Gui Designer by Alek Aug 11 2008 - Gorganizer update by _Kurt Jun 19 2009 - Easy GUI by Mat Aug 13 2009 - GUI Script Creator by Pandemic (not sure this qualifies, but it made me think of templates) Aug 16 2010 - Creation Gui by AZJIO Jan 22 2012 - ISN AutoIt Studio by ISI360 (includes ISN Form Studio 2, a GUI editor) Mar 19 2012 - Arduino GUI Programmer by nikosliapis (creates a specific type of GUI) Aug 01 2012 - GuiBuilder Resurrected update/branch to GUIBuilder by baroquebob Dec 01 2012 - Form Builder beta (v1.0.6) by BuckMaster Jan 12 2015 - GUIBuilderNxt update by jaberwacky of GUIBuilder v0.8 (as a new prototype, modified to work with latest AutoIt) (not a update to the Resurrected version) Aug 12 2016 - The GuiBuilder Return by DFerrato as an update to GUIBuilder, Jan 17 2017 - GUIBuilder Project by TheSaint (a work in progress based on CyberSlug's original ... and later versions, updated by Roy, TheSaint & others). May 29 2019 - The GuiBuilder Return by DFerrato as an update to GUIBuilder, His new and improved version. May 9 2022 - GuiBuilderPlus by kurtykurtyboy as an update to GUIBuilder. A new an improved version with more to come. There are a significant number of creators/designers that have been started and never completed. +++++ STILL UNDER CONSTRUCTION +++++ P.S. Well that's it from me tonight. I know of at least one other major creator, but cannot recall it's name or the name of the coder, though I think it starts with 'L'. Bound to be a few I've missed, and some I cannot seem to find their first appearance here (Koda, Form Builder, etc), but there may be an obvious reason for that. Will probably rely on feedback from others now that I've got the ball rolling. NOTE - If anyone wants to discuss any of these programs above or give some background history, then by all means do so. I will cross-reference (link to) any important comments.1 point -
LAST VERSION - 1.0 25-Jan-15 This is my way to use the API ReadDirectoryChangesW in AutoIt. The problem is that to use this function will not work fully without creating thread. To solve this problem, I wrote the simple DLL that provides work with threads. As a result, the AutoIt script only receives and processes the appropriate data from thread. To evaluate all features of the library, please see the full example with GUI for monitoring directories. For more information, see description for each function within the library. The following are the main features of the RDC UDF library. Creating multiple threads (unlimited) for monitoring different directories.Support for hot (unsafe) unplugging of removable devices such as USB flash drive, etc.Support for network drives.Support for 32- and 64-bit processes (RDC.dll and RDC_x64.dll).Easy to use functions from the library.Full examples, including GUI. Available functions RDC UDF Library v1.0 (x86 and x64) Previous downloads: 17 RDC.zip Examples Simple (Notification mode) Advanced GUI1 point
-
After using >SciTE Hopper by Ashalshaikh (with the 2nd version by wakillon) & Melba23 posting >his version, I felt it would be a great learning curve to develop a similar application. The code was re-written with emphasis entirely on speed. I didn't want to make the GUI flashy as personally I prefer performance with addons, plus I developed this for my own use, so I wanted something that would aid the help of creating code, instead of hindering it. I would like to extend a big thank you to Ashalshaikh, wakillon & Melba23, especially Melba23 because his ideas and input really helped me to learn a great deal about interacting with SciTE & AutoIt. The code is released under GPLv3 and supports multiple languages. Download: http://softwarespot.wordpress.com/code/scite-jump/1 point
-
SmOke_N's way can be something like this : #Include <Array.au3> ; just for _ArrayDisplay $text = "here is the link http://www.my-li-nk.com that should stay as is, and here are-the-dashes-that-need-to-be replaced with spaces." ; Extract all links $aLinks = StringRegExp($text, "(?i)(\b(?:https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])", 3) _ArrayDisplay($aLinks, "All links") ; Replace all links by a mark : <link{x}> For $i = 0 To UBound($aLinks) - 1 $text = StringReplace($text, $aLinks[$i], "<link{" & $i & "}>", 1) Next ConsoleWrite($text & @CRLF) ; replace all dashes between two words by a blank $text = StringRegExpReplace($text, "(?<=\w)-(\w+)", " $1") ConsoleWrite($text & @CRLF) ; Replace each mark by its variable name $text = StringReplace($text, '"', '""') $text = StringRegExpReplace('"' & $text & '"', "<link\{(\d+)\}>", '" & \$aLinks[$1] & "') ConsoleWrite($text & @CRLF) ; Replace each variable by its value $text = Execute($text) ConsoleWrite($text & @CRLF)1 point
-
EKY32. How about this: $sFiller = "###" $sText = "here is the link http://www.my-li-nk.com that should stay as is, and here are-the-dashes-that-need-to-be replaced with spaces" ; Extract the link $sExtract = StringRegExpReplace($sText, "^.*(http\S*)\s.*$", "$1") ; Replace the link by the filler, get rid of the dashes and then replace the link $sNewText = StringReplace(StringReplace(StringReplace($sText, $sExtract, $sFiller), "-", " "), $sFiller, $sExtract) ConsoleWrite($sNewText & @CRLF) M231 point
-
1. get an array of urls with regex 2. replace urls with unique strings that also represent the index of the url in your array 3. replace all the characters you need to 4. replace the unique strings with the array of urls based on index1 point
-
$split = stringsplit( $string, ".com") Stringreplace($split[0], "-", " ") for $x = 1 to $split[0] -1 $newstring &= $spli[$x] next msgbox(0,0,$newstring) --------------------------------------------- written on screen... not testd... but you gat the idea 8)1 point
-
XvidCapture Demo capturing made easy, into avi video file with stereo sound
mesale0077 reacted to wakillon for a topic
GUISetState ( @SW_HIDE, $hGui ) is already in the _RecordStart function You need to add a sleep because you see the GUI on the recorded video? Strange, from my side I never saw it at the beginning of the recording...1 point -
Did you try just copy and pasting? Func _replaceURLWithHTMLLinks($sText) Local Const $sExp = "(?i)(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])" Return StringRegExpReplace($sText, $sExp, "<a href='$1'>$1</a>") EndFunc Edit: Although, I'd probably have changed it up a bit, something like: ConsoleWrite(_replaceURLWithHTMLLinks("http://www.autoitscript.com/forum/topic/167033-replace-plain-urls-with-links/") & @CRLF) ConsoleWrite(_replaceURLWithHTMLLinks("http://www.autoitscript.com/forum/topic/167033-replace-plain-urls-with-links/", "Click Me") & @CRLF) Func _replaceURLWithHTMLLinks($sURL, $sOutText = "") $sOutText = ((IsKeyword($sOutText) Or Not StringLen($sOutText)) ? "$1" : _ StringRegExpReplace($sOutText, "(\$|\\)", "\\$1")) Local Const $sExp = "(?i)(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])" Return StringRegExpReplace($sURL, $sExp, "<a href='$1'>" & $sOutText & "</a>") EndFunc1 point
-
Sorry i have forgotten to mention on the first post, but license is indicated in the script. License : GNU Library or Lesser General Public License version 3.0 (LGPLv3)1 point
-
Sept 2013 - >_GUIDisable UDF by guinness1 point
-
OO_JSON.UDF, JSON/path, OO, using javascript in Auto IT
Turtleshell82 reacted to ozmike for a topic
Ok the new IE free version (v7) is up ..it has got the works..! Jsonpath + array add and delete , object type checking. See example file.1 point -
Try using the Word UDF in the help file for Word.1 point
-
ControlGetText1 point
-
GuiBuilderNxt - Reboot [08/18/2016]
TheSaint reacted to jaberwacky for a topic
Alright. Latest update is here, finally. It has taken all freakin' day just to get this far. Ok, changelog, let me see if I can remember everything. 1) Right click context menus to access the properties of a control. Future update will see more control properties with the ability to choose a style, exStyle, size in pixels (or whatever), location, hidden, visible, ontop, etc. Same for the form background. 2) Um, .... I know there is something. Oh, rearranged the toolbar menu again. 3) Added an option to wipe the gui clear to the Edit menu. 4) General code structure, bug fixes, efficiency increases, etc. attachment=46051:GUIBuilderNxt.zip dl: 32 Edit: A few minor issues which I will try to iron out soon. Ok, believe I've taken care of these issues now. Future plans: 1) Select and move multiple controls at once. Double click a group control to move (and maybe resize) the controls contained therein. 2) Something else I got on the burner but can't recall currently. Will update this when (if) I remember. Edit: I remember, select multiple controls and use arrow keys (or other method?) to snap the selected controls to align to the chosen edge. Enjoy!1 point -
... funny, I also added a scoreboard effect function.... #include <GUIConstants.au3> GUICreate("Robco Terminal", 500, 400) $Terminal = GUICtrlCreateLabel("", 200, 30, 150, 30) GUISetState() ; Robco('Robco Industries Unified Operating System', $Terminal, 200) Scoreboard('Robco Industries Unified Operating System', $Terminal, 80) While 1 $Msg = GUIGetMsg() Switch $Msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func Robco($string, $control, $time) $Temp = '' $Str = StringSplit($string, '') For $C = 1 To $Str[0] GUICtrlSetData($control, $Temp & $Str[$C]) $Temp &= $Str[$C] Sleep($time) Next EndFunc ;==>Robco Func Scoreboard($string, $control, $time) Local $Y = StringToASCIIArray($string), $Z[UBound($Y)], $match = 0 For $i = 0 To UBound($z) - 1 $z[$i] = 31 Next While $match < UBound($z) $match = 0 For $i = 0 To UBound($z) - 1 If $z[$i] <> $Y[$i] Then $z[$i] += 1 $match += $z[$i] = $Y[$i] Next GUICtrlSetData($control, StringFromASCIIArray($z)) Sleep($time) WEnd EndFunc ;==>Scoreboard1 point
-
Try to stay away from Send, use any of the following: ; Window Automation ControlClick ControlSetText ; setting value of an IE element...don't use send, use _IEFormElementSetValue1 point