Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs
Реклама. ООО «ЛитРес», ИНН: 7719571260.
Отрывок из книги
My name is Dmytro Demintchouk, I have been living in Canada since 2000, I am now 37 years old. In the first book, I wrote you a little introduction to the world of programming and hacks, and basically I described other people’s programs to you. Now I want to share my programs with you, I would say that they are more likely of an average level than a high one, in general it depends on how you look at it. Well, in the process of writing codes, I’ll try to add different jokes and knowledge from my self! Let’s start by writing one program that tells you the text you typed, with the voice of a robot. You will probably think! Why does anyone need her?! This is a matter of fantasy, you can just play, or if you are creating sites with chat rooms, you can connect it to your chat and call it voice chat. You can still talk with someone on the phone to whom you do not want to give out your real voice, and finally, the deaf-mute can use this program. For those who have not read my first book, I repeat, to run these codes and compile them, you need to have a program called Autoit! After installation, you will see a folder called Autoit, possibly with different numbers, depending on which version you are using, there, a little deeper in the folders you will find a file of about the same name SciTE4.exe with the extension. exe – that is, the executable file, this is the compiler! Good luck! In this code you will see the first function! The name of the program! In the future i will write some more books with my own codes, there is web site with my books where you can comment or say that, lets say you want me to right some more of a programs and describe what exactly type of programs you wish me to create. I will try to do that or at list try. So we can work it out later together just give your ideas. So on.
TEXT TO VOICE!
.....
if you put a photo called 5 with the jpg extension in the folder with our program, then in the background of the program a photo called 5.jpg will appear instead of black color, then there are 4 zeros separated by commas, these are coordinates that mean, that our photo will be placed at the corners of the program, that is, the entire size of our program window, which is now black. I will skip some lines, such as!
GUICtrlSetState (-1, $GUI_DISABLE)
.....