v1 and v2 Output Debug Window for any editor

preview_player
Показать описание
if you work with other people (or multiple editors) this is a great function for you! Being able to dump text to a GUI is very helpful! Check out the example how easy it is...

1. 00:00 💡 This script allows you to peek inside a variable and see its contents regardless of the editor you're using, eliminating the need to change anything when sharing code with others.

2. 01:13 💡 Sometimes you want to run a loop without message boxes stopping your code, so you can use the output debug command to dump the text into an output window and scroll through later to see what the loop did.

3. 02:11 👉 V2 code is shorter and more efficient because it uses objects and allows for performing multiple actions in a single line, making it the preferred choice for GUI development.

4. 03:06 😊 Objects are easier to read and understand in V2 compared to V1, and there are courses available for learning about objects and GUI in V2.

5. 03:44 💡 The speaker demonstrates how to use a specialized course to test and display output in an editor, and then shows how to copy and paste the code into another platform.

6. 04:41 📝 The code can output debug messages in an output window or create its own GUI to display the messages, making it useful for sharing code with others.

7. 05:51 💡 Programmatically handle different environments by using branching and if-else statements to let the computer make decisions for you.

8. 06:27 📝 The code determines its actions, and viewers are encouraged to subscribe to the AutoHotkey channel for regular videos.
Рекомендации по теме
Комментарии
Автор

I"ve set it to show what's on the clipboard by default. It's useful to have a nice little temporary popup for example to edit a url that might be on my clipboard.

linsqopiring
Автор

Also, I have to stress out the very good "FileAppend, MyText, *" (used to work in v1.1 at least), you can output to Windows Terminal with all the benefits (easy errorlevel control, can be passed to cmd.exe or powershell.exe, and any other program without having to crack com or api request, very fast, etc)

chrispqe
Автор

6:24 Ah, so that's how it works. Well that's too bad, it's extensible, you can adapt it to other environments pretty easily.
I'm old-school, from the school of prinft-debugging, or in the case of AHK, msgbox-debugging. Actually, these days, most of my programs are command-line programs, so I'm back to printf, or more accurately, fileappend. I guess those could be easily added to the IF statement.

I.____.....__...__