• Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Painlessly switch from V1 to V2

Maestrith Messagebox M() class / Message Box with plenty of bells and whistles

Here is Maestrith Messagebox function M for peaking inside objects.  Be sure to save it in  that AutoHotkey will automatically search or use an #Include.

 

Maestrith Messagebox tutorial

Maestrith demonstrated his AutoHotkey Message box function

The key idea of the video is that the AutoHotkey message box function can be customized and used for troubleshooting, debugging, and organizing complex structures.

  • 00:00 💡 The message box function in AutoHotkey returns the user’s choice when they click on “yes”, “cancel”, or “retry”.
  • 01:16 💡 The speaker discusses how to move a message box to the right side of the screen and explains how to separate multiple items on different rows using a comma.
  • 01:58 📝 The speaker explains how to replace buttons and icons in an AutoHotkey message box function.
  • 03:10 💡 The speaker demonstrates how to use an object with text in an AutoHotkey message box function.
  • 04:19 💡 You can troubleshoot and build scripts by nesting objects or arrays inside each other, allowing for more complex structures and organization.
  • 05:06 💡 The object dot 2.1 in AutoHotkey provides a more flexible and easier alternative to the regular message box function.
  • 06:16 💡 You can easily create message boxes in AutoHotkey by using comma-delimited variables, adding spaces or line breaks for better readability.
  • 07:46 🔧 The speaker discusses the benefits of using an AutoHotkey message box function for debugging and understanding object structures, including different options for displaying the information.

 

most of you spell chose yeah at rent yeah otherwise it’s choose room but yeah that’s chose so there’s no and if you run again yes this says you choose yes it’s nice about the message box function as it returns whatever you click yep so [Music] [Music] [Music] cancel on Sony for me tries harsh see there we go retrying cancel oh I still
got it okay yeah with yours I disabled this move I have it moving over to the right hand side of my student oh boy offsetting it just didn’t get out of the center but how when you’re right when you’re like there because I know from using it plenty of times before if you just if you put in several things and use a comma to separate it it’ll it’ll put them on different rows yeah so I but I don’t restrain those when you’re calling it in your example than the other scripts these are specials BTN
yeah if you go what wouldn’t you do that well inside of here if it’s if it’s if the key is air if the whatever’s before the : almost one of the buttons okay BTN here it replaces a ICO it’ll replace it in that example now if you added one more after the wash yeah there now is it still gonna do that as a separate line Wow okay yeah it doesn’t matter where you put LD m ha ha button default or icon it doesn’t care okay it’s just replaces it but I’m gonna be a little scatterbrained so you may want to
re-record this at your leisure no it’s fine I think you’re doing good then I want to just do one example showing in if it was an object with some text in it instead of actual text [Music] yeah yeah you’re adding on ESPO I didn’t even was nothing I I was second again I would have deleted everything first but it’s just that’s the way my mind secondyeah and then and then just if you do obj dot – you’ll get the there that’s pre calling yeah that’s just a text then you know so if you know exactly which
one you want but I mean we’re the most time like diabetes an SP for building you know troubleshooting and building in this script I’m not going to know the exact things I want that’s twice are your nesting yeah you can you can make objects or arrays inside of objects or arrays so object dot to is has one two and three in it there are things more so here it’s one 2.1 2.
2 tookay thank you so forth well what’s nice is whatever it says dot 2.1 if you go if you put in object dot 2.1 you’re gonna get there you know everything is laid out for you here yeah wherever you start this is what you add to it it’s the full path right yeah so yeah cool obviously you gotta have the object in the beginning video really there that’s just so much more flexible than the regular message box a little bit I mean it’s not like crazy I mean it’s still leveraging the base message box function or sure command he said
it’s a little easier you don’t have to remember that our C is 5 so retry cancels yeah right yeah but I mean the the what I really like is when I’m looking at several things and I can just comma delimiter variables and it’s it’s so easy to put 70 in one message box it’s and if you calm a double quotes it’ll put a space in me too long or what I like to do a lot of the times is put in a lot of enters then you can just space out your message boxes so that it makes things a little easier to read
breaks things up a little bit trying to think of what else and there’s really no I think that’s basically it right I can’t think of anything else and it’s just amazing time-saver for me because now I don’t have to think what’s in this object and after debug and all that other stuff just message boxes don’t know yeah yeah that that’s why I had that HotString for the basic the same super similar to your object to
string but it’s nice now having one whether it’s a you know a variable text or an object and I believe the one you were using kind of like made a nested looking thing I have two different ones that I use one makes it nested the other one in in one of them truncates the text as well which sometimes I like and sometimes I really hate one of them puts them into a JSON format which I I’m getting used to looking at but the I think the object Explorer is the one that I use more often I think this is so
much easier oh yeah yeah yeah sure that’s usually half the battle right is figuring out that damn path right if you debug it into the window then well no I don’t have that sort of that’s something that you’d have to use the object to string before hmm very cool maybe that’s it all right

Comments are closed.