jaberwacky Posted August 6, 2013 Author Posted August 6, 2013 Make sure it actually works before you say it's great! I'm not exactly the greatest lua coder ever. This code has given me so many problems. I tried to keep everything seperate but I make one change somewhere and it makes something else stop working. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted August 7, 2013 Author Posted August 7, 2013 (edited) Just when I thought that I was out of the woods a wild bug suddenly appears. If there are two members with the same name then the first one it finds will be the one that is displayed. Stay tuned if you're interested. But the rest of the script works correctly for those of you who don't use AutoItObject or care to have calltips for those methods. Even then, if you do want the calltips they will mostly work as long as you don't have two methods of the same name in different objects. Edited August 7, 2013 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted June 11, 2014 Author Posted June 11, 2014 The latest exciting installment of MouseHover --> Calltips is here! Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted September 25, 2014 Author Posted September 25, 2014 In my haste to fix a bug I broke something else. It should all work now. See OP for more details! Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted September 25, 2014 Author Posted September 25, 2014 Ok, I don't know what I'm doing wrong here. I fix one thing and break the other. Just hold tight. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted September 25, 2014 Author Posted September 25, 2014 (edited) HHHRRRNNNGGGG! I give up. Does anybody know how to make this pattern search for instances of either "Volatile Func" OR "Func"? "^%s*([Vv]olatile%s*)?[Ff](unc)%s+" This one finds only "Volatile Func". The "?" here --> ([Vv]olatile%s*)? means 0 or 1 instances of the character class. It doesn't work as advertised on the tin! I'm done for the night. PEACE OUT! Edited September 25, 2014 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
BrewManNH Posted September 26, 2014 Posted September 26, 2014 Try using an case insensitive pattern (?i) then you can get rid of checking for upper and lower case matches first of all. Also in a search you can use the pipe character "|" as an OR condition. Quote X|Y Matches either subpattern X or Y: "ac|dc|ground" matches "ac" or "dc" or "ground". If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! Reveal hidden contents I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
jaberwacky Posted September 26, 2014 Author Posted September 26, 2014 (edited) lua patterns are a different flavor of RegExp unfortunately. Anything inside of square brackets can appear in any order or I assumed not at all. Anything inside of parenthesis must all appear and in that order. Edited September 26, 2014 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted September 26, 2014 Author Posted September 26, 2014 (edited) This pattern seems to work. Go figure. "^%s*[volatile%s*]*(func)%s+" Edited September 26, 2014 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted September 26, 2014 Author Posted September 26, 2014 OK, latest update should work for volatile and non-volatile functions! Special thanks to BrewManNH for jumpstarting my efforts. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted September 10, 2023 Author Posted September 10, 2023 Latest version ... feels like a couple of months ago when I started this script... Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted November 25, 2023 Author Posted November 25, 2023 (edited) Turns out there were several small bugs that I missed ... now it should actually work again ... NO NEVERMIND! It stopped working again for some reason ... stay tuned ... Edited November 25, 2023 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted November 25, 2023 Author Posted November 25, 2023 Yes! Now! Finally I have gotten around to simplifying the code and making it more robust ... hope it stays working for a good long time ... Danyfirex and mLipok 1 1 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
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