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. 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! 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 ... mLipok and Danyfirex 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?
jaberwacky Posted Wednesday at 03:17 AM Author Posted Wednesday at 03:17 AM Latest update! Check it out! ioa747 and argumentum 2 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 Wednesday at 01:51 PM Author Posted Wednesday at 01:51 PM Meh, still has issues. I'm done with this. argumentum 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?
argumentum Posted Wednesday at 02:34 PM Posted Wednesday at 02:34 PM 38 minutes ago, jaberwacky said: Meh, still has issues. I'm done with this. I didn't know if to "Like", "Haha" or "Thanks" your post But this I know: is thanks to people like you, going at it ( whatever it is ), that we have so many features in AutoIt. And for that, I thank you 💯 jaberwacky 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
jaberwacky Posted Thursday at 09:39 PM Author Posted Thursday at 09:39 PM Thank you! You gave me the inspiration to get it working again. Regular calltips work but the ones for AutoItObject methods don't at the moment for all use cases. argumentum 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?
ioa747 Posted yesterday at 08:46 AM Posted yesterday at 08:46 AM (edited) first of all thank you very much for your offer (as a tool, and as a code) i'm not sure but i noticed some inconsistencies, and i came to the conclusion that you mistakenly re-uploaded the old one how i came to this conclusion: based on the instructions you have in the first post, ...and paste this line after the other lines (may require administrative rights): LoadLuaFile("MouseHoverCallTipsPlugin\\init.lua") i would expect the zip to contain a folder MouseHoverCallTipsPlugin, which would have an init.lua file instead the zip has a file MouseHoverCallTips.lua (as the old one was) then I went into the process of checking the Date modified, and I noticed 25/11/2023 9:45 This led me to compare the files, old vs new, and I found them to be identical => conclusion you updated the instructions, but not the zip Edited yesterday at 08:50 AM by ioa747 I know that I know nothing
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