Jump to content



Photo

Latest Beta


  • Please log in to reply
182 replies to this topic

#1 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 04 February 2012 - 10:28 PM

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)

Spoiler


The following changes are script breaking changes:
Spoiler


Report issues here.
Download here.





#2 guinness

guinness

    guinness

  • MVPs
  • 10,372 posts

Posted 05 February 2012 - 01:27 AM

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.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_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()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_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()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013


#3 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 05 February 2012 - 02:40 AM

"Null" is a true zero (INT32) or not?

#4 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,694 posts

Posted 05 February 2012 - 04:29 AM

Null is an object reference value for COM I assume.

#5 ProgAndy

ProgAndy

    You need AutoItObject

  • MVPs
  • 2,508 posts

Posted 05 February 2012 - 11:36 AM

"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 by ProgAndy, 05 February 2012 - 11:36 AM.

  • Digisoul likes this
*GERMAN* Posted Image [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

#6 AdmiralAlkex

AdmiralAlkex

    I'm on a boat

  • MVPs
  • 4,490 posts

Posted 05 February 2012 - 11:42 AM

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).



#7 ProgAndy

ProgAndy

    You need AutoItObject

  • MVPs
  • 2,508 posts

Posted 05 February 2012 - 12:03 PM

Helpfile explains it good.

Yes, finally there is no need for If $string="" Then $dllcalltype = "ptr" anymore :)
*GERMAN* Posted Image [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

#8 UEZ

UEZ

    Never say never

  • MVPs
  • 3,606 posts

Posted 05 February 2012 - 07:28 PM

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 by UEZ, 05 February 2012 - 07:29 PM.

 
The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯


#9 jaberwocky6669

jaberwocky6669

    Dull light.

  • Active Members
  • PipPipPipPipPipPip
  • 2,078 posts

Posted 05 February 2012 - 10:43 PM

Can somebody confirm that behaviour?

Happens ot me too. Windows 7 x64

#10 Xenobiologist

Xenobiologist

    Xx Code~Mega xX

  • MVPs
  • 4,729 posts

Posted 06 February 2012 - 09:38 AM

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.0

ConsoleWrite(_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   ;==>WMIDateStringToDate


As 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:1


By the way, there is a mistake in the helpfile ObjGet : Returns empty sring and sets @error.
Mega

Edited by Xenobiologist, 06 February 2012 - 09:54 AM.

Scripts & functions Organize Includes Let Scite organize the include files *newYahtzee 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

#11 trancexx

trancexx

    Hm, I really shouldn't.

  • Active Members
  • PipPipPipPipPipPip
  • 5,192 posts

Posted 06 February 2012 - 10:39 AM

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


#12 Xenobiologist

Xenobiologist

    Xx Code~Mega xX

  • MVPs
  • 4,729 posts

Posted 06 February 2012 - 10:54 AM

Thanks for clarification.
(Please move the post to somewhere else, avoiding a discussion here)
Scripts & functions Organize Includes Let Scite organize the include files *newYahtzee 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

#13 wraithdu

wraithdu

    I am less fun than a twisted ankle.

  • MVPs
  • 2,137 posts

Posted 06 February 2012 - 03:40 PM

So is COM broken in this beta then? Just ObjGet? Just ObjGet in certain situations? Can you clarify that a bit? Thanks!

#14 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 06 February 2012 - 03:48 PM

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 by Valik, 06 February 2012 - 03:50 PM.
Re-worded poorly worded sentence.


#15 trancexx

trancexx

    Hm, I really shouldn't.

  • Active Members
  • PipPipPipPipPipPip
  • 5,192 posts

Posted 07 February 2012 - 12:16 PM

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

It'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 by trancexx, 07 February 2012 - 12:58 PM.

eMyvnE


#16 trancexx

trancexx

    Hm, I really shouldn't.

  • Active Members
  • PipPipPipPipPipPip
  • 5,192 posts

Posted 07 February 2012 - 12:27 PM

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


#17 wraithdu

wraithdu

    I am less fun than a twisted ankle.

  • MVPs
  • 2,137 posts

Posted 08 February 2012 - 04:14 AM

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?

#18 trancexx

trancexx

    Hm, I really shouldn't.

  • Active Members
  • PipPipPipPipPipPip
  • 5,192 posts

Posted 08 February 2012 - 08:39 AM

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?
  • Manadar likes this

eMyvnE


#19 jaberwocky6669

jaberwocky6669

    Dull light.

  • Active Members
  • PipPipPipPipPipPip
  • 2,078 posts

Posted 08 February 2012 - 08:42 AM

It shows -1 on my machine. The msb is set so that makes it negative right?

#20 trancexx

trancexx

    Hm, I really shouldn't.

  • Active Members
  • PipPipPipPipPipPip
  • 5,192 posts

Posted 08 February 2012 - 08:52 AM

It shows -1 on my machine.

Your machine is fine. :)

eMyvnE





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users