Jump to content

AutoIt v3.3.9.12 Beta


Jon
 Share

Recommended Posts

  • Administrators

File Name: AutoIt v3.3.9.12 Beta

File Submitter: Jon

File Submitted: 24 Jul 2013

File Category: Beta



3.3.9.12 (24th July, 2013) (Beta)
AutoIt:
- Added: @LocalAppDataDir for local AppData (@AppDataDir is the roaming location)

- Fixed: 3rd time lucky changes for Windows XP RTM compatability. (Un)RegisterTypeLibForUser loaded dynamically.
- Fixed: Regression in WinGetClassList() with missing line feeds.
- Fixed: Better operator precedence handling for tenary operator.

Aut2Exe:
- Changed: Aut2Exe makes all resource changes (version info, manifest, etc) in a single pass. Should be quicker.

UDFs:
- Added: _FileListToArrayRec now accepts the Default keyword to use default parameters.

- Changed: _ReplaceStringInFile() will only overwrite the file if instances of the replacement were found.



Click here to download this file

Link to comment
Share on other sites

I just found a regression in ternary for $tagREBARBANDINFO

#include <StructureConstants.au3>

Local $tag = $tagREBARBANDINFO

Which return nothing

Perhaps _Max(),_Min() as I remeber they are using ternary too

Cheers

JP

Link to comment
Share on other sites

It's because of the changes to precedence. ? has a lower precedence than & so it is parsed as the following:

Local $test

If "test : " & (1 > 2) Then
    $test = "true"
Else
    $test = "false"
EndIf

Basically you now have to use this instead:

$test = "test : " & (1 > 2 ? "true" : "false")

Which is more readable, and means parenthesis are only needed when the operator appears inside other expressions.

Edited by Mat
Link to comment
Share on other sites

It's because of the changes to precedence. ? has a lower precedence than & so it is parsed as the following:

Local $test

If "test : " & (1 > 2) Then
    $test = "true"
Else
    $test = "false"
EndIf

Basically you now have to use this instead:

$test = "test : " & (1 > 2 ? "true" : "false")

Which is more readable, and means parenthesis are only needed when the operator appears inside other expressions.

Thanks I correct as you mention

Link to comment
Share on other sites

File Name: AutoIt v3.3.9.12 Beta

...

- Fixed: 3rd time lucky changes for Windows XP RTM compatability. (Un)RegisterTypeLibForUser loaded dynamically.

 

I can confirm that AutoIt3 works fine, as does Au3Info, Au3check, Aut2Exe, and the bundled version of SciTE.  I've only run it against a few personal scripts but everything seems to work as expected.

Link to comment
Share on other sites

Hello,

I noticed that Aut2Exe "fails" when compiling from ScITE with the #pragma out directive.

Here is my code from the File Test.au3:

#pragma compile(out, Test123.exe)
#pragma compile(FileVersion, 1.2.3.4)

MsgBox(0,"","Test")

This is the output when i hit ALT+F7 in ScITE:

 

>Running:(3.3.9.12):C:\Program Files (x86)\AutoIt3\Beta\aut2exeaut2exe.exe  /in "C:UsersusernameDesktopTest.au3" /out "C:UsersusernameAppDataLocalTemp~AU3axzzstv.exe" /nopack /comp 2
!>07:57:22 Aut2exe.exe ended errors because the target exe wasn't created, abandon build.rc:9999
>Exit code: 0    Time: 1.977

 

The Test123.exe is created successfully. Running Aut2Exe.exe and selecting the .au3 doesn't show any error.

Compiling this code from ScITE shows no error, but it creates a Test.exe:

#pragma compile(FileVersion, 1.2.3.4)

MsgBox(0,"","Test")

 

>Running:(3.3.9.12):C:\Program Files (x86)\AutoIt3\Beta\aut2exeaut2exe.exe  /in "C:UsersusernameDesktopTest.au3" /out "C:UsersusernameAppDataLocalTemp~AU3aafpxbr.exe" /nopack /comp 2
+>08:08:51 Aut2exe.exe ended.rc:0
+>08:08:51 Created program:C:UsersusernameDesktopTest.exe
>Exit code: 0    Time: 2.758

 

I noticed this since Beta 3.3.9.6.

Edited by saudumm
Link to comment
Share on other sites

To be honest, I think that using beta functions in the UDFs for the same beta isn't a great idea for keeping your sanity...

Was the remark to me?

The ternary usage in beta has been introduced first by Guinness after trancexx implementation

Link to comment
Share on other sites

Was the remark to me?

The ternary usage in beta has been introduced first by Guinness after trancexx implementation

I only did a couple though.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

Do not use in-progress beta functions in the beta UDFs.

Understood and noted. Sorry.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

  • Administrators

Understood and noted. Sorry.

 

Nothing to be sorry about. You can use what you want but if I change the functionality or rip an entire feature out then it's going to break a lot of things.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...