<?xml version="1.0"?>
<rss version="2.0"><channel><title>AutoIt Technical Discussion Latest Topics</title><link>https://www.autoitscript.com/forum/forum/7-autoit-technical-discussion/</link><description>AutoIt Technical Discussion Latest Topics</description><language>en</language><item><title>Visual Studio Code and running AutoIt</title><link>https://www.autoitscript.com/forum/topic/194638-visual-studio-code-and-running-autoit/</link><description><![CDATA[
<p>
	Have downloaded and installed AutoIt as well as <abbr title="AutoIt Editor (SCIntilla based Text Editor)">ScITE</abbr> and can run scripts with no issue in <abbr title="AutoIt Editor (SCIntilla based Text Editor)">ScITE</abbr>.
</p>

<p>
	Have also installed VSC (Visual Studio Code) and have installed Damien's extension for AutoIT.
</p>

<p>
	When trying to do various operations in VSC, I see:
</p>

<ul><li>
		F5 = command 'extension.runScript' not found
	</li>
	<li>
		CTRL+F5 = command 'extension.check' not found
	</li>
	<li>
		CTRL+F6 = command 'extension.launchInfo' not found
	</li>
	<li>
		ALT+M = command 'extension.LaunchKoda' not found
	</li>
</ul><p>
	Thanks!
</p>
]]></description><guid isPermaLink="false">194638</guid><pubDate>Fri, 29 Jun 2018 14:20:14 +0000</pubDate></item><item><title>Will Associative Arrays be coming?</title><link>https://www.autoitscript.com/forum/topic/198357-will-associative-arrays-be-coming/</link><description><![CDATA[<p>
	I have a friend learning Python and he asked me if AutoIt has Associative Arrays (Dictionaries) and if I could write something in AutoIt to help him. Firstly, I never even heard of that kind of array and I found some reference from a couple years or so ago saying it was in the beta. Is that still in the pipeline to come into the final release of AutoIt?
</p>]]></description><guid isPermaLink="false">198357</guid><pubDate>Thu, 28 Mar 2019 13:06:34 +0000</pubDate></item><item><title>Au3_FastCGI ??</title><link>https://www.autoitscript.com/forum/topic/200098-au3_fastcgi/</link><description><![CDATA[
<p>
	<span style="color:#000000;font-size:medium;">Au3_FastCGI </span>
</p>

<p>
	<span style="color:#000000;font-size:medium;">Where can I download it?</span>
</p>
]]></description><guid isPermaLink="false">200098</guid><pubDate>Wed, 28 Aug 2019 13:23:38 +0000</pubDate></item><item><title>_FileListToArrayRec</title><link>https://www.autoitscript.com/forum/topic/199903-_filelisttoarrayrec/</link><description><![CDATA[
<p>
	I  know that _FileListToArrayRec has to deal with many switches aside from the basic looping but some how I'm sure it will be possible to shave some of the execution time,  with perhaps following the logic i have used in my example
</p>

<p>
	another thing i found is that when searching for both file and folders with using a negative per-fixed number (depth switch), I think it wont return a correct array <img alt=":blink:" data-emoticon="" src="https://www.autoitscript.com/forum/uploads/emoticons/default_blink.gif.11111111111111111111111111111111.gif" title=":blink:" /> maybe I missed reading something in the help file, will soon check again ..
</p>

<p>
	anyways here is the comparison I came up with ..
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		<span>Spoiler</span>
	</div>

	<div class="ipsSpoiler_contents">
		<pre class="ipsCode prettyprint lang-autoit">

#include &lt;File.au3&gt;
#include &lt;String.au3&gt;
#include &lt;GUIConstantsEx.au3&gt;

$aArray = DriveGetDrive(&quot;ALL&quot;)
For $i = 1 To $aArray[0]
	$aArray[$i] = StringUpper($aArray[$i])
Next
$sString = _ArrayToString($aArray, &quot;|&quot;, 1)

$hGUI = GUICreate(&quot;FileListLevel&quot;, 320, 125)
$hCombo = GUICtrlCreateCombo(&quot;&quot;, 10, 8, 44, 20)
GUICtrlSetFont(-1, 12)
GUICtrlSetData(-1, $sString)

$idFileInput = GUICtrlCreateInput(&quot;*&quot;, 65, 8, 125, 25)
GUICtrlSetFont(-1, 12)

$hCombo2 = GUICtrlCreateCombo(&quot;SearchAllInDrive&quot;, 10, 70, 180, 20)
GUICtrlSetFont(-1, 13)
GUICtrlSetData(-1, &quot;1|2|3|4|5|6|7|8|9|10&quot;)

$Button = GUICtrlCreateButton(&quot;Search&quot;, 215, 08, 100, 25)
GUICtrlSetFont(-1, 12)
$ButtonCancel = GUICtrlCreateButton(&quot;Abort Search&quot;, 215, 45, 100, 25)
GUICtrlSetFont(-1, 12)
$ButtonResult = GUICtrlCreateButton(&quot;Copy result&quot;, 215, 80, 100, 25)
GUICtrlSetFont(-1, 12)

$File = GUICtrlCreateRadio(&quot;File&quot;, 10, 38, 50, 25)
GUICtrlSetFont(-1, 12)
GUICtrlSetState(-1, $GUI_CHECKED)
$Folder = GUICtrlCreateRadio(&quot;Folder&quot;, 65, 38, 70, 25)
GUICtrlSetFont(-1, 12)

$bBoth = GUICtrlCreateCheckbox(&quot;Both&quot;, 144, 40, 70)
GUICtrlSetFont(-1, 12)

Global $iCount, $iTotalCount = 500, $aArray, $aResult, $sPattern, $sFilePath = @ScriptDir &amp; &quot;\TestUniqueResults1.txt&quot;, $bCancel = False

GUISetState()

While 1
	Switch GUIGetMsg()
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button
			$iLevel = GUICtrlRead($hCombo2)
			If BitAND(GUICtrlRead($bBoth), $GUI_CHECKED) Then
				$bFile = 2
			Else
				$bFile = BitAND(GUICtrlRead($File), $GUI_CHECKED) ? 1 : 0
			EndIf
			_Run(GUICtrlRead($hCombo) &amp; GUICtrlRead($idFileInput), StringIsAlpha($iLevel) = 1 ? 0 : $iLevel, $bFile)
		Case $ButtonCancel
			$bCancel = True
		Case $ButtonResult
			_FileWriteFromArray($sFilePath, $aResult, 1)
	EndSwitch
WEnd

Func _gui()
	Switch GUIGetMsg()
		Case $ButtonCancel
			$bCancel = True
			AdlibUnRegister(&quot;_gui&quot;)
			ConsoleWrite(@LF &amp; &quot;Canceling .. &quot; &amp; @LF &amp; @LF)
	EndSwitch
EndFunc   ;==&gt;_gui

Func _Run($sSearchTerm, $iEndLevel, $bFile = 0)
	$bCancel = False
	$aResult = _Search($sSearchTerm, $iEndLevel, $bFile)
	ConsoleWrite(&quot;Done Searching&quot; &amp; @LF &amp; @LF)
EndFunc   ;==&gt;_Run

Func _Search($sSearch, $iEndLevel = 0, $bFile = 1)
	Local $a = StringSplit($sSearch, &quot;:&quot;), $sPath
	$sPattern = &quot;(?i)^&quot; &amp; StringReplace(StringRegExpReplace($a[2], &quot;[][$^.{}()+\-]&quot;, &quot;\\$0&quot;), &quot;*&quot;, &quot;.*?&quot;) &amp; &quot;$&quot;

	AdlibRegister(&quot;_gui&quot;, 100)  ;comment this line if using _ArrayDisplays otherwise the script hangs or use Adlib Un\Register(&quot;_gui&quot;) before\after displaying
	Local $iFileType, $iIndex, $hTimer, $iStart = 1, $iRecur
	If $iEndLevel = 0 Then $iStart = 0

	For $i = $iStart To $iEndLevel
		ConsoleWrite(&quot;Level = &quot; &amp; $i &amp; @LF)
		If $bCancel Then Return

		$hTimer = TimerInit()
		$iTotalCount = 500
		$iCount = 1
		Dim $aArray[$iTotalCount]
		If $bCancel Then Return
		_GetArray($i, $bFile, $a[1] &amp; &quot;:&quot;, &quot;&quot;, $a[2])
		If $bCancel Then Return
		$iIndex = _ArraySearch($aArray, &quot;&quot;, 1)
		$iIndex = (@error = -1 ? UBound($aArray) : $iIndex - 1)
		ConsoleWrite(&quot;Time Other  : &quot; &amp; TimerDiff($hTimer) &amp; &quot; UBound = &quot; &amp; $iIndex &amp; @LF)

		;Section for displaying the array
;~ 		Local $aRet = _ArrayExtract($aArray, 0, $iIndex)
;~ 		$aRet[0] = UBound($aRet) - 1
;~ 		AdlibUnRegister(&quot;_gui&quot;)
;~ 		_ArrayDisplay($aRet)
;~ 		AdlibRegister(&quot;_gui&quot;, 100)

		; _FLTAR ()
		Switch $bFile ;convert file folder indications when using _FLTAR
			Case 0
				$iFileType = 2 ;folder
			Case 1
				$iFileType = 1 ;file
			Case 2
				$iFileType = 0 ;both
		EndSwitch

		$iRecur = ($i - 1) * -1
		If $iEndLevel = 0 Then $iRecur = 1

		$hTimer = TimerInit()
		Local $aRet = _FileListToArrayRec($a[1] &amp; &quot;:\&quot;, $a[2], $iFileType, $iRecur, 0, 2)
		ConsoleWrite(&quot;Time ArrayRec: &quot; &amp; TimerDiff($hTimer) &amp; &quot; UBound = &quot; &amp; UBound($aRet) - 1 &amp; @LF)
		ConsoleWrite(&quot;===========================&quot; &amp; @LF &amp; @LF)

;~ 		AdlibUnRegister(&quot;_gui&quot;)
;~ 		_ArrayDisplay($aRet)
;~ 		AdlibRegister(&quot;_gui&quot;, 100)

	Next
	AdlibUnRegister(&quot;_gui&quot;)
EndFunc   ;==&gt;_Search

Func _GetArray($iEndLevel, $bFile, $sPath, $File = &quot;&quot;, $iLevel = 0)
	If StringRegExp($File, $sPattern) Then
		If $iCount &gt;= $iTotalCount - 1 Then
			$iTotalCount += $iTotalCount
			ReDim $aArray[$iTotalCount]
		EndIf
		Local $hSearch = FileFindFirstFile($sPath &amp; $File &amp; &#39;\*&#39;)
		If $hSearch = -1 Then
			Switch $bFile
				Case 0                    ;Dir with Exp match
					$aArray[$iCount] = $sPath &amp; $File &amp; &quot;\&quot;
					$iCount += 1
				Case $bFile = @error    ;$bFile = 1 but @error = 1 an Empty Dir with Exp match
					;Nothing
				Case Else               ; $bFile = 0 or 1
					$aArray[$iCount] = $sPath &amp; $File
					$iCount += 1
			EndSwitch
			Return
		ElseIf (1 - $bFile) Then   		; Folders Switch $bFile = 0 \ 2
			$aArray[$iCount] = $sPath &amp; $File &amp; &quot;\&quot;
			$iCount += 1
		EndIf
		If $iEndLevel &gt; 0 And $iLevel = $iEndLevel Then Return
	Else
		If $iEndLevel &gt; 0 And $iLevel = $iEndLevel Then Return
		$hSearch = FileFindFirstFile($sPath &amp; $File &amp; &#39;\*&#39;)
		If $hSearch = -1 Then Return
	EndIf
	Local $Result = $sPath &amp; $File
	While 1
		$File = FileFindNextFile($hSearch)
		If @error Then ExitLoop
		If (Not @extended) Then
			If Not $bFile Or Not StringRegExp($File, $sPattern) Then ContinueLoop
		EndIf
		_GetArray($iEndLevel, $bFile, $Result &amp; &quot;\&quot;, $File, $iLevel + 1)
		If $bCancel Then Return
	WEnd
	FileClose($hSearch)
EndFunc   ;==&gt;_GetArray</pre>

		<p>
			 
		</p>
	</div>
</div>

<p>
	Deye
</p>
]]></description><guid isPermaLink="false">199903</guid><pubDate>Sat, 10 Aug 2019 23:34:04 +0000</pubDate></item><item><title>January 2, 2019: New SciTE4AutoIt3 available with the updated SciTE v4.1.2 release</title><link>https://www.autoitscript.com/forum/topic/197209-january-2-2019-new-scite4autoit3-available-with-the-updated-scite-v412-release/</link><description><![CDATA[
<p>
	1/02/2018: Uploaded a new <strong>SciTe4AutoIt3.exe</strong> v19.102.1901.0 installer.
</p>

<p>
	This version contains the bugfix release for <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> 4.1.2.<br />
	There has been a major update for Tidy allowing now inline comments without them being shifted to the left by default.<br /><a href="https://www.autoitscript.com/forum/topic/196221-tidy-major-update-2-nov-2018" rel="">See this thread for the total story about the new behavior and the added options</a>
</p>

<p>
	==&gt; <a href="http://www.autoitscript.com/autoit3/scite/download/SciTE4AutoIt3.exe" rel="">SciTE4AutoIt3 v19.102.1901.0</a>
</p>

<p>
	Enjoy,<br />
	Jos
</p>

<p>
	<br />
	Addition/Changes/Fixes in the current installer:<br /></p>
<pre class="ipsCode">
--------------------------------------------------------------------------------------------------
2-1-2019
*** Merged the SciTE v 4.1.2 by Neil Hodgson with our own version of SciTE. (Jos)
    - Fixed regex issue for Alt+F in AutoItTools.lua
    - Fixed another regex issue for several functions in AutoItTools.lua
    - Fixed Header parameters now showing None when none are
    - Fixed jump to function to also jump to the right Column again.
    - Restored AutoItTools:Copy_BookMarks() functionality
*** Updated AutoIt3Wrapper v19.102.1901.0 (Jos)
    - 18.703.1808.1 renamed "#AutoIt3Wrapper_Au3Stripper_Stop_OnError" to "#AutoIt3Wrapper_Au3Stripper_OnError" with now as options S,C,F,Stop,Continue,ForceUse
    - 18.708.1148.1 Added #include &lt;WinAPIFiles.au3&gt; back in the included file list to ensure backward compatibility.
    - 18.708.1148.2 Added "Tidy_Stop_OnError" support to the AutoIt3Wrapper.INI file.
                    Changed HiDPI settings for Win 10 compatibility.
    - 18.708.1148.4 Added logic to be able to display Console Output of script that have #RequireAdmin while SciTE runs at normal level.
    - 18.708.1148.5 Added support to allow to Stop Execution or Restart for scripts with #RequireAdmin while SciTE runs at normal level.
                    It won't hang anymore when you reply No on the UAC and detect the elevated process didn;t start.
    - 18.708.1148.6 Reverted HiDPI changes made in 18.708.1148.2 as problems are reported. needs investigation.
    - 18.708.1148.7 Changed check for RequireAdmin AutoIt3Wrapper startup.
    - 18.708.1148.8 Added #include &lt;APIResConstants.au3&gt; for backwards compatibility with AutoIt3 v3.3.14.x.
*** Updated Au3Stripper v19.102.1901.0 (Jos)
    - 18.708.1148.1 Fixed issue finding variable names on multiline statements
    - 18.708.1148.2 Added check for ending \ in the AutoIt3Dir, and remove it when there, to avoid duplication of includes.
    - recompiled with PellesC 6 to make it compatible with WinXP again.
*** Updated SciTEConfig v19.102.1901.0 (Jos)
    - 18.708.1148.1 Update to allow comments in *.SciTEConfig file lines. (JPM)
                    This update includes the updated shemes to allow changing between them.
*** Updated Tidy v19.102.1901.0 (Jos)
    - 18.708.1148.1: Fix bug handling Directivelines ending with continuation character
    - 18.708.1148.2: Fixed indentation when a "None breaking space"(C2A0) character is used in a UTF file.
    - 18.708.1148.3: Fix bug when a continuation line starts with +x, where is would add a space between +- and number.
    - 18.708.9999.x: Rewrite of some internal code to allow inlinecomments to remain at their current position.
                      Details can be found in this post: https://www.autoitscript.com/forum/topic/196221-tidy-major-update-27-10-requesting-help-with-testing/
    - 18.708.9999.22: Released to Beta.
    - 18.708.9999.23: Added option to totally skip commentblocks so now the options are:
                        #Tidy_Parameters=/tcb=0         =&gt;only indent the whole commentblock  (default)
                                         /tcb or /tcb=1 =&gt;Tidy inside commentblock
                                         /tcb=-1        =&gt;leave whole commentbock alone
                       Tidy.INI:#--&gt; Tidy commentblock 0=only indent the whole commentblock  (default=0)
                                #                      1=Tidy inside commentblock
                                #                     -1=leave whole commentbock alone
                                Tidy_commentblock=0
    - 18.708.9999.24: Added check for ending \ in the AutoIt3Dir and remove it when there.
    - recompiled with PellesC 6 to make it compatible with WinXP again.
--------------------------------------------------------------------------------------------------
</pre>
<p>
</p>

<p>
	==&gt; <a href="http://www.scintilla.org/ScintillaHistory.html" rel="external nofollow">ScitillaHistory page containing all </a><abbr title="AutoIt Editor (SCIntilla based Text Editor)"><a href="http://www.scintilla.org/ScintillaHistory.html" rel="external nofollow">SciTE</a></abbr><a href="http://www.scintilla.org/ScintillaHistory.html" rel="external nofollow">-Scintilla updates.</a><br />
	==&gt; <a href="https://www.autoitscript.com/site/autoit-script-editor/downloads" rel="">Visit the SciTE4AutoIt3 Download page for the latest versions</a><br />
	==&gt; <strong>Check </strong><strong><a href="http://www.autoitscript.com/autoit3/scite/docs/Help.html" rel="">the online documentation</a></strong><strong> </strong>for an overview of all extra's you get with this installer.
</p>
]]></description><guid isPermaLink="false">197209</guid><pubDate>Wed, 02 Jan 2019 18:39:34 +0000</pubDate></item><item><title>[SOLVED] Remove numbers from the tabs in SciTe</title><link>https://www.autoitscript.com/forum/topic/199877-solved-remove-numbers-from-the-tabs-in-scite/</link><description><![CDATA[
<p>
	Is there a way to remove the numbers from the tabs in Scite?
</p>

<p>
	When you have multiple autoit programs open, the tabs are numbered, so you'll get something like 1 ProgramA.au3    2 Program2.au3   3 Program3.au3
</p>

<p>
	I am working on programs with numbers as the first character, so I get  1 3-DoThis.au3     2 4-DoAnother.au3   3 5-DoTheRest.au3  (not the real program names, obviously <span>:))</span>
</p>

<p>
	It would be nice if I could get rid of the tab number, and just have the program name on each tab.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">199877</guid><pubDate>Thu, 08 Aug 2019 10:11:58 +0000</pubDate></item><item><title>using tampermonkey with autoit</title><link>https://www.autoitscript.com/forum/topic/199691-using-tampermonkey-with-autoit/</link><description><![CDATA[
<p>
	tampermonkey is a browser addon which evals javascript into webpages by match.
</p>

<p>
	recently i had run into a problem where .value could not set a form, so i did something awesome.
</p>

<p>
	tampermonkey comes with GM funcs which are in browser functionalities normally not aavailable to js on a webpage.
</p>

<p>
	GM.setClipboard is insanely useful alongside autoit, heres the deal.
</p>

<p>
	this function sets the clipboard to the specified text. so what you do is have tampermonkey wait for a form on a webpage to exist, focus on the form, set the clipboard to fillme:texthere
</p>

<p>
	then you have an autoit script wait for the clipboard to contain wildcard "fillme:" remove fillme: from text then Send(text) this literally is a godsend because most forms require actual keyboard input and its a very easy way to haave an event based system that doesnt tangle up. if anyone would like examples hit me up
</p>
]]></description><guid isPermaLink="false">199691</guid><pubDate>Thu, 25 Jul 2019 15:03:20 +0000</pubDate></item><item><title>Maps Beta Python</title><link>https://www.autoitscript.com/forum/topic/199632-maps-beta-python/</link><description><![CDATA[<p>I tried the Beta Maps and they are really cool. When will they be implemented in the normal version?<br />
And will they be implemented better, like in Python?<br /><br />
Autoit Beta now:<br />
	Local $mMap[]<br />
	$mMap['Colorado'] = 'Rockies'<br />
	$mMap['Boston'] = 'Red Sox'<br />
	$mMap['Minnesota'] = 'Twins'<br /><br />
Python:<br />
MLB_team = {<br />
    'Colorado' : 'Rockies',<br />
    'Boston'   : 'Red Sox',<br />
    'Minnesota': 'Twins',<br />
    'Milwaukee': 'Brewers',<br />
    'Seattle'  : 'Mariners'<br />
}</p>]]></description><guid isPermaLink="false">199632</guid><pubDate>Sat, 20 Jul 2019 19:46:40 +0000</pubDate></item><item><title>AutoIt to C# development request</title><link>https://www.autoitscript.com/forum/topic/199426-autoit-to-c-development-request/</link><description><![CDATA[
<p>
	I'm sorry if it does not match the board rules.
</p>

<p>
	i'm from Korea and i'm looking for development
</p>

<p>
	i want converting AutoIt source to C# source
</p>

<p>
	AutoIt source is control the system control box of the target program(.net build) in a third party app.
</p>

<p>
	i can pay over 300USD if perfect
</p>

<p>
	telegram : fpdkf11
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">199426</guid><pubDate>Sat, 29 Jun 2019 02:03:09 +0000</pubDate></item><item><title>Use of variables</title><link>https://www.autoitscript.com/forum/topic/199400-use-of-variables/</link><description><![CDATA[
<p>
	I know, it's simple, but I've made a mistake...
</p>

<p>
	The code:
</p>

<p>
	 
</p>

<p>
	Local $vVariable = "MyApp"
</p>

<p>
	DirCreate ("@AppDataDir\" &amp; MyApp)
</p>

<p>
	 
</p>

<p>
	I Wanna create a variable, assign the value "MyApp" and create in AppData a folder named "MyApp"
</p>

<p>
	The error is Unknown funtion name.
</p>

<p>
	 
</p>

<p>
	What's wrong?
</p>

<p>
	 
</p>

<p>
	Thanks.
</p>
]]></description><guid isPermaLink="false">199400</guid><pubDate>Wed, 26 Jun 2019 14:50:46 +0000</pubDate></item><item><title>Portable tutorial</title><link>https://www.autoitscript.com/forum/topic/199383-portable-tutorial/</link><description><![CDATA[
<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I have searched in the web tutorial on "How use AutoIt to portabilize a program" but I haven't found documentation.
</p>

<p>
	May this argument be interesting for someone, or not, i don't know. But I believe is better have more documentation than less...
</p>

<p>
	I would like to try to write a tutorial on my own, but, as you could seen, I'm not able to realize it alone.
</p>

<p>
	I'm searching someone interested to help me with the code and the text revision (my english is so poor).
</p>

<p>
	 
</p>

<p>
	If anyone is disposable to help me, let me know, so we can plan a project.
</p>

<p>
	 
</p>

<p>
	Thanks.
</p>
]]></description><guid isPermaLink="false">199383</guid><pubDate>Tue, 25 Jun 2019 12:47:24 +0000</pubDate></item><item><title>How can I convert my AutoIT application into C++?</title><link>https://www.autoitscript.com/forum/topic/199202-how-can-i-convert-my-autoit-application-into-c/</link><description><![CDATA[
<p>
	I've a working application written in AutoIT. However, we just found out from our client that it needs to pass a code analysis test for security reasons. The code analysis tool they're using doesn't support AutoIT, so I'll need to look into converting the code just in case the current version can't be approved.
</p>

<p>
	Out of the supported languages, C++ is the only language I'm certain doesn't require installations of additional runtime dependencies that don't already exist in the production servers (we've visual c++ 2005 redist on win2k servers).
</p>

<p>
	Is there any way to convert my existing AutoIT code to C++ without manually rewriting from scratch, or at least something that can help me speed things up if that's the only way? I still need to relearn C++ seeing as how I only touched it once in a single module during the third sem of univ. I found this thread in the forum but the solution linked within is dead.
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="7490" data-embedcontent="" data-embedid="embed5074115012" scrolling="no" src="https://www.autoitscript.com/forum/topic/22369-converting-au3-to-c/?do=embed" style="height:207px;max-width:502px;"></iframe>

<p>
	Side info for those wondering: The reason why we only found out about the code analysis test requirement now is that this was originally just an exploratory effort and neither side knew what to expect. AutoIT was chosen (internally, not by contractual agreement) before I joined the project, and I was still a fresh grad so I didn't question much. But today I'm one-manning the whole thing (it's not a large app and 100% of the code is basically mine, following some heavy redesigns after they decided to fully commit to producing this thing). Questions were only raised after I figured out that the only way to run this app without runtime dependencies is to build it as a .exe, which we do know has a whole set of security red tape to go through before it can be deployed on production servers. So...here we are.
</p>
]]></description><guid isPermaLink="false">199202</guid><pubDate>Sat, 08 Jun 2019 06:23:30 +0000</pubDate></item><item><title>Maps (beta)</title><link>https://www.autoitscript.com/forum/topic/163657-maps-beta/</link><description><![CDATA[<p>beta 3.3.13.17 is the first beta I've installed since 3.3.12.0 was released.</p>
<span></span>
<p>How do Maps work?</p>
<span></span>
<p>Seems from the help file that it's a scripting dictionary object with some methods coded into it already.</p>
<span></span>
<p>I'm probably wrong though.</p>
]]></description><guid isPermaLink="false">163657</guid><pubDate>Wed, 20 Aug 2014 08:50:26 +0000</pubDate></item><item><title>AutoIt: support in future?</title><link>https://www.autoitscript.com/forum/topic/198850-autoit-support-in-future/</link><description><![CDATA[
<p>
	Hi! I really like AutoIt!
</p>

<p>
	Can cessation of programming language support in future? For example in ten years.. 2030..
</p>

<p>
	..what are the perspectives of language in the future? ..latest versions rarely come out((
</p>

<p>
	I confess: i writing a big program.. i worry will not disappear AutoIt in the future?
</p>

<p>
	Me it is not too late switch to C#..
</p>

<p>
	AND:
</p>

<p>
	1. Sorry my english language.<br />
	2. I will be glad to any messages.
</p>

<p>
	<img alt=":)" data-emoticon="" height="20" src="https://www.autoitscript.com/forum/uploads/emoticons/default_smile.png.11111111111111111111111111111111.png" srcset="https://www.autoitscript.com/forum/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /></p>
]]></description><guid isPermaLink="false">198850</guid><pubDate>Mon, 06 May 2019 14:16:05 +0000</pubDate></item><item><title>SciTE: can't delete parameters permanently</title><link>https://www.autoitscript.com/forum/topic/198182-scite-cant-delete-parameters-permanently/</link><description><![CDATA[
<p>
	Hi,
</p>

<p>
	if I open the parameters in <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> with Shift+F8 the 4 fields are always prefilled with 4 pathes I set a long time ago. I can delete them now or set them new and these will stay as long as <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> stays opened. But the moment I close <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> and start it again, the 4 older pathes are set again. Normally these 4 fields should be empty.
</p>

<p>
	Where is the place where these old parameters are set?
</p>

<p>
	Regards, Simpel
</p>
]]></description><guid isPermaLink="false">198182</guid><pubDate>Thu, 14 Mar 2019 13:56:54 +0000</pubDate></item><item><title>scite: open file (by doubleclick) in tab while able to open multiple windows manually?</title><link>https://www.autoitscript.com/forum/topic/198652-scite-open-file-by-doubleclick-in-tab-while-able-to-open-multiple-windows-manually/</link><description><![CDATA[
<p>
	Hello.
</p>

<p>
	I am strugling with scite opening files. My desired behaviour is doubleclicking scripts opens it in existing scite window in new tab, (works when I set check.if.already.open=1), but I also want an option to open another scite window by doubleclicking scite directly (works when I set check.if.already.open=0). But when its 0, doubleclicking script always opens it in new window instead of in tab, and setting it to 1 dont allow me to open more windows if I want to. Is there any way to achieve it? (Win 7)
</p>

<p>
	 
</p>

<p>
	Bonus question: idk why, but closing scite will not remember my last opened files, so on next doubleclick on script will open that script only, effectively closing all other scripts. If I open by scite shortcut dorectly, last open scripts are kept open, but if I by mistake open scite by script, I have to reopen all previous scripts again. How can I set that no matter the way scite opens, it will also open all scripts it had open when I close it?
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>
]]></description><guid isPermaLink="false">198652</guid><pubDate>Sat, 20 Apr 2019 09:40:10 +0000</pubDate></item><item><title>TCPStartUp() in a UDF - best practice?</title><link>https://www.autoitscript.com/forum/topic/198651-tcpstartup-in-a-udf-best-practice/</link><description><![CDATA[
<p>
	as i understand, TCPStartUp() works for the entire process, and is scope-agnostic. suppose i'm writing a UDF that makes use of TCP. i neither know nor care if the calling script uses TCP too. the calling script may or may not call TCPStartUp() or TCPShutDown() at its discretion. should i be concerned about that at all?
</p>

<p>
	my initial thought was to mandatory call TCPStartUp() in my UDF, and register an OnExit function for TCPShutDown(). but what if the calling script does the same? what if the calling script calls TCPShutDown() while my UDF is using it still?
</p>

<p>
	do i need to test for TCP status at the beginning of each function in my UDF, so i can start it if it isn't started yet? that seems too inelegant.
</p>

<p>
	ideas?
</p>
]]></description><guid isPermaLink="false">198651</guid><pubDate>Sat, 20 Apr 2019 09:05:56 +0000</pubDate></item><item><title>Utilising existing GUI code in koda.</title><link>https://www.autoitscript.com/forum/topic/184535-utilising-existing-gui-code-in-koda/</link><description><![CDATA[
<p>
	I have a program I made long ago for something but I never saved the koda file so it would make it a complete pain for me to visually tweak anything because as far as I am aware, I would have to design an entirely new GUI.
</p>

<p>
	Would it be possible for you guys at AutoIt to add functionality to Koda so that you can take an existing GUI section, with while loop and cases and all and then koda would literally build it ready for tweaking and where existing things still exist and have been tweaked, it would tweak such details and keep all the existing case information and added formatting things that were manually tweaked etc?
</p>

<p>
	This would be really amazing and I feel that other people would benefit from it. I can't be the only person who makes a GUI, doesn't save it and then has no problems making minor tweaks in-code but struggles like hell to go rearranging things perfectly. That is where using a GUI (koda) to make and arrange a GUI you are making, makes everything easy and pleasure to deal with.
</p>

<p>
	<strong>tldr;</strong>
</p>

<p>
	Example:<br />
	A friend gives me his code and wants help. The GUI is just a mess, but trying to do all the alignment and positioning all by digits in code would be a pain. I cannot just hallucinate where everything is based on pixel locations and sizes. So I would take the entire GUI chunk of code, all the form/controls/formatting functions/while loop/switch/case in it's entirety and paste it into an area of Koda and press a button. Koda would then build the GUI on the screen, placing all the controls and formatting them with the instructions that may have been added and keeps the case information as-is. Then when you make your alterations in Koda, you go to export it and it makes an entirely new export that re-makes (from scratch as if you had made this GUI from scratch) all the code for controls, size, placement etc and then also adds all the existing case code back as part of the code you then send (or manually copy/paste as I do) to <abbr title="AutoIt Editor (SCIntilla based Text Editor)"><abbr title="AutoIt Editor (SCIntilla based Text Editor)"><abbr title="AutoIt Editor (SCIntilla based Text Editor)"><abbr title="AutoIt Editor (SCIntilla based Text Editor)">Scite</abbr></abbr></abbr></abbr> editor.
</p>

<p>
	Is there any chance this could be implemented? I think this could help a lot of people with their own scripts and others'.
</p>
]]></description><guid isPermaLink="false">184535</guid><pubDate>Tue, 13 Sep 2016 15:15:33 +0000</pubDate></item><item><title>Au3Stripper request: #Au3Stripper_Skip_On, #Au3Stripper_Skip_Off</title><link>https://www.autoitscript.com/forum/topic/198550-au3stripper-request-au3stripper_skip_on-au3stripper_skip_off/</link><description><![CDATA[
<p>
	..coding ..., I'm changing my style of coding to something more manageable. I make more #includes and test those, then those, are part of the main script. Ala UDF ( but not a UDF, just independently running )<br />
	While coding and testing each file I write a bunch of code that is not desired in the final stripped script.<br />
	To remove those lines I do not want in the ( obfuscated by /RenameMinimum ) stripped file, I've added an option:<br />
	 #Au3Stripper_Skip_On and #Au3Stripper_Skip_Off
</p>

<p>
	I implemented it, by editing the AutoIt3Wrapper 
</p>

<pre class="ipsCode prettyprint lang-autoit">
... ...
			Case $H_COMPILE, $H_SaveOnly
				; Validate Extra resource Information
				$Au3StripperCmdLineRaw = GUICtrlRead($H_Au3Stripper_Parameters) ; added this
                
... ...

		    Au3Stripper_rcwl($ScriptFile_In_stripped) ; added this

			; Run au3check on the stripped source
			If $ExitCode &gt; -1 And $ExitCode &lt; 999 And $INP_Run_AU3Check = &quot;y&quot; Then
				Run_Au3Check($ScriptFile_In_stripped)
			EndIf
		Else
			__ConsoleWrite(&quot;! *** Au3Stripper Error: *** Skipping Au3Stripper: &quot; &amp; $Au3Stripperpgm &amp; &quot; Not Found !&quot; &amp; @CRLF &amp; @CRLF)
			$ScriptFile_In_stripped = $ScriptFile_In
			$INP_Run_Au3Stripper = &quot;n&quot;
		EndIf
		$ScriptFile_In = $ScriptFile_In_stripped
	EndIf
EndIf
#EndRegion Run Au3Stripper

Func Au3Stripper_rcwl($ScrptFl_In_strppd) ; added this
	If Not StringInStr($Au3StripperCmdLineRaw, &quot;/rcwl&quot;) Then Return
	Local $s = &quot;&quot;, $a = FileReadToArray($ScrptFl_In_strppd)
	Local $w = 0, $i = 0, $h, $n, $u = UBound($a) - 1
	For $n = 0 To $u

		If StringInStr($a[$n], &quot;#Au3Stripper_Skip_On&quot;) Then $w = 1
		If StringInStr($a[$n], &quot;#Au3Stripper_Skip_Off&quot;) Then
			$w = 0
			$i += 1
			ContinueLoop
		EndIf
		If $w Then
			$i += 1
			ContinueLoop
		EndIf

		If StringInStr($a[$n], &quot;ConsoleWrite(&quot;) Then
			$i += 1 ;    ..this part is the one that removes
			ContinueLoop ; the &quot;ConsoleWrite&quot; but I undertand that may
		EndIf ;            lead to more problems that solutions. Not part of the request.
		$s &amp;= $a[$n] &amp; @CRLF
	Next
	$h = FileOpen($ScrptFl_In_strppd, 2)
	If $h = -1 Then
		__ConsoleWrite(&#39;!&gt; Au3Stripper_rcwl failed to open &quot;&#39; &amp; $ScrptFl_In_strppd &amp; &#39;&quot;&#39; &amp; @CRLF)
	EndIf
	FileWrite($h, $s)
	FileClose($h)
	__ConsoleWrite(&#39;--- &gt;  removed &#39; &amp; $i &amp; &#39; extra lines due to /rcwl option.  (mod.)&#39; &amp; @CRLF)
EndFunc   ;==&gt;Au3Stripper_rcwl

#Region Compile the script
... ...</pre>

<p>
	so I add
</p>

<pre class="ipsCode prettyprint lang-autoit">
... ...
ConsoleWrite(Chr(0) &amp; &#39;#Au3Stripper_Skip_On&#39; &amp; @CRLF)
If &quot;my_script_testing.au3&quot; = @ScriptName Then Exit the_func_Ill_Use_later()
ConsoleWrite(Chr(0) &amp; &#39;#Au3Stripper_Skip_Off&#39; &amp; @CRLF)
... ...</pre>

<p>
	...so, I've solved my problem, so what do I request ?.  Nothing really, I think it would be welcomed to have this ON/OFF as part of Au3Stripper
</p>

<p>
	<span class="ipsEmoji">😀</span> <span style="color:#95a5a6;"><em>( the emoji is to persuade you ) <img alt=";)" data-emoticon="" height="20" src="https://www.autoitscript.com/forum/uploads/emoticons/default_wink.png.11111111111111111111111111111111.png" srcset="https://www.autoitscript.com/forum/uploads/emoticons/wink@2x.png 2x" title=";)" width="20" /></em></span>
</p>
]]></description><guid isPermaLink="false">198550</guid><pubDate>Fri, 12 Apr 2019 21:58:19 +0000</pubDate></item><item><title>Abbreviation Manager bug</title><link>https://www.autoitscript.com/forum/topic/198415-abbreviation-manager-bug/</link><description><![CDATA[
<p>
	Hello
</p>

<p>
	To reproduce the bug:  open Abbreviation Manager (Menu &gt; Tools &gt; SciTe Config &gt; Other Tools &gt; Run Abbrev Manager).
</p>

<p>
	In the text box at top-left, enter your new abbreviation name and click button "Create".
</p>

<p>
	In the editor that opens, if you put a pipe character in your code (which you need there to place the cursor), then it messes up how the entry goes into this file:
</p>

<p>
	%LOCALAPPDATA%\AutoIt v3\SciTE\au3UserAbbrev.properties
</p>

<p>
	it seems to split the entry (at the pipe) into two lines so what should be:
</p>

<pre class="ipsCode prettyprint lang-autoit">
mb1=MsgBox(1, &#39;&#39;, &#39;|&#39;) </pre>

<p>
	ends up as
</p>

<pre class="ipsCode prettyprint lang-autoit">
&#39;)

mb1=MsgBox(1, &#39;&#39;, &#39;</pre>

<p>
	The second file is:
</p>

<p>
	%LOCALAPPDATA%\AutoIt v3\SciTE\au3.keywords.user.abbreviations.properties
</p>

<p>
	I'm can't seem to reproduce it, but I am pretty sure that at some point while experimenting with this, this file ended up blank (so none of my abbreviations worked).
</p>

<p>
	My current workaround is to write the code (with no pipe char), click the "Add" button (closes the editor), then click the "Edit" button, and put the pipe in.
</p>
]]></description><guid isPermaLink="false">198415</guid><pubDate>Tue, 02 Apr 2019 00:46:27 +0000</pubDate></item><item><title>Start second instance of SciTE, just sometimes</title><link>https://www.autoitscript.com/forum/topic/185583-start-second-instance-of-scite-just-sometimes/</link><description><![CDATA[
<p>
	<br />
	Hello,
</p>

<p>
	 
</p>

<p>
	I found a thread already covering this, by editing the <abbr title="AutoIt Editor (SCIntilla based Text Editor)">scite</abbr> profile file.
</p>

<p>
	 
</p>

<p>
	Here Jos mentioned, to use the USER file instead of the GLOBAL one.
</p>
<iframe data-embedcontent="" frameborder="0" src="https://www.autoitscript.com/forum/topic/113341-multiple-instances-of-scite/?do=embed&amp;embedComment=867468&amp;embedDo=findComment"></iframe>

<p>
	I sometimes would like to have a second main window of <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr>, when I want to use two monitors to copy/paste parts of one script to a new, second one.
</p>

<p>
	 
</p>

<p>
	So maybe there is also a solution, to "split" two scripts in one <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> instance that way, that the one script is full screen on monitor #1, the other one on monitor #2?<br /><br />
	Or just to override the "one-instance-check" of <abbr title="AutoIt Editor (SCIntilla based Text Editor)">scite</abbr> intentionally, for a single "second-instance-start" ?<br /><br /><br />
	Any suggestions appreciated, regards, Rudi.
</p>
]]></description><guid isPermaLink="false">185583</guid><pubDate>Wed, 16 Nov 2016 12:24:33 +0000</pubDate></item><item><title>Install Autoit on Server 2016</title><link>https://www.autoitscript.com/forum/topic/197689-install-autoit-on-server-2016/</link><description><![CDATA[
<p>
	I have been trying to install Autoit on a Server 2016 machine. For some reason the install just stops. No error message. If you look  in the event viewer, there is a reference to Cortana but that is about it.
</p>

<p>
	Anyone been through this?
</p>
]]></description><guid isPermaLink="false">197689</guid><pubDate>Wed, 06 Feb 2019 22:00:12 +0000</pubDate></item><item><title>SciTE 4.1.2 Scheme Reset Bug (and how to fix it)</title><link>https://www.autoitscript.com/forum/topic/197700-scite-412-scheme-reset-bug-and-how-to-fix-it/</link><description><![CDATA[
<p>
	After testing various schemes (themes) in the settings for the newest <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> editor (v. 4.1.2), I discovered that I wasn't able to fully reset it back to its original colors (See snapshot). Specifically, after applying the "__SciTE4AutoIt3_Dark ==&gt; Dark SciTE4AutoIt3 Color scheme."
</p>

<p>
	The problem: The <strong>Line number column</strong> and the <strong>Output console</strong> do <strong>not</strong> reset back to their original colors.
</p>

<p>
	The Solution: Delete or edit the user config file. You can safely delete the config file because it will completely regenerate on <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> restart- with it's factory (out of the box) color scheme.
</p>

<p>
	I also wrote a small script that will do it programatically: <a href="https://www.autoitscript.com/forum/topic/197699-scite-version-412-scheme-reset/" rel="">How to reset <abbr title="AutoIt Editor (SCIntilla based Text Editor)">SciTE</abbr> scheme in version 4.1.2</a>.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p><a href="https://www.autoitscript.com/forum/uploads/monthly_2019_02/5c5c99496add4_SciTEschemebug.PNG.ab92e5b9ed35fc087b837b76fc1aff92.PNG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="60328" src="https://www.autoitscript.com/forum/uploads/monthly_2019_02/5c5c995222cdb_SciTEschemebug.thumb.PNG.d72f0c8dc9b0f98db8823cb1dfa2c73a.PNG" class="ipsImage ipsImage_thumbnailed" alt="SciTE scheme bug.PNG"></a></p>]]></description><guid isPermaLink="false">197700</guid><pubDate>Thu, 07 Feb 2019 20:57:48 +0000</pubDate></item><item><title>osquery</title><link>https://www.autoitscript.com/forum/topic/165341-osquery/</link><description><![CDATA[<p>This looks awesome!</p>
<span></span>
<p><a href="https://code.facebook.com/posts/844436395567983/introducing-osquery/" rel="external nofollow">https://code.facebook.com/posts/844436395567983/introducing-osquery/</a></p>
]]></description><guid isPermaLink="false">165341</guid><pubDate>Thu, 30 Oct 2014 13:13:10 +0000</pubDate></item><item><title>AutoIt 3.3.10.0 without default icon, and pragma features</title><link>https://www.autoitscript.com/forum/topic/157262-autoit-33100-without-default-icon-and-pragma-features/</link><description><![CDATA[
<p>Hi,</p>
<span></span>
<p>I test new AutoIt 3.3.10.0 : first of all, thank you for that new version and features included inside.</p>
<span></span>
<p>It seems when we compile a script, now there is not any default icon : is it the new default setting ?</p>
<span></span>
<p>For now, into AutoIt.chm::/html/intro/compiler.htm I see :</p>

				/icon
			
				&lt;iconfile.ico&gt; Specifies the path and file name of the icon to use for the compiled file.
			
				The AutoIt icon
		<p> </p>
<p>So, maybe it's an AutoIt bug, or help is not up to date ?</p>
<span></span>
<p>In fact, it's not a real problem, because I can change reg keys to include an icon by default when I compile.</p>
<span></span>
<p>Also, I discovered your new #pragma features, that includes the ability to include a specific icon for a script, and it works perfectly.</p>
<span></span>
<p>Please, can you add precisions about I have said ?</p>
<span></span>
<p>Thank you <img src="https://www.autoitscript.com/forum/uploads/emoticons/default_wink.png.11111111111111111111111111111111.png" alt=";)"></p>
]]></description><guid isPermaLink="false">157262</guid><pubDate>Tue, 24 Dec 2013 07:32:07 +0000</pubDate></item></channel></rss>
