Search results

Jump to navigation Jump to search
  • This is our finished product above, it uses Functions, ByRef, etc... This is a variable statement, I'm going to break it down a bit. ...
    4 KB (644 words) - 09:51, 21 August 2008
  • ...noying to have to leave SciTE to run it on your script. Well, you can add it to the SciTE <''Tools''> menu yourself very easily: - First compile your script and store it somewhere. Perhaps a folder "''Program Files\AutoIt3\SciTE\SciTE Utils''" w ...
    2 KB (303 words) - 18:05, 13 November 2012
  • ...may be a violation of the law depending on your local laws. '''DO NOT USE IT.''' ...mpilation. A determined user will get your source code if they truly want it. ...
    3 KB (471 words) - 09:59, 26 June 2017
  • ...d UDFS distributed with AutoIt? If so then there is much better way to do it - one which will prevent you from losing all of these additional UDFs when ...ded that you do '''NOT''' put this folder in the AutoIt install folder (or it will get overwritten when you upgrade). Then tell AutoIt about this folder ...
    4 KB (691 words) - 09:59, 24 February 2015
  • ...riable for it instead of typing it out each time (and possibly misspelling it!): ...ure with {{Help File|WinWait}} that the ''window exists'' before we change it with {{Help File|WinSetTitle}}. ...
    3 KB (535 words) - 16:43, 17 November 2012
  • ...ften critical for displaying the data to users (or for printing), but also it holds critical importance in a number of other algorithms we will cover. In ...y paste them into a script and change the name of their function call, and it will work out of the box. ...
    2 KB (370 words) - 09:52, 11 November 2012
  • ...hough the comma is probably the most widely-used delimiter for text files, it's not the only one. Another popular delimiter is the TAB. ...the end. If a value is too short, blank spaces are appended to it to make it fill out the requisite number of characters. <br> The columns (fields) of t ...
    3 KB (429 words) - 09:44, 10 January 2014
  • While parsing this calculation, AutoIt notes that it has to execute the MsgBox() function to be able to fill in all values into Since we don't want 0 to be the error code we'll just add 99 to it. ...
    3 KB (511 words) - 18:46, 8 August 2013
  • It has a lot of members and is often praised for its quick and professional he Before you post a question it is always better to search the forums first to see if your question has bee ...
    3 KB (550 words) - 17:19, 7 January 2016
  • ...en more difficult to realise. However, as I hope this tutorial will show, it is not that daunting and can prove very useful. However, you do need to ta ...each resized element uses the same function to resize the elements within it. Without recursion this would be almost impossible to do. ...
    11 KB (1,613 words) - 17:00, 17 November 2012
  • ...Although the values needed to set these styles are given in the Helpfile, it does not actually explain the difference between them. ...' is cleared. Try closing the main GUI while the ''MsgBox'' is displayed - it will not close unless you clear the ''Msgbox'' first: ...
    3 KB (401 words) - 09:53, 25 March 2017
  • ...within AutoIt for newcomers. Purists might quibble over details here, but it is good enough for hobbyists like me! ...never a WM_COMMAND message is sent by my GUI, please intercept it and pass it through the MY_WM_COMMAND function in this script''". The actual message ti ...
    8 KB (1,337 words) - 11:06, 11 July 2015
  • ...k in time and using all kind of sources to describe how AutoIt became what it is now. Enjoy! ...uld force button clicks and he found Microsoft ScriptIt but Jon found that it was extremely unreliable.<br /> ...
    6 KB (1,051 words) - 06:07, 20 February 2016
  • ...tiVirus engine has found a set of instructions in an AutoIt EXE and deemed it malicious, took the general signature of the file, and has now flagged all ...be compressed with UPX. UPX is an open source software compression packer. It is used with many viruses (to make them smaller). ...
    5 KB (700 words) - 17:07, 26 August 2022
  • Before starting this series, it is assumed you have a firm grasp of programming in the AutoIt language, and ...d creeping out the less mathy readers with all the abstraction. That said, it is important to remember that the theory is important; and abstracting in t ...
    7 KB (1,224 words) - 04:38, 11 November 2012
  • ...website then please feel free to make a donation. No amount is too small – it all helps. ...
    609 bytes (105 words) - 13:12, 10 November 2012
  • ...numerous methods and properties for examining the data that exists within it. Records can be updated in the recordset by changing the values in the reco : If the OLE DB provider allows it, transactions can be used. To start the transaction, the programmer invokes ...
    8 KB (1,227 words) - 20:16, 29 February 2016
  • It uses variations of one button to do almost everything. I use it personally inside a game I play to keep track of stuff. ...
    2 KB (210 words) - 02:51, 1 August 2013
  • * If a semicolon (;) is part of a value it must be delimited by quotation marks (") ...sign (=), it must be preceded by an additional equal sign to indicate that it is part of the keyword. ...
    3 KB (514 words) - 10:46, 9 November 2020
  • ...- any part of the script can both read its value and, importantly, change it. ...when the function terminates. It is invisible to any other function unless it is passed as a parameter. ...
    15 KB (2,393 words) - 00:10, 16 October 2018
  • ...lue from 1 - 16 for 1 to 16 rows. You can also make the value to 0 so that it searches all existing rows before deciding the data type. You can change th ...
    3 KB (418 words) - 16:17, 17 January 2014
  • ; create labels. it's generally not necessary to set the returned handle ; create buttons. use $BS_DEFPUSHBUTTON constant on Start to make it the default button for when {ENTER} is pressed. ...
    4 KB (446 words) - 14:38, 14 November 2012
  • <!-- Report it to Trac with category 'Documentation'. --> ...lative to the [[GUICtrlCreateGraphic | GUICtrlCreateGraphic]] coordinates. It can be outside the graphic control but inside of the GUI window. ...
    7 KB (1,017 words) - 04:35, 23 August 2013
  • ...erence. Many developers keep the documentation or ''AutoIt Help File'', as it is better known, constantly open to look up functions and keywords. If you have AutoIt installed then you can find it in the SciTE editor if you press [F1], or in the start menu under AutoIt > ...
    3 KB (455 words) - 20:24, 27 October 2014
  • ...situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user func ...tand-alone with no external .dll files or registry entries required making it safe to use on Servers. Scripts can be compiled into stand-alone executable ...
    5 KB (730 words) - 00:26, 16 October 2019
  • <!-- Report it to Trac with category 'Documentation'. --> ...a 2 character string, so this will generate extra blanks lines. Therefore it is recommended to set the flag parameter to $STR_ENTIRESPLIT (1). ...
    5 KB (736 words) - 16:14, 23 August 2013
  • ...t testing is about quality assurance and confidence in the code you write. It is about investing a little time upfront to gain on your investment when th It is not the silver bullet the "inventors" like it to be. Unit testing GUI applications can be a real challenge and sometimes ...
    11 KB (1,664 words) - 18:50, 8 August 2013
  • Make a screenshot, edit it in program like mspaint.exe, remove all unnecessary, undesirable, proprieta After that save it as file in jpg or png format. ...
    4 KB (555 words) - 15:41, 21 February 2018
  • ...I hope this tutorial will demonstrate, it is nowhere near as difficult as it first appears. ...culties with multiple GUIs. This example script illustrates the problem - it exits when the '''[X]''' is clicked on either GUI: ...
    11 KB (1,555 words) - 21:20, 19 September 2021
  • Now go on - give it a try .. you know you want to! Yea! (yea is by layer :D) ...
    752 bytes (130 words) - 18:46, 18 October 2008
  • It should be stressed that to run AutoIt scripts, the only required file is '' ...ify a single shortcut when launching your text editor, which will instruct it to open a specific set of source files. ...
    8 KB (1,214 words) - 19:16, 16 June 2014
  • If you ask the function to return all properties of an object it does not return "constructed attributes" ("virtual attributes"). Most of th ...
    961 bytes (128 words) - 13:46, 1 April 2018
  • ...ool displays information for a specified user taken from Active Directory. It offers additional functions like comparing group membership with other user ...common AD administration tasks. Every administration task has its own tab. It is easy to add new functions (tabs) to the tool. Some often used functions ...
    8 KB (1,273 words) - 00:50, 21 October 2019
  • ...O to execute SQL commands directly. The disadvantage of the latter is that it introduces a dependency upon the type of database used. ...objects for schema creation and modification, as well as security. Because it is an object-based approach to schema manipulation, you can write code that ...
    11 KB (1,648 words) - 16:28, 6 September 2020
  • This is a common question and this tutorial explains how to do it within the limitations of Autoit. ...tion calls in both ''OnEvent'' and ''MessageLoop'' modes. This means that it waits until a function is finished and the code is back in your idle ''Whil ...
    15 KB (1,884 words) - 18:29, 15 August 2013
  • ...g styles and extended styles is an integral part of coding in AutoIt - but it is very easy to get something other than the result you wanted if you do no ...fic bits within the larger number. So if Windows is checking for $Style1, it looks for bits four and eight. In the ''BitOr'' result, these bits are set ...
    11 KB (1,436 words) - 16:13, 14 September 2017
  • ...one major way: rather than being indexed numerically (i.e. 0, 1, 2, 3, …), it is indexed by a key, or a language-like word. ...a simple hash function that can probably be easily improved upon and while it can resize the hash table, the resize is slow so try to make your initial s ...
    12 KB (1,650 words) - 09:41, 4 December 2017
  • ...ry and cannot readily be manipulated. Sometimes workarounds are required. It should be noted that some of these issues change over different versions, r ...ept. Find out how to configure your Microsoft product in the list below so it doesn’t send messages in the TNEF format.'' ...
    4 KB (662 words) - 11:44, 27 July 2020
  • <!-- Report it to Trac with category 'Documentation' or to my post if it is my script that is in error. --> As defining only one style just set this style don't forget to combine it with default ones, i.e. just defining WS_SIZEBOX will not set WS_MINIMIZEBO ...
    8 KB (1,176 words) - 10:33, 27 August 2013
  • ...ormally this is hidden, but in the interest of this example I"m displaying it. ...
    1 KB (153 words) - 16:46, 15 August 2013
  • ...ways to move a ''$WS_POPUP'' GUI with the mouse as well as a way to resize it. ...shows where dragging is possible and the red area (if there is one) where it is not; clicking the button will bring up a message box; and pressing "''Es ...
    16 KB (2,102 words) - 11:40, 18 April 2015
  • ...number of other programming languages. You do not need to follow them, but it is recommended that you do. If a function sets the @error flag, you should always check it before using a return value - if @error indicates an error then the functio ...
    23 KB (3,252 words) - 09:56, 29 October 2020
  • ...down this road. You could analytically evaluate your code, or fragments of it. You could optimize parts that don't feel good. And you can measure how lon ...a stopwatch to log how much time that is spent from the code starts until it ends execution. There are two types of time we can use. The real time spent ...
    8 KB (1,063 words) - 06:22, 20 June 2014
  • * Only does what you tell it to do - no implicit "actions" ...ent text to 255 characters. How to overcome this limitation (and how to do it in AutoIt) is described [https://www.autoitscript.com/forum/topic/196814-_w ...
    7 KB (1,048 words) - 06:19, 28 August 2022
  • ...tutorial targets people who are beginners. To understand how arrays work, it is imperative to try out and modify the provided samples. Make sure that e Local $arr = StringSplit("This is my string. I want to split it in sentences.", '.') ...
    18 KB (2,590 words) - 13:33, 13 January 2024
  • ...s, or an array of ordinal positions of the fields that you wish retrieved. It is used to restrict the fields that will be returned by calling this method ...or a pair of pound signs ("State = #Tennessee# "). If the value is a date, it must be enclosed (delimited) within a pair of pound signs ("Birthdate = #6/ ...
    8 KB (1,321 words) - 19:04, 27 February 2016
  • <!-- Report it to Trac with category 'Documentation'. --> ...er the pattern was found or not. 1 and 2 find the first match and returns it in an array. 3 and 4 find multiple hits and fills the array with all the m ...
    14 KB (2,187 words) - 06:34, 23 August 2013
  • It is important to be familiar with the hierarchy of SciTE's configuration fil Due to the colors, sometimes it is hard to tell the selection apart. ...
    11 KB (1,701 words) - 22:49, 2 September 2018
  • ...normal script where you are in control of what happens and when! Think of it as waiting by the door for the postman - you sit there until a letter pops ...
    2 KB (273 words) - 03:25, 1 August 2013
  • It is built on top of the OutlookEX UDF. Most of the functions provide a callback function. It gets called before an Outlook item is processed. ...
    12 KB (1,718 words) - 09:26, 27 July 2023
  • ...a, this function will assume the binary data is a string value and convert it appropriately. ...
    3 KB (317 words) - 14:01, 17 November 2012
  • <!-- NOTE: It would be nice if we could keep most of the code in here "runable", so that ...s visible or more precisely how long a variable is stored in memory before it returns to a free state. As such, the allocation(declaration) and deallocat ...
    15 KB (2,305 words) - 22:19, 23 February 2023
  • ...tributed with AutoIt then it must meet all the criteria detailed here, but it's also good practice to always write in conformance with at least the major ...this should be documented and linked to so users can download it as well. It goes without saying that a UDF based on non-standard UDFs cannot itself bec ...
    28 KB (3,750 words) - 18:51, 19 January 2024
  • | Desc = Trim a string left until it reaches the delimiter character. ; Description ...: Trim a string left until it reaches the delimiter charecter ...
    15 KB (1,483 words) - 11:59, 19 October 2020
  • That's why the WD_Capabilities.au3 UDF has been created. It makes sure the created Capabilities string is perfectly formatted all the t ; dump Capabilities string to Console - reason: only to check how it looks ...
    8 KB (947 words) - 23:17, 9 April 2022
  • ...oIt include directory with a GLOBAL section (this is used for ALL scripts. It's a Global setting) ...tion (this is used for scripts named <scriptname>.au3 or <scriptname>.exe. It's a Global setting) ...
    15 KB (2,211 words) - 08:42, 6 June 2020
  • ...the column. If the column name contains embedded spaces, you must enclose it in double quotation marks <br>This example shows the dollar sign, but you should replace it with the appropriate CurrencySymbol value in the actual program. ...
    6 KB (916 words) - 10:20, 12 January 2014
  • ...pear on the correct tab. This tutorial should help. Before going further, it is important to understand the differences between controls created using t ...control management structure, so AutoIt does not know how to handle them. It is up to you to manage them by seeing which tab is active and hiding/showin ...
    13 KB (1,542 words) - 13:27, 2 July 2016
  • Forum beginners tutorial by (TODO: @??? can't find it at the moment), really nice and well written. ...
    2 KB (228 words) - 09:14, 4 November 2017
  • * It does not matter where an item is stored. You can access any folder and get/ ...modular as possible. E.g. there is a single function to create an item, be it a mail item, contact item or whatever ...
    16 KB (2,369 words) - 09:28, 27 July 2023
  • <!-- Report it to Trac with category 'Documentation' or to my post if it is my script that is in error. --> ...iables (when in this mode and you want to use a literal $ or @ then double it up: "This is a single dollar $$ sign". ...
    12 KB (1,657 words) - 12:41, 25 August 2013
  • ...t it to a file as '''XML'''. Modify the created XML source file and import it using the Task Scheduler GUI ...s an AutoIt array definition, grab the output from the SciTE console, copy it to your script, modify the array and create a new task from this array. ...
    15 KB (2,122 words) - 23:19, 22 December 2020
  • * Only does what you tell it to do - no implicit "actions" It's mandatory now to call function _Excel_Open before any other function (exc ...
    22 KB (3,004 words) - 08:32, 8 April 2021
  • ; Description ...: Use the mouse to move to a control and click it ...ks [, speed [, x [, y ]]]]] ) Use the mouse to move to a control and click it.(required: #include <KrisUDF.au3>) ...
    15 KB (1,679 words) - 19:15, 24 August 2013
  • <!-- Report it to Trac with category 'Documentation'. --> ...
    4 KB (518 words) - 16:15, 23 August 2013
  • This is the second page you will see when running AutoIt 1-2-3. It gives important links to necessary downloads and allows you to run demos th ...
    4 KB (552 words) - 23:39, 6 January 2020
  • ; Error handling : Everytime @extended is set, it is filled with @ScriptLineNumber of the error. ; It can also terminate pending read or write operations on the resource. ...
    32 KB (2,861 words) - 11:01, 7 April 2014
  • ; Add a recipient and resolve it ; Add a recipient and resolve it ...
    9 KB (1,268 words) - 09:27, 27 July 2023
  • ConsoleWrite(_Boolean("1") & @CRLF) ; Returns True as it is a string but a number. ...is True and if a string is the explicit word True, False or a number than it's equivilant boolean value is returned. ...
    13 KB (1,432 words) - 19:58, 15 November 2012
  • ..._AD_GetObjectsInOU is the swiss army knife of the Active Directory UDF.<br>It allows to search for whatever criteria you specify and returns whatever pro ...
    4 KB (571 words) - 15:33, 27 August 2018
  • Local $str = InputBox("Try It","Do Something!","stuff","",10) ...
    4 KB (642 words) - 09:19, 4 November 2017
  • <!-- Report it to Trac with category 'Documentation'. --> ...
    5 KB (675 words) - 16:13, 23 August 2013
  • ...nality and information that JavaScript running in the browser doesn't, and it can more accurately simulate user events or OS-level events. WebDriver can ...tion derived from ChromeDriver and adapted by Opera''". That's why I think it has at least the same limitations as ChromeDriver. ...
    39 KB (5,111 words) - 08:12, 25 April 2024
  • ...al purposes. Please don't hesitate to contact me if you find problems with it or have ideas on improving its efficiency. ...n internal LANDesk management suite URL (which is what I use specifically, it could also easily be changed to use WinVNC and the like), as well as the ps ...
    30 KB (3,192 words) - 06:17, 11 December 2012
  • :<LI>It seems that Outlook interprets the format of a passed date. 2020-04-01 will ...
    5 KB (786 words) - 09:25, 27 July 2023
  • <!-- Report it to Trac with category 'Documentation'. --> To make the user function workable you have to define it with '''maximum 4 function parameters''' otherwise the function won't be ca ...
    15 KB (1,812 words) - 16:13, 23 August 2013
  • ...lGetPos}}</td><td>Retrieves the position and size of a control relative to it's window.</td></tr> ...d>{{Help File|RegEnumKey}}</td><td>Reads the name of a subkey according to it's instance.</td></tr> ...
    39 KB (6,797 words) - 19:52, 16 July 2015
  • ...ll comspec to run internal comands (DIR, COPY, MD, RD, etc) You don't need it for external commands (ATTRIB, CACLS, XCOPY, NET, etc) ...
    6 KB (883 words) - 19:24, 16 November 2012
  • ...ttp://www.autoitscript.com/autoit3/docs/faq.htm AutoIt HelpFile]. Much of it is about the transition from V2 to V3, but most is still relevant and shoul ...s untidy code and repairs messy scripts to allow them to be more readable. It also corrects problems with incorrectly capitalised function names and vari ...
    54 KB (8,068 words) - 16:18, 15 January 2022
  • ; Format the last windows error as a string and return it ; if $DisplayMsgBox <> "" Then it will display a message box w/ the error ...
    18 KB (1,833 words) - 19:41, 12 May 2014
  • ...nal parameter tells the provider how to evaluate the Source parameter when it contains something other than a Command object. The appropriate use of this ...
    7 KB (1,029 words) - 22:27, 28 February 2016
  • ; Set the position and then retrieve it. Due to adjustments ; by Windows it may not be the same as the value set. ...
    58 KB (6,056 words) - 21:02, 19 August 2021
  • ...ormally this is hidden, but in the interest of this example I'm displaying it. ...ormally this is hidden, but in the interest of this example I'm displaying it. ...
    38 KB (4,029 words) - 21:42, 16 January 2015
  • ...sgBox(4096, "", "All items were inverted, so if an item was checked before it was unchecked afterwards.") ...
    9 KB (856 words) - 17:41, 21 April 2013
  • ; - Must be exactly as it appears in the registry unless extended search is used ; A different approach to _PathSplit(), in which it returns a 1D array, it also uses faster comparison for StringInStr. ...
    31 KB (3,122 words) - 09:05, 10 July 2016
  • ; Error handling : Everytime @extended is set, it is filled with @ScriptLineNumber of the error. ...
    11 KB (1,074 words) - 11:01, 7 April 2014
  • ...t: Will skip the Comments prompt /Comments: Text to added in the Comments. It can also contain the below variables. || ...
    9 KB (1,303 words) - 18:49, 20 October 2019
  • ; Error handling : Everytime @extended is set, it is filled with @ScriptLineNumber of the error. ...
    16 KB (1,475 words) - 13:30, 8 April 2014
  • ; Error handling : Everytime @extended is set, it is filled with @ScriptLineNumber of the error. ...
    22 KB (1,922 words) - 11:01, 7 April 2014
  • It should meet all/most of the general requirements for UDFs as described [[UD ...osoft Office Outlook Tools (by water)] - Built on top of the OutlookEX UDF it offers some often needed extended functionality (import/export ics/vcf file ...
    64 KB (9,302 words) - 22:21, 28 March 2024
  • ...ile(@ScriptDir & "\Test.txt", 1, 1) ; Initial idea by trancexx who created it in AutoIt code. ...
    14 KB (1,421 words) - 16:59, 18 November 2012
  • ; it as such. Any IP address ending in 0 or 255 is also invalid for an IP ...
    15 KB (1,717 words) - 05:16, 30 June 2017
  • ...; Edit by DatMCEyeBall - Instead of emptying the array to [1][$x] we empty it to [$x][$y] ...
    26 KB (2,926 words) - 07:30, 3 March 2017
  • ; Gets The Control ID of the Icon, so you can use all GUICtrl... Functions on it :) ...
    31 KB (3,301 words) - 15:10, 12 November 2012