Administrators Jon Posted April 27, 2020 Administrators Share Posted April 27, 2020 Yes by design based on what I thought was a good idea in 2003. Half the ideas were wrong (I'm looking at you case insensitive by default, urgh.) but that's where we ended up. TheDcoder and Musashi 2 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
argumentum Posted April 27, 2020 Share Posted April 27, 2020 On 4/25/2020 at 12:44 AM, MattHiggs said: when you run the sample at the beginning of the post, it does not return an error. It actually successfully returns the integer 0 I would add an error return and zero (0) as the value. That way is backward compatible as not become script-braking, and denotes that there was no numerical value in the string. Other than that, nothing wrong in the trend of thought ( even back in 2003 ), for a language to automate stuff for non-programmers ( like me ). 2 hours ago, Jon said: (I'm looking at you case insensitive by default, urgh.) ..I enjoy the case insensitivity by default. I would have had to pay more attention ( that I don't have ) otherwise, so to me is a good call. Not every one using AutoIt is programmer ( tho I copy'n'paste a lot from those that know what they are doing ) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Musashi Posted April 27, 2020 Share Posted April 27, 2020 4 hours ago, Jon said: Yes by design based on what I thought was a good idea in 2003. Half the ideas were wrong (I'm looking at you case insensitive by default, urgh.) but that's where we ended up. Design decisions like this do not cause me any headaches, because it is possible to create practicable workarounds (which has already happened in the past). Everything that the community itself can solve and/or extend by creating new UDFs, usually does not require changes to the AutoIt core. What really worries me (and probably others as well) are effects as described in this thread : script-becomes-way-slower-after-a-msgbox The fact, that the same script (under the described circumstances) suddenly runs 8 times slower due to a Windows 10 update, I consider as a real problem, because it leaves the users virtually helpless. I would like to quote a contribution from @jchd : Quote 600% to 1000% IS a real issue. 6% to 10% would be barely unnoticeable, but this is a really severe impact on effectiveness. Witness the large number of posts where speed or GUI responsiveness is the key. I'm nowhere attacking AutoIt and on the contrary would love to see this bottleneck fixed quickly to be proud again of the language Just knowing that you would at least be willing to take a look at these problems (in such extreme cases) would certainly be a great relief for many people . Thanks for your attention, and of course for the wonderful AutoIt software as well, Musashi (an old coder measured by years, but still relatively young as a member in the forum) P.S. : If anything I have written sounds disrespectful, misleading or even demanding, then it is entirely unintended (English is not my native language). FrancescoDiMuro 1 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 27, 2020 Moderators Share Posted April 27, 2020 Musashi, i have already pointed Jon at that thread as a matter of urgency. But any action will, of course, depend on the ease of detecting and then remedying the problem. M23 Musashi 1 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...
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