Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Some issues in VBScript to AutoIt Converter with the new version of Autoit V3.3.14.2

Hello everybody   ✌
VBScript to AutoIt Converter ==> https://www.autoitscript.com/forum/topic/12143-vbscript-to-autoit-converter…

This script was written with version 3.1.1 it worked before without problem, but with the new version of Autoit there are some issues on it  😖  😧
So, if anyone among you gives us a solution
My work environment:
Quote:AutoIt Version: V3.3.14.2
Windows Version: WIN_10 [X86]
Language: 040C
Thank you !
You need to add the following function to the UDF's they were depreciated on the later updates....there is a code error as well somewhere in the Func _ArrayAddArray but not had time to find it...good luck

Func _ArrayCreate($v_0, $v_1 = 0, $v_2 = 0, $v_3 = 0, $v_4 = 0, $v_5 = 0, $v_6 = 0, $v_7 = 0, $v_8 = 0, $v_9 = 0, $v_10 = 0, $v_11 = 0, $v_12 = 0, $v_13 = 0, $v_14 = 0, $v_15 = 0, $v_16 = 0, $v_17 = 0, $v_18 = 0, $v_19 = 0, $v_20 = 0)
Local $av_Array[21] = [$v_0, $v_1, $v_2, $v_3, $v_4, $v_5, $v_6, $v_7, $v_8, $v_9, $v_10, $v_11, $v_12, $v_13, $v_14, $v_15, $v_16, $v_17, $v_18, $v_19, $v_20]
ReDim $av_Array[@NumParams]
Return $av_Array
EndFunc
Func _Iif($fTest, $vTrueVal, $vFalseVal)
If $fTest Then
Return $vTrueVal
Else
Return $vFalseVal
EndIf
EndFunc


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Freak AnonAug 3, 2023 07:03 AM 4 614 Aug 3, 2023 07:03 AM
Last Post: PELock
by VEESZACNov 25, 2020 02:01 PM 4 124 Nov 25, 2020 02:01 PM
Last Post: VEESZAC
by Z10n666Nov 4, 2017 01:08 PM 0 118 Nov 4, 2017 01:08 PM
Last Post: Z10n666