Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/18/2012 in all areas

  1. One thing that really helped me get a grasp on the syntax was knowing how to use the help file efficiently. When starting off, you may find yourself gazing at a certain function, trying to remember it's parameters and thinking about how tedious it is to open the help file and search for the function and read about it. Luckily for me, I encountered a post in the wild by jon that explained how a user can simply click the function in question, slap the [F-1] key and watch the help file magically appear in front of your very eyes as you watch it mystically switch right to the page with the function in question, explaining to you in great detail every little aspect of the function (well, at least sometimes) and even giving you an example of how to use it as if it can read your mind.
    1 point
  2. If your config file needs an extensive hierarchy, look into utilizing an xml config file over an ini file. If it's a big project... and you're just starting AutoIt... expect it to be re-written at least twice
    1 point
  3. Melba23

    Update GUI title

    Dizzy, Dog eaten your Help file? WinSetTitle is what you want. M23
    1 point
  4. Yashied

    WinAPIEx UDF

    The library has been updated. v3.8 This is an illative updated of this UDF. Since the library will be integrated into future versions of AutoIt, the project is closed as a separate thread. All future changes will be made through the AutoIt Issue Tracker. Please do not ask here about adding new functions. Only critical bugs (if any) for a quick update. Due to space constraints, I moved all the files on my site. So if the server is unavailable, please let me know about it. Thanks to all who participated in the development of this library. Project closed.
    1 point
  5. SeattleDBA

    IE.au3 WEnd ERROR

    We have scripts that envoke "_IECreate". They have been running just fine for quite some time, both on XP / IE7 and W7 / IE8. It was last compiled using V3.3.6.1. In our case, we use the default settings of "_IECreate". This week I updated my desktop from XP to W7 and re-installed all of my supporting tools. Earlier this month we downloaded the V3.3.8.1 version of AutoIt but this was the first time we've recompiled a script containing an "_IECreate" call. I made a very small change to the script - nothing regarding the "_IECreate" step - and recompiled, using the x86 option. Now we get the pop-up error and the same IE.au3 WEnd error. The detective in me got going. Keeping in mind that the previous version of the EXE worked fine on my W7 box told me it had to be something with the V3.3.8.1 code specific to W7 and/or IE8. The same program compiled under V3.3.8.1 ran on my XP box with IE7 just fine - no problems whatsoever. I rolled by W7 AutoIt version back to V3.3.6.1 and ran it via the "Go" option so as to capture any errors or warnings in the progress area at the bottom. With the "_IECREATE" default settings, it ran through but I noticed the AutoIT icon was still down in my system tray and the following warning was in the progress area: "IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch" I was able to do an Exit on the icon and it went away cleanly. Now I started thinking, could AutoIt be waiting for a response from the browser? That's when I discovered the "_IECreate" switch '$f_wait', which specified whether to wait for the browser page to complete its load before returning; the default is to wait. I flipped this switch to "return immediately" and ran some tests. My problem went completely away. Under V3.3.6.1 the icon immediately disappeared from my system tray as expected. Under V3.3.8.1 I no longer got the error message and everything flowed smoothly. This tells me that the AutoIt code stream has a problem with the "page load wait" functionality relative to the "_IECreate" call; I don't have the luxury to determine if it's W7 or IE8 that's the culprit. This would also correspond to the code failing on Line 560 in IE.au3; this section of the code appears to deal directly with the Load Wait Timer section. So we have gone into our scripts that invoke "_IECreate" and set the '$f_wait' switch to 0, and all is fine. The engineers may want to revisit this code to determine what fix(es) need to be made.
    1 point
×
×
  • Create New...