Valik Posted February 4, 2012 Posted February 4, 2012 Special Note: This is an official beta release but it is not digitally signed. Only Jon has the certificate used for digital signatures and the last time I checked I was not Jon.3.3.9.0 (4th February, 2012) (Beta)AutoIt:- Added: Interpreter accepts 64bit hex numbers.- Added: Keyword Null.- Added #488: Third parameter for ObjGet() function to specify object instance.- Changed: upx.exe from 3.07 -> 3.08.- Changed: ReDim works on arrays declared as static.- Changed: Run-time errors on objects no longer fatal (execution of the script is not halted).- Fixed #2067: -2147483648 not stored as int32.- Fixed #2003: ProcessWaitClose() using too much CPU.- Fixed #2076: COM VARIANT not correctly set for boolean True.- Fixed #2015: DllCallbackRegister() mangles floating point numbers under x64.- Fixed: x64 DllCall not setting double type parameters correctly.- Fixed: DllCallbackRegister() not returning floating point types correctly.- Fixed: Different issues with Static keyword.- Fixed #2078: Error in com expression.- Fixed #2073: Unexpected termination with ContinueLoop.- Fixed #1485: Unexpected termination with ContinueCase.- Fixed: Crash in ObjEvent() for byref object parameters.- Fixed #2068: Repeated calls to Acos() no longer produce strange results. NOTE: This fix increases the size of AutoIt by approximately 60KB.- Fixed: ObjGet() fails validating class identifier properly when first parameter for the function is specified.- Fixed #2111: RunAs() could fail even if a user had the correct permissions to use it.UDFs:- Added: _WinAPI_GetProcAddress() function.- Fixed #2077: hwnd safety check in _GUICtrlRichEdit_Create()- Fixed #2088: _ArrayDisplay not handling Default parameters correctly.- Fixed #2112: "Report Log Window" unresponsive when the script is closed.- Fixed: _GUICtrlRichEdit_* documentation error return codes.- Fixed #1970: _FTP_ListToArray() fails to retrieve Dir or File only.Au3Check:- Fixed #2113: Object's properties in names of keywords treated as keywords.- Added: Generating error for hex numbers longer than 16 characters.- Changed: Message case changed to support SciTE inline errors.- Changed: An error is now generated for non-supported file encodings (Previous behavior was to silently pass the script).Au3Record:- Fixed #2083: There is no longer an error about a missing DLL.The following changes are script breaking changes:None so far.Report issues here.Download here.
guinness Posted February 5, 2012 Posted February 5, 2012 Looks alright so far, but I gave Au3Record a quick fire for the first time ever and it seems when the script is saved WinWaitActivate is displaying as _WinWaitActivate instead. I'll post a bug report but wanted to make it clear I don't use Au3Record. 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 parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
Yashied Posted February 5, 2012 Posted February 5, 2012 "Null" is a true zero (INT32) or not? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
Richard Robertson Posted February 5, 2012 Posted February 5, 2012 Null is an object reference value for COM I assume.
ProgAndy Posted February 5, 2012 Posted February 5, 2012 (edited) "Null" is a true zero (INT32) or not?Null is a true NULL stored as a keyword just like Default, True and False. It differs from Nullpointer, Integer 0, Empty String. In a COM_VARIANT it should be represented as VT_NULL, maybe VT_EMPTY. If you convert Null to Integer, a zero should be the result Edited February 5, 2012 by ProgAndy Digisoul 1 *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
AdmiralAlkex Posted February 5, 2012 Posted February 5, 2012 Helpfile explains it good.Null evaluates only to Null, still in mathematical operations this keyword has value of 0, and as string it has no value (empty string).COM method will receive Null as VT_NULL VARIANT. DllCall's wstr and str types will be set to NULL (pointers). .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
ProgAndy Posted February 5, 2012 Posted February 5, 2012 Helpfile explains it good.Yes, finally there is no need for If $string="" Then $dllcalltype = "ptr" anymore *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
UEZ Posted February 5, 2012 Posted February 5, 2012 (edited) When I start AutoIt Windows Screenshooter with this beta (3.3.90) and hovering buttons then the buttons disappearing and coming back again.Currently I don't know the reason.Can somebody confirm that behaviour?Tested on Win7 x64.Br,UEZ Edited February 5, 2012 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
jaberwacky Posted February 5, 2012 Posted February 5, 2012 Can somebody confirm that behaviour?Happens ot me too. Windows 7 x64 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
Xenobiologist Posted February 6, 2012 Posted February 6, 2012 (edited) Do I miss a change in syntax? What is wrong with this piece of code? Works in 3.3.8.1 but not in 3.3.9.0ConsoleWrite(_bootTime() & @LF) Func _bootTime() Local $objWMIService = ObjGet('winmgmts:{impersonationLevel=impersonate}!.rootcimv2', '') ConsoleWrite($objWMIService & ' ' & @error & @LF) ConsoleWrite(IsObj($objWMIService) & ' Yes/no?' & @LF) Local $colSettings = $objWMIService.ExecQuery('Select * from Win32_OperatingSystem') For $objOperatingSystem In $colSettings Next ;~ WMIDateStringToDate($objOperatingSystem.InstallDate)) Return WMIDateStringToDate($objOperatingSystem.LastBootUpTime) EndFunc ;==>_bootTime Func WMIDateStringToDate($dtmDate) Return (StringMid($dtmDate, 7, 2) & '.' & _ StringMid($dtmDate, 5, 2) & '.' & StringLeft($dtmDate, 4) _ & ' ' & StringMid($dtmDate, 9, 2) & ':' & StringMid($dtmDate, 11, 2) & ':' & StringMid($dtmDate, 13, 2)) EndFunc ;==>WMIDateStringToDateAs usual, if this is not the thread for asking that, then please move/delete it without a big drama. Thanks!>Running:(3.3.9.0):C:ProgrammeAutoIt3betaautoit3.exe "C:AutoitForumTests_getBootTime.au3" -2147221005 0 Yes/no? "C:AutoitForumTests_getBootTime.au3" (8) : ==> Error in expression.: Local $colSettings = $objWMIService.ExecQuery('Select * from Win32_OperatingSystem') Local $colSettings = ^ ERROR ->10:38:12 AutoIT3.exe ended.rc:1By the way, there is a mistake in the helpfile ObjGet : Returns empty sring and sets @error.Mega Edited February 6, 2012 by Xenobiologist Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
trancexx Posted February 6, 2012 Posted February 6, 2012 You missed nothing (except the thread yes). ObjGet was rewritten, but it wasn't finished. It's was already reported to me. Next beta will have complete code, actually already has. That code shows another problem, printed error should have been 'Variable must be of type "Object"'. ♡♡♡ . eMyvnE
Xenobiologist Posted February 6, 2012 Posted February 6, 2012 Thanks for clarification. (Please move the post to somewhere else, avoiding a discussion here) Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
wraithdu Posted February 6, 2012 Posted February 6, 2012 So is COM broken in this beta then? Just ObjGet? Just ObjGet in certain situations? Can you clarify that a bit? Thanks!
Valik Posted February 6, 2012 Author Posted February 6, 2012 (edited) I've moved the posts here (and one by guinness) as well. While he and I did briefly go off-topic discussing music in the other thread it is about upcoming betas (hence the name). That is, things that may need to be done before a beta comes out, what's holding up a release (my rage post at security structures), et cetera. Discussions on released betas (and whether or not the broken things are fixed) still goes here. Of course if you guys wish to bring something up without the public getting in the way then make a new thread in the MVP forum. Edited February 6, 2012 by Valik Re-worded poorly worded sentence.
trancexx Posted February 7, 2012 Posted February 7, 2012 (edited) When I start AutoIt Windows Screenshooter with this beta (3.3.90) and hovering buttons then the buttons disappearing and coming back again.Currently I don't know the reason.Can somebody confirm that behaviour?Tested on Win7 x64.Br,UEZIt's x86 callback. Currently AutoIt pushes data onto FPU stack regardless of the type of return. This is opposite of what it did before.The problem with the code before was that float and double types weren't returned by callback functions at all.Why this causes problems to windows hooks is not clear to me but apparently it does. Why FPU stack would affect procedures that don't rely on it? Maybe it's even some of our GUI code that does something that ACos() did. I hope not.Nevertheless, the code is overdoing now.As for your script... do something with it. For example, what's with that DEP thing? That's lame. Edited February 7, 2012 by trancexx ♡♡♡ . eMyvnE
trancexx Posted February 7, 2012 Posted February 7, 2012 So is COM broken in this beta then? Just ObjGet? Just ObjGet in certain situations? Can you clarify that a bit? Thanks!ObjGet with non-file monikers doesn't work in this beta. Any other COM code that worked before should work now too. ♡♡♡ . eMyvnE
wraithdu Posted February 8, 2012 Posted February 8, 2012 Nevertheless, the code is overdoing now.I'm not sure what you mean by that... You've found the problem and it will be fixed in next beta?
trancexx Posted February 8, 2012 Posted February 8, 2012 I'm not sure what you mean by that... You've found the problem and it will be fixed in next beta? Yes that's it. Anyone noticed that this is possible now: $i64bitNum = 0xFFFFFFFFFFFFFFFF ConsoleWrite($i64bitNum & @CRLF) I'm saying that because functions for bitwise operations should follow the changes with special care for backward compatibility. That said, functions that could be problematic are BitShift() and BitRotate(). wraithdu you had a stub or two into bitwise operations. Any thoughts on this? Or anyone else maybe? What are the expectations? jvanegmond 1 ♡♡♡ . eMyvnE
jaberwacky Posted February 8, 2012 Posted February 8, 2012 It shows -1 on my machine. The msb is set so that makes it negative right? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
trancexx Posted February 8, 2012 Posted February 8, 2012 It shows -1 on my machine.Your machine is fine. ♡♡♡ . eMyvnE
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now