PaulIA Posted April 24, 2007 Author Share Posted April 24, 2007 Release 3.0.6This maintenance release updates the help file with examples up to Tab Controls. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
tinjaw Posted April 27, 2007 Share Posted April 27, 2007 I am using Auto3Lib Release 3.0.6 and AutoIT Beta 3.2.3.9 and have a namespace conflict when I include A3LAVI.au3. Here is the include block from my script #include <A3LAVI.au3> #include <GUIConstants.au3> #include <Constants.au3> #include <Process.au3> #include <File.au3> #include <GuiList.au3> The conflict is with Memory.au3. Any ideas? Link to comment Share on other sites More sharing options...
tinjaw Posted April 27, 2007 Share Posted April 27, 2007 I just installed AutoIT Beta 3.2.3.10 and it goes away. Looks like .9 was broken. Link to comment Share on other sites More sharing options...
PaulIA Posted April 27, 2007 Author Share Posted April 27, 2007 I just installed AutoIT Beta 3.2.3.10 and it goes away. Looks like .9 was broken.The new beta includes the revised Memory.au3 file that has been packaged with Auto3Lib for about 4 months. Future releases of Auto3Lib will no longer need to include this file. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
qwertylol Posted April 28, 2007 Share Posted April 28, 2007 I ran this#include <A3LScreenCap.au3>_ScreenCap_Capture( "screenshot.jpg" , 300, 300, 500, 500, 0)after I installed http://www.autoitscript.com/forum/index.ph...nload&id=47yet when I ran it, this poped up and no screenshot is savedC:\PROGRA~1\AutoIt3\Include\A3LGDIPlus.au3 (665) : ==> Variable must be of type "Object".: $tInput.Version = 1 $tInput^ ERROR Link to comment Share on other sites More sharing options...
Zedna Posted April 28, 2007 Share Posted April 28, 2007 I ran this#include <A3LScreenCap.au3>_ScreenCap_Capture( "screenshot.jpg" , 300, 300, 500, 500, 0)after I installed http://www.autoitscript.com/forum/index.ph...nload&id=47yet when I ran it, this poped up and no screenshot is savedC:\PROGRA~1\AutoIt3\Include\A3LGDIPlus.au3 (665) : ==> Variable must be of type "Object".: $tInput.Version = 1 $tInput^ ERRORYou probably don't have latest Autoit beta version. See first post in this topic and read redme.txt!! Resources UDF Â ResourcesEx UDF Â AutoIt Forum Search Link to comment Share on other sites More sharing options...
qwertylol Posted April 28, 2007 Share Posted April 28, 2007 You probably don't have latest Autoit beta version. See first post in this topic and read redme.txt!!now I have .11 and reinstalled the auto3lib.it now says Link to comment Share on other sites More sharing options...
smashly Posted April 29, 2007 Share Posted April 29, 2007 Thank You PaulIA for your excellent library it's an amazing bit of work you have accomplished I notice a question that popped up a couple of times on the forum about the error that qwertylol is asking about. Is it possible for your installer to check for the Beta autoit at the default directory when installing , this way when a user clicks next , next , next when installing your library of functions to the installer default then they will end up with the AL3xxxxx.au3 files in the beta directory. Currently if a user does a mindless clean install to default locations of these programs in this order: Autoit Autoit Beta Auto3Lib Then Auto3Lib upon install (if not set by the user) will default install it's AL3xxxxx.au3 files into 'C:\Program Files\AutoIt3\Include\' instead of 'C:\Program Files\AutoIt3\beta\Include\' I'm aware this is not a fault of the installer or the excellent Auto3Lib you've provided but more a lack of research and understanding of a user. Hope my suggestion doesn't come off as demanding, inconsiderate or disrepectful. Once again thank you and cheers. Link to comment Share on other sites More sharing options...
PaulIA Posted April 29, 2007 Author Share Posted April 29, 2007 Thank You PaulIA for your excellent library it's an amazing bit of work you have accomplished I notice a question that popped up a couple of times on the forum about the error that qwertylol is asking about.Is it possible for your installer to check for the Beta autoit at the default directory when installing , this way when a user clicks next , next , next when installing your library of functions to the installer default then they will end up with the AL3xxxxx.au3 files in the beta directory.Currently if a user does a mindless clean install to default locations of these programs in this order:Autoit Autoit BetaAuto3LibThen Auto3Lib upon install (if not set by the user) will default install it's AL3xxxxx.au3 files into 'C:\Program Files\AutoIt3\Include\' instead of 'C:\Program Files\AutoIt3\beta\Include\'I'm aware this is not a fault of the installer or the excellent Auto3Lib you've provided but more a lack of research and understanding of a user. Hope my suggestion doesn't come off as demanding, inconsiderate or disrepectful.Once again thank you and cheers.The problem with that would be the beta zip file. When you download the beta zip file and unzip it, it does not create a beta registry key. The other problem is, I would never know if the user wanted to use Auto3Lib with the latest distribution release or the latest beta. When I install the beta, I always use the zip file and overwrite the distribution release. If there's a problem with the beta, I just uninstall everyting and install the distribution release again. For me, it's a lot simpler than trying to remember which version I'm running. I'll give it some thought to see if something can be done. Maybe I can give the user a choice of installing to beta or non beta directories (sort of like installers giving you a choice between "Typical" and "Custom". Thanks for the thoughtful suggestion. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
qwertylol Posted April 29, 2007 Share Posted April 29, 2007 for the time being, can you suggest a solution for me? uninstall everything and then just au3 beta and then Auto3lib? what's the potential problem with using the beta just so I can use auto3lib? Link to comment Share on other sites More sharing options...
PaulIA Posted April 29, 2007 Author Share Posted April 29, 2007 for the time being, can you suggest a solution for me?uninstall everything and then just au3 beta and then Auto3lib?what's the potential problem with using the beta just so I can use auto3lib?Jon and the devs do a remarkable job of doing regression testing on their code before making a beta release. As you've seen over the past week, Jon has been quick to release new betas when he finds any problems. I use the latest beta release when I work on Auto3Lib because I want the library to be up to date with the latest AutoIt features. I also feel that, since Auto3Lib is such a large library, it helps Jon and the other developers work out any potential bugs (which have been few IMO). I have no fear of using the beta versions, but you'll have to be your own judge. Here is how I set up my AutoIt development environment:1. Make sure you uninstall any prior versions of Auto3Lib2. Uninstall any beta versions of AutoIt you have installed using a beta installer3. Uninstall the distribution release of AutoIt4. If it exists, delete the "C:\Program Files\AutoIt3" directoryThis will make sure you have an absolute clean environment. Now:1. Install the distribution release of AutoIt2. Download the latest beta zip file3. Unzip the zip file to your "C:\Program Files\AutoIt3" directory, overwriting all files4. Install Auto3Lib, accepting the default destination directoryIf you absolutely must have a separate beta environment on your machine, install Auto3Lib and change the destination directory to your AutoIt beta directory. Just be aware that you will only be able to use Auto3Lib when you have switched to your beta environment. For me, having a separate beta environment has caused more headaches than anything, so I just use the latest beta code. If there is some problem with a beta I can't live with, I just drop back to the prior beta for a few days until Jon works out a fix. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
PaulIA Posted April 29, 2007 Author Share Posted April 29, 2007 Release 3.1.0New features:This release contains a module that implements all of the Clipboard API functions. The AutoIt clipboard functions only allow you a limited number of formats (text and HDROP types). This module allows you to use all of the standard clipboard formats as well as create your own.Included several new additions to the memory API calls. Due to these additions, the _Mem_Free, _Mem_Init, _Mem_Read and _Mem_Write functions have been renamed. I doubt that anybody uses these (other than Auto3Lib itself), but thought I'd mention it just in case.The installer now includes a read me dialog that explains how to install Auto3Lib when users have a production and beta environment. Some people are installing Auto3Lib in one environment and trying to run it from the other. I'm not sure this will do any good, but at least I tried. Changes/additions to the following demos:-- The wallpaper demo has been change to a GUI application. It allows you to change your desktop wallpaper to one of the JPG pictures in your wallpaper directory.-- The screen capture demo has been changed to show you how to take a screen shot, paste the image to the clipboard and then open Paint to view the image. With a little work, you could build an image capture server around the same concept (i.e. register your own format and then create a server that sits and looks for clipboard entries with that format). Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
luxor Posted April 29, 2007 Share Posted April 29, 2007 (edited) I'm experiencing a problem running scripts using Auto3Lib. I'm wondering if the library has been tested against the latest Beta release v3.2.3.12 which was released yesterday.I'm using the latest version of Auto3Lib downloaded today and installed it to the beta directory of the AutoIt install.I'm running Windows 2003 Server.If there is a problem with the version of Autoit does anyone know where a previous version resides so I can use that?Thank you!I get the following error:_Time_SetLocalTime(_tagGetPtr($tNewTime))_Time_SetLocalTime(^ERRORError: Unknown function nameIncluded below is the code that was posted in this threadhttp://www.autoitscript.com/forum/index.ph...;hl=system+date#include <A3LTime.au3>$tCurTime = _Time_GetLocalTime()_Lib_ConsoleWrite("Current Time: " & _Time_SystemTimeToTimeStr($tCurTime))_Lib_ConsoleWrite("@Hour ......: " & @HOUR)$tNewTime = _Time_EncodeSystemTime(@MON, @MDAY, @YEAR, @HOUR + 1, @MIN, @SEC)_Time_SetLocalTime(_tagGetPtr($tNewTime))$tNewTime = _Time_GetLocalTime()_Lib_ConsoleWrite("New Time ...: " & _Time_SystemTimeToTimeStr($tNewTime))_Lib_ConsoleWrite("@Hour ......: " & @HOUR)_Time_SetLocalTime(_tagGetPtr($tCurTime)) Edited April 29, 2007 by luxor Link to comment Share on other sites More sharing options...
PaulIA Posted April 29, 2007 Author Share Posted April 29, 2007 I'm experiencing a problem running scripts using Auto3Lib. I'm wondering if the library has been tested against the latest Beta release v3.2.3.12 which was released yesterday.I'm using the latest version of Auto3Lib downloaded today and installed it to the beta directory of the AutoIt install.I'm running Windows 2003 Server.If there is a problem with the version of Autoit does anyone know where a previous version resides so I can use that?Thank you!I get the following error:_Time_SetLocalTime(_tagGetPtr($tNewTime))_Time_SetLocalTime(^ERRORError: Unknown function nameIncluded below is the code that was posted in this threadhttp://www.autoitscript.com/forum/index.ph...;hl=system+date#include <A3LTime.au3>$tCurTime = _Time_GetLocalTime()_Lib_ConsoleWrite("Current Time: " & _Time_SystemTimeToTimeStr($tCurTime))_Lib_ConsoleWrite("@Hour ......: " & @HOUR)$tNewTime = _Time_EncodeSystemTime(@MON, @MDAY, @YEAR, @HOUR + 1, @MIN, @SEC)_Time_SetLocalTime(_tagGetPtr($tNewTime))$tNewTime = _Time_GetLocalTime()_Lib_ConsoleWrite("New Time ...: " & _Time_SystemTimeToTimeStr($tNewTime))_Lib_ConsoleWrite("@Hour ......: " & @HOUR)_Time_SetLocalTime(_tagGetPtr($tCurTime))You are not using the latest release of AutoIt. I stopped using the _tagxxx functions many versions ago. Uninstall whatever version you currently have and then make sure you have no A3L*.au3 files lurking anywhere before installing the current version. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
luxor Posted April 29, 2007 Share Posted April 29, 2007 (edited) Perhaps the download link is giving me the wrong version?I deinstalled autoit... and Auto3Lib... Downloaded Autoit from the following(AutoIt 3 and Beta):http://www.autoitscript.com/autoit3/downloads.phpAuto3Lib: http://www.autoitscript.com/forum/index.ph...amp;showfile=47 Version 3.1.0.0 on the Version TabWhen I try Check for Updates it shows I have the most recent versions:Production version 3.2.2.0 and Beta version 3.2.3.12I run that sample again and get the same error.I found another way for me to change the system date so its no longer critical though I would like to be able to use your library.Regards Edited April 30, 2007 by luxor Link to comment Share on other sites More sharing options...
Zedna Posted April 30, 2007 Share Posted April 30, 2007 (edited) I deinstalled autoit... and Auto3Lib...After deinstall also delete whole Autoit directory with old files as PaulIA said.Then instal new versions Autoit and Auto3Lib as PaulIA said. Edited April 30, 2007 by Zedna Resources UDF Â ResourcesEx UDF Â AutoIt Forum Search Link to comment Share on other sites More sharing options...
luxor Posted April 30, 2007 Share Posted April 30, 2007 (edited) After deinstall also delete whole Autoit directory with old files.Then instal new versions Autoit and Auto3Lib as PaulIA said.I actually did delete the directory before reinstalling (and ensured there was no C:\Program Files\AutoIt3 directory). Forgot to mention that. I also searched the registry and deleted a couple remaining references to autoit. Edited April 30, 2007 by luxor Link to comment Share on other sites More sharing options...
Zedna Posted April 30, 2007 Share Posted April 30, 2007 I actually did delete the directory. Forgot to mention that. I also searched the registry and deleted any remaining references to autoit.Then search for old A3L*.au3 files on your drive and delete them. It must be somewhere else probably. Resources UDF Â ResourcesEx UDF Â AutoIt Forum Search Link to comment Share on other sites More sharing options...
PaulIA Posted April 30, 2007 Author Share Posted April 30, 2007 I actually did delete the directory before reinstalling (and ensured there was no C:\Program Files\AutoIt3 directory). Forgot to mention that. I also searched the registry and deleted a couple remaining references to autoit.There is nothing wrong with the download link. Trust me on this one. You've either got old files on your machine somewhere or you're using an old version of Auto3Lib. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
qwertylol Posted April 30, 2007 Share Posted April 30, 2007 alright, i got the lib to work fine What I am wonder about though, is the color. it seems that the color is all off, is this normal? Also, if I want to write a screenshot app with performance in mind, what language would you recommend ? Link to comment Share on other sites More sharing options...
Recommended Posts