Jump to content

Latest Beta


Jon
 Share

Recommended Posts

  • Administrators

3.3.7.14 (10th July, 2011) (Beta)

- Fixed: Bad change to IE.au3 made in 3.3.7.8

- Fixed #1956: 3.3.7.10 COM error getting reference to document in frame.

- Fixed: Attempts to use values for COM OUT parameters trapped.

Link to comment
Share on other sites

In announcement 3.3.7.14 (see ) are the links not clickable.

Go to 3.3.7.13 and they will take you right to 3.3.7.14.

[EDIT] Here

Edited by taietel
Link to comment
Share on other sites

Perhaps my fault to not send a PM to Jon. :)

Naa, Where talking beta here. Not production. (Besides, if its really something important. MVP's of other Dev's will pester Jon about it.)

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

  • Moderators

In announcement 3.3.7.14 (see ) are the links not clickable. :)

Discuss the beta here.

Report issues here.

Download here.

Fixed

Edit: Next time just report the post and one of the mods will take care of it.

Edited by big_daddy
Link to comment
Share on other sites

I'm drunk on a train home using intermittent 3G signals and can totally field that one.

The previous behavior was a retarded hack-o-mess and the new behaviour is what other sensible languages return.

:)

Thanks, I always appreciate good humor in changelogs. Perhaps this should be the official change notification. ;)

Link to comment
Share on other sites

Hello, hope i'm right here.

my script run's fine with version 3.3.2.0. now i've tried the latest beta,

and i get an "error in expression" message. it must be about the following code-snippet.

when i set it as script-comment, everything is fine. but i cant se any error there or am i blind??

local $cfile = FileOpen(@AppDataDir & "\chk.ag", 0)
$tfile = filereadline($cfile, 1)
FileClose($cfile)
if $tfile <> "ein" Then
    MsgBox(16, $interface[18], $interface[138])
    if $apt = 1 then GUICtrlSetData($c29, "")
endif
Edited by andygo
Link to comment
Share on other sites

Can you post the error message you get? So we get the line in error.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

sorry for interrupt again, but my previous posting didnt contain errors, its at another part of my script.

here i have a stand-alone-code.

if i compile this with the newest beta, the error comes up (shorty after push the test-button on gui)

#include <IE.au3>
#include <GUIConstantsEx.au3>

_IEErrorHandlerRegister ()
_IELoadWaitTimeout (1000)
$oIE = _IECreateEmbedded ()
Opt ("TrayIconHide", 1)
Opt("GuiOnEventMode", 1)
$maingui = GuiCreate("test", 305, 176)
GUISetOnEvent($GUI_EVENT_CLOSE, "_Quit")
$GUIActiveX = GUICtrlCreateObj($oIE, 2, 510, 1, 1)
$button = GUICtrlCreateButton("test", 20, 20, 50, 20)
GUICtrlSetOnEvent($button, "_test")

Local $afile = FileOpen(@TempDir & "\au-ie.htm", 2)
FileWriteLine($afile, "<form action=""http://dummy.url")
FileWriteLine($afile, """ name=""auto"" method=""post""><input type=""text"" name=""title""><textarea name=""message"" id=""vB_Editor_001_textarea"" rows=""10"" cols=""60""></textarea><input type=""hidden"" name=""securitytoken"" value=""")
FileWriteLine($afile, """ /><input type=""hidden"" name=""do"" value=""postreply"" /><input type=""hidden"" name=""t"" value=""")
FileWriteLine($afile, """ /><input type=""hidden"" name=""loggedinuser"" value=""")
FileWriteLine($afile, """ /><input type=""submit"" class=""button"" name=""sbutton"" value=""Antworten"" accesskey=""s"" tabindex=""1"" /></form>")
FileClose($afile)

GuiSetState(@sw_show, $maingui)
While 1
    sleep(20)
WEnd

func _quit()
    Exit
endfunc

func _test()
    _IENavigate ($oIE, @TempDir & "\au-ie.htm")
    $oForm = _IEFormGetObjByName ($oIE, "auto")
    $otitle = _IEFormElementGetObjByName ($oForm, "title")
    $oQuery = _IEFormElementGetObjByName ($oForm, "message")
    $oSubmit = _IEGetObjByName ($oIE, "sbutton")
endfunc

when i compile ith with version 3.3.2.0. it works. i dont understand why the errormessage comes up.

regards, andy (germany)

Link to comment
Share on other sites

That's a pretty crunchy demo, since the embedded IE control is not visible, doesn't call a valid FILE url, and the form action also uses and invalid URL. Fixing all that makes it work fine:

#include <IE.au3>
#include <GUIConstantsEx.au3>

_IEErrorHandlerRegister()
_IELoadWaitTimeout(1000)
$oIE = _IECreateEmbedded()
Opt("GuiOnEventMode", 1)
$maingui = GUICreate("test", 600, 400)
GUISetOnEvent($GUI_EVENT_CLOSE, "_Quit")
$GUIActiveX = GUICtrlCreateObj($oIE, 5, 5, 590, 355)
$button = GUICtrlCreateButton("test", 250, 365, 100, 30)
GUICtrlSetOnEvent($button, "_test")

Local $afile = FileOpen(@ScriptDir & "\Temp1.htm", 2)
FileWriteLine($afile, "<form action=""http://www.autoitscript.com")
FileWriteLine($afile, """ name=""auto"" method=""post""><input type=""text"" name=""title""><textarea name=""message"" id=""vB_Editor_001_textarea"" rows=""10"" cols=""60""></textarea><input type=""hidden"" name=""securitytoken"" value=""")
FileWriteLine($afile, """ /><input type=""hidden"" name=""do"" value=""postreply"" /><input type=""hidden"" name=""t"" value=""")
FileWriteLine($afile, """ /><input type=""hidden"" name=""loggedinuser"" value=""")
FileWriteLine($afile, """ /><input type=""submit"" class=""button"" name=""sbutton"" value=""Antworten"" accesskey=""s"" tabindex=""1"" /></form>")
FileClose($afile)

GUISetState(@SW_SHOW, $maingui)
While 1
    Sleep(20)
WEnd

Func _quit()
    Exit
EndFunc   ;==>_quit

Func _test()
    _IENavigate($oIE, "File:///" & @ScriptDir & "\Temp1.htm")
    $oForm = _IEFormGetObjByName($oIE, "auto")
    $otitle = _IEFormElementGetObjByName($oForm, "title")
    $oQuery = _IEFormElementGetObjByName($oForm, "message")
    $oSubmit = _IEGetObjByName($oIE, "sbutton")
EndFunc   ;==>_test

:)

Edit: Too snarky, too soon. Ran fine with 3.3.6.1 Prod, but failed with 3.3.7.13 and 3.3.7.14. I was thrown off by the reference to the old 3.3.2.0 version. The error is the same for both Betas:

>Running:(3.3.7.14):C:\Program Files\AutoIt3\Beta\autoit3.exe "C:\Temp\Test1.au3"    
--> IE.au3 V2.4-0 Error from function _IENavigate, $_IEStatus_InvalidObjectType
C:\Program Files\AutoIt3\Beta\Include\IE.au3 (1111) : ==> Error in expression.:
Local $o_col = $o_object.document.forms.item($s_Name)
Local $o_col = ^ ERROR
->22:20:30 AutoIT3.exe ended.rc:1

;)

The error looks like it traces back to the known issues already being discussed with __IEIsObjType() failing at ObjName().

You can avoid that check for the navigation by replacing it with the direct method:

Func _test()
    ; _IENavigate($oIE, "File:///" & @ScriptDir & "/Temp1.htm")
    $oIE.navigate("File:///" & @ScriptDir & "/Temp1.htm")
    $oForm = _IEFormGetObjByName($oIE, "auto")
    ConsoleWrite("Debug: $oForm obj name = " & ObjName($oForm) & @LF)

    ; $otitle = _IEFormElementGetObjByName($oForm, "title")
    $otitle = $oForm.elements.item("title")
    ConsoleWrite("Debug: $otitle obj name = " & ObjName($otitle) & @LF)

    ; $oQuery = _IEFormElementGetObjByName($oForm, "message")
    $oQuery = $oForm.elements.item("message")
    ConsoleWrite("Debug: $oQuery obj name = " & ObjName($oQuery) & @LF)

    $oSubmit = _IEGetObjByName($oIE, "sbutton")
    ConsoleWrite("Debug: $oSubmit obj name = " & ObjName($oSubmit) & @LF)

    _IEFormElementSetValue($otitle, "$otitle")
    _IEFormElementSetValue($oQuery, "$oQuery")
    Sleep(2000)
    _IEAction($oSubmit, "click")
EndFunc   ;==>_test

Note the _IEFormElementSetValue() functions still get the same error for the same reason.

_IEGetObjByName() succeeds getting $oSubmit, because it doesn't call __IEIsObjType(), so that works.

;)

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

hello,

your detailed answer implies that you take some time for my problem, thanks therefore.

i don't see it as snarky.

That's a pretty crunchy demo, since the embedded IE control is not visible, doesn't call a valid FILE url, and the form action also uses and invalid URL. Fixing all that makes it work fine:

not visible: i want it invisible, this function is for sending posting-data to a forum. dont worry, its NOT a bot or something illegal. i use it for posting screenshots.

Posted Image

valid FILE url: ok that was my fault.

invalid url: that was just as an example, in my script the url is valid :)

You can avoid that check for the navigation by replacing it with the direct method:

indeed, that works with the beta! i will run some more tests to watch it's stability.

Note the _IEFormElementSetValue() functions still get the same error for the same reason.

i use this at some other places in my script, have to watch it's attitude with the made changes now.

Link to comment
Share on other sites

I get what you mean about wanting to hide the embedded IE, and that doesn't necessarily mean something malicious. But when you post a demo for the purpose of getting help it should be as short, clear, and simple as possible while still reproducing your symptoms. To the extent I was complaining, it was just that you were making unnecessarily difficult to help with your issue.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

I get what you mean about wanting to hide the embedded IE, and that doesn't necessarily mean something malicious. But when you post a demo for the purpose of getting help it should be as short, clear, and simple as possible while still reproducing your symptoms. To the extent I was complaining, it was just that you were making unnecessarily difficult to help with your issue.

:)

thanks again, next time i will explain it as simple as possible. as i can read in the ticket-system, the problem is already fixed:

http://www.autoitscript.com/trac/autoit/ticket/1975

Link to comment
Share on other sites

I was wondering if there is a planned release date for a new release? I'm specifically wondering if there will be a new stable release before the end of Q4 2011? I'm in the stages of planning a project and my employer would like to not use a beta version of AutoIt. However, if the release is planned before my project end date we can code against the beta. Thank you for the information.

Link to comment
Share on other sites

Tell your boss that we just decide one day to remove the beta designation and magically all bugs just vanish. Or you can tell him the truth that one day we just decide to remove the beta designation and the "final" release is virtually if not completely identical to the last "beta" release without the beta branding.

Link to comment
Share on other sites

Tell your boss that we just decide one day to remove the beta designation and magically all bugs just vanish. Or you can tell him the truth that one day we just decide to remove the beta designation and the "final" release is virtually if not completely identical to the last "beta" release without the beta branding.

We aren't so much concerned about remaining bugs as we are about the designation "beta" has. We're a software company, we know software ships with known and unknown bugs, but you weigh the risk of releasing. I also know that when we start a project we have a target release date. I wasn't sure if anyone had a date in mind or if it is more of a calculated assessment of remaining bugs/issues and the date could be any time between now and 2038.

I've used the beta and have seen some minor increases in speed, any speed increase is welcomed for our project. If there weren't breaking changes in the beta in functions I use I wouldn't be as concerned either (granted the changes are simple to implement).

I hope I'm not coming across as some guy asking when Duke Nukem Forever will be released...

Link to comment
Share on other sites

  • 4 weeks later...

(Nevermind)

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

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