Dmytro Demintchouk - Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs

Здесь есть возможность читать онлайн «Dmytro Demintchouk - Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs» — ознакомительный отрывок электронной книги совершенно бесплатно, а после прочтения отрывка купить полную версию. В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. ISBN: , Жанр: Прочая околокомпьтерная литература, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

My name is Dmytro Dmytrovy Demintchouk, i born in Ukraine in town Chernivci, i moved to Canada in 2000, i am 37 years old male, this book is my second book, based on my own experience, all about programming and hacks.

Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs — читать онлайн ознакомительный отрывок

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

$Input_1 = GUICtrlCreateInput (“Hello, from Deeman!”, 35, 55, 480, 40)

creates a variable called $ Input_1 for the text input field, then creates the text input field itself (the commands that you will enter for the robot, what would it say), and in the text input field I will write for you an already short text Hello, from Deeman hi from me, well, the size of this field for entering is the 4 digits by commas. Next line!

$Button_1 = GUICtrlCreateButton (“Start Talk”, -150, 30, 70)

creates a button called Start Talk, the size is 3 digits and a variable for this button called $ Button_1 (button 1) is assigned to the front.

Next line!

GUISetState ()

this is the beginning of the show of our program (launch can be said).

Next line!

While 1

beginning of the cycle!

Next line!

$msg = GUIGetMsg ()

the program receives a message, and the variable is written to this command for further work! The next line!

Select

the possibility of selective mode. The next line!

Case $msg = $GUI_EVENT_CLOSE

2 lines back, we just prescribed the variable $ msg for this action, for what would the program now say, $ GUI_EVENT_CLOSE that is, when we click the button in the upper right x in general to close the program, then the program will close.

ExitLoop

exit from the first cycle. The next line!

Case $msg = $Button_1

here is the beginning of the button and the variable, so that she would understand the commands by pressing our button called Start Talk. Next, we write the commands for our button, namely, what would our robot say after pressing it, our text entered here are 4 commands!

$oSpVoice = ObjCreateInterface ($CLSID_SpVoice, $IID_ISpVoice, $sSpVoice)

$oSpVoice.SetRate (-3)

$text = GUICtrlRead ($Input_1)

$oSpVoice. speak ($text, $SPF_DEFAULT, 0)

I tell the robot that he would utter the text we entered for him. The next line!

EndSelect

end of selective mode. Next line!

WEnd

end of cycle, program work. The next line!

EndFunc;==> Deeman

the end of a function called Deeman and the end of the whole program!

We have created a program that, after entering your text, after clicking on the button, the text will speak. I almost forgot to say, here in the program there is one more nuance, tuning in general, a line!

$oSpVoice.SetRate (-3)

number 3 is the speed of the robot’s conversation, you can change the numbers and the robot will speak faster and slower. I could add one digit input field and an additional robot voice control button to control the speed, but I think that it will be a little superfluous, and you yourself can try to create a button and assign a new variable to it and connect this code.

******************************************************************************

Let’s remember the first book, there I wrote something like a flood bot, but if you think so, it is too simplified and I would even say that it was just the foundation, to create a flood bot, I will now write a more advanced flood bot, which I could say already ready to compile, I would even say need! Here is the code for the new flood bot!

FLOOD BOT FROM DEEMAN!

#include

Конец ознакомительного фрагмента.

Текст предоставлен ООО «ЛитРес».

Прочитайте эту книгу целиком, на ЛитРес.

Безопасно оплатить книгу можно банковской картой Visa, MasterCard, Maestro, со счета мобильного телефона, с платежного терминала, в салоне МТС или Связной, через PayPal, WebMoney, Яндекс.Деньги, QIWI Кошелек, бонусными картами или другим удобным Вам способом.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs»

Представляем Вашему вниманию похожие книги на «Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs»

Обсуждение, отзывы о книге «Medium and High Level Hacks – 2. Secrets, jokes, programming, computer knowledge. Collection of codes of my programs» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x