TinyHacker Posted June 26, 2010 Share Posted June 26, 2010 Hello guys! this is my first subject here.. i'm using AutoIt sice 2 years and i swear that i've just knew that there is a new version ... also i dont speak english.. but i like this program and i made many many great scripts.. but my question is ...:when i run the old scripts with the new version it doesn't work! i mean that " $ES_AUTOVSCROLL + $WS_VSCROLL + $ES_MULTILINE + $WS_EX_TOOLWINDOW and .......... " is not working, and all the scripts that i have , have these command! so?! can i have a converter? or what? just to make the old scripts work again ! Oh please!thanks and forgive me if i made linguistic mistakes Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 26, 2010 Moderators Share Posted June 26, 2010 TinyHacker, Welcome to the AutoIt forum. Which AutoIt version are you using? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
TinyHacker Posted June 26, 2010 Author Share Posted June 26, 2010 Oh thank u "Melba23 " I was using v 3.1.1.0 as an old one.. but yesterday i've downloaded v 3.3.6.1 ... so what can i do now? i really work more than 5 hours a day on AutoIt, and all what i mad is with the old version, i liked the new one it's SUPER!! but i also can't leave my scripts like that!I really thank u for ur reply bro! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 26, 2010 Moderators Share Posted June 26, 2010 TinyHacker,That is a very big jump you are making (3.1.1 was released on 7/04/2005) - there have been enormous changes in AutoIt syntax and functions since then. The first place to start is by reading this topic which explains the major changes brought in by 3.2.12 - perhaps most importantly the need for many more include files to be specified.Then I suggest that you read through the "History" page in the Help file to see how much has changed since then.Now for the really bad news. I am afraid that you are in for a great deal of work changing your scripts - I would suggest that rewriting them from scratch might well be the best way to go.Sorry to be the bearer of such unpleasant news, but you really should have updated more often. Five years is an age in IT terms - AutoIt has changed out of almost all recognition since you started using it.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
jchd Posted June 26, 2010 Share Posted June 26, 2010 From the time v3.11 was out, there has been 95, 98, 98SE, XP, Vista, Seven, plus several service packs. There are rumors that an intermediate version was released around the millenium but after careful checking it turned out to be untrue. Of course I'm joking but Melba23 is right in that you really should keep a closer eye on new versions for tools you use often enough, specially languages like AutoIt which are likely to evolve constantly and leave you far behind if you don't adapt often. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Anteaus Posted June 26, 2010 Share Posted June 26, 2010 Possibly worth adding that these window-property constants are just integers, and you can specify the number directly, or put the original library into the script folder so it takes precedence. There are of course other changes, but if this is your main issue it should be easy enough to make a temporary fix this way. Until recently I was still compiling one project with 3.1.1 because I hadn't the time or inclination to find out why it wouldn't compile with 3.3x. When It got to the stage where I needed it to make DLL calls, I just made it launch a second executable, compiled with 3.3.x Sometimes, if it works... Link to comment Share on other sites More sharing options...
TinyHacker Posted June 26, 2010 Author Share Posted June 26, 2010 Thanx bros! u guys use difficult words!! i needed a dictionary to translate !! hehehSo the only way is to rewrite the scripts to be able to work with the new version ! mmm,, i was creating a "Lan Messenger" with old AutoIt, it took me alot of time, so i have to uninstall the new version and re-install the old one untill i finnish creating the Messenger, then i get the newer.. it's easier to me than rewriting.. , tha's if there is no "Converter"..Thanx bros.. Link to comment Share on other sites More sharing options...
ResNullius Posted June 27, 2010 Share Posted June 27, 2010 @TinyHacker The first place to start is by reading this topic which explains the major changes brought in by 3.2.12 - perhaps most importantly the need for many more include files to be specified. What Melba23 means is all the "$ES_AUTOVSCROLL + $WS_VSCROLL + $ES_MULTILINE + $WS_EX_TOOLWINDOW" constants used to be in just a couple of includes, like GuiConstants.au3 and WindowsConstants.au3. But now, for instance, to get $ES_AUTOVSCROLL, or other $ES_xxxx constants you need to include EditConstants.au3. Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 27, 2010 Share Posted June 27, 2010 For finding the correct includes, you can try Organize Includes in my sig. 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 Link to comment Share on other sites More sharing options...
Zedna Posted June 27, 2010 Share Posted June 27, 2010 (edited) You don't need rewrite your scripts from scratch.In most cases there must be only fixed list of include files at start of scripts.There are utils for this purpose on the forum, see this topicHow to convert GUI scripts to v3.2.12.0If you still will have problems with upgrading of your scriptyou may post your code here and I'm sure somebody will help you in such concrete script.EDIT: For language barier you can use great online toolGoogle translator:http://translate.google.com/ Edited June 27, 2010 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zedna Posted June 27, 2010 Share Posted June 27, 2010 I think the best/most simple solution is this one by Autoit3Wrapper#AutoIt3Wrapper_Add_Constants=ySee this for detailshttp://www.autoitscript.com/forum/index.php?showtopic=70902&view=findpost&p=529773You must have full Scite4Autoit3 installed for this.http://www.autoitscript.com/autoit3/downloads.shtmlhttp://www.autoitscript.com/autoit3/scite/downloads.shtml Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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