mrider Posted December 10, 2014 Posted December 10, 2014 Gad I feel dumb asking this question, as I'm certain I've seen this 100 times. But I just can't seem to find anything after searching the forum, the wiki, the FAQs, and the AutoIt help file. Would someone be so kind as to provide an RTFM link to installing and using a beta version simultaneous with the stable version? I'm very interested in testing the new associative arrays. However, I have numerous scripts that I use on a daily basis, and I can't really afford to have them broken when performing the tasks they were created to perform. I don't mind testing them in the beta, but they need to work when I use them. TIA How's my riding? Dial 1-800-Wait-There Trying to use a computer with McAfee installed is like trying to read a book at a rock concert.
Solution kylomas Posted December 10, 2014 Solution Posted December 10, 2014 Just download the Beta and install it...In SciTE you will see options to run prod or beta (under tools)... Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill
Moderators Melba23 Posted December 10, 2014 Moderators Posted December 10, 2014 mrider,Just run the Beta installer - it installs into its own folder inside the standard install folder tree and you can use either version without interference or problem. And if you use the full SciTE4AutoIt3 package you even get new menu items to enable you to choose which version you want to use to syntax check/run/compile your scripts. 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
mrider Posted December 10, 2014 Author Posted December 10, 2014 Thanks! Testing now... How's my riding? Dial 1-800-Wait-There Trying to use a computer with McAfee installed is like trying to read a book at a rock concert.
mrider Posted December 10, 2014 Author Posted December 10, 2014 (edited) That's freaking AWESOME!! Obviously my syntax could be improved - I whipped this up with only a few minutes of thought - but check out the pseudo-object behavior. Having maps that can take function addresses will allow us to create objects similar to how Perl does so. I can't wait until this goes live... #include <MsgBoxConstants.au3> Local $aObjs[2] = [NewFoo(), NewBar()] For $i = 0 To UBound($aObjs) - 1 ; Local $sMsg = ($aObjs[$i])["Output"]() ;<-- Granted, this is a bit stilted Local $sMsg = ($aObjs[$i].Output)() ; <-- Better, but could still be improved... MsgBox($MB_SYSTEMMODAL, "Test", $sMsg) Next Func NewFoo() Local $mPseudoObj[] $mPseudoObj["Output"] = FooOutput Return $mPseudoObj EndFunc Func FooOutput() Return "Foo" EndFunc Func NewBar() Local $mPseudoObj[] $mPseudoObj["Output"] = BarOutput Return $mPseudoObj EndFunc Func BarOutput() Return "Bar" EndFunc Edited December 10, 2014 by mrider How's my riding? Dial 1-800-Wait-There Trying to use a computer with McAfee installed is like trying to read a book at a rock concert.
Michiel Posted December 10, 2014 Posted December 10, 2014 That's freaking AWESOME!! Obviously my syntax could be improved - I whipped this up with only a few minutes of thought - but check out the pseudo-object behavior. Having maps that can take function addresses will allow us to create objects similar to how Perl does so. I can't wait until this goes live... You're not the only one!
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