Top.Mail.Ru
Ответы

Помогите по поводу ошибки error at line 1 в AutoHotkey

вот сам скрипт и ошибка

NumPad0::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}Здравия желаю. Я Генерал ППС Быков Глеб.{Enter}

Sleep 1000

SendInput, {F6}/me отдал честь{Enter}

Sleep 1200

SendInput, {F6}/do На груди Бейджик сотрудника Подполковник.{Enter}

Sleep 1300

SendInput, {F6}/do В нагрудном кармане удостоверение сотрудника "МВД".{Enter}

Sleep 1300

SendInput, {F6}/me расстегнул нагрудный карман{Enter}

Sleep 1300

SendInput, {F6}/me достал из нагрудного кармана удостоверение и предъявил его{Enter}

Sleep 1300

SendInput, {F6}/doc{Space}

Return

NumPad1::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/me взял документы у человека напротив{Enter}

Sleep 1500

SendInput, {F6}/do Документы в руке.{Enter}

Sleep 1500

SendInput, {F6}/me открыл документы на 2 странице{Enter}

Sleep 1500

SendInput, {F6}/me осмотрел страницу{Enter}

Sleep 1500

SendInput, {F6}/do Страница осмотрена.{Enter}

Sleep 1500

SendInput, {F6}/me закрыл документы{Enter}

Sleep 1500

SendInput, {F6}/do Документы закрыты.{Enter}

Sleep 1500

SendInput, {F6}/me вернул документы человеку напротив{Enter}

Return

NumPad2::

SendMessage, 0x50,, 0x4190419,, A

SendInput,{F6}/me протянул руку к наручникам затем снял с пояса наручники{Enter}

Sleep 700

SendInput,{F6}/me заломал руки человека за спину{Enter}

Sleep 700

SendInput,{F6}/me надел наручники на человека{Enter}

Sleep 700

SendInput,{F6}/cuff{Space}

Sleep 2000

SendInput, {F6}/me схватил задержанного за руки{Enter}

Sleep 700

SendInput, {F6}/me заломал задержанного и повёл задержанного{Enter}

Sleep 700

SendInput, {F6}/do Процесс...{Enter}

Sleep 100

SendInput, {F6}/escort{space}

Return

NumPad3::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/do Наручники на задержанном.{Enter}

Sleep 500

SendInput, {F6}/me снял наручники с задержанного{Enter}

Sleep 500

SendInput, {F6}/me повесил наручники на пояс{Enter}

Sleep 500

SendInput, {F6}/do Наручники на поясе.{Enter}

Sleep 500

SendInput, {F6}/uncuff{Space}

Sleep 1500

SendInput, {F6}/escort{Space}

Return

NumPad4::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/me взял рацию в руки{Enter}

Sleep 700

SendInput, {F6}/do Рация в руках.{Enter}

Sleep 700

SendInput, {F6}/me сообщил диспетчеру, что начал погоню за нарушителем{Enter}

Sleep 700

SendInput, {F6}/Pg {Space}

Return

NumPad5::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/me открыл дверь машины{Enter}

Sleep 500

SendInput, {F6}/me затащил преступника в машину{Enter}

Sleep 500

SendInput, {F6}/me закрыл дверь{Enter}

Sleep 500

SendInput, {F6}/do Дверь закрыта.{Enter}

Sleep 500

SendInput, {F6}/putpl{Space}

Return

Alt & 1::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/me достал КПК из кармана{Enter}

Sleep 800

SendInput, {F6}/do КПК в руках.{Enter}

Sleep 800

SendInput, {F6}/me внес данные преступника в базу данных МВД{Enter}

Sleep 800

SendInput, {F6}/su{space}

Return

Alt & 2::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/me включил бортовой компьютер{Enter}

Sleep 800

SendInput, {F6}/do Бортовой компьютер включен.{Enter}

Sleep 800

SendInput, {F6}/me ввел данные о преступнике{Enter}

Sleep 800

SendInput, {F6}/me передал данные в отдел{Enter}

Sleep 800

SendInput, {F6}/me выключил бортовой компьютер{Enter}

Sleep 800

SendInput, {F6}/me передал преступника в участок{Enter}

Sleep 800

SendInput, {F6}/arrest{Space}

Return

Alt & 3::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/m [МВД] Водитель прижмитесь к обочине{Enter}

Sleep 100

SendInput, {F6}/m [МВД] Или мы вынужденны будем открыть огонь на поражение{Enter}

Sleep 100

Return

Alt & 0::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/s. Приказываю вам остановиться. {Enter}

Return

NumPad8::

SendMessage, 0x50,, 0x4190419,, A

Sleep 500

SendInput, {F6}/do КПК "МВД" находится в левом кармане брюк.{Enter}

Sleep 800

SendInput, {F6}/me достал КПК из левого кармана брюк{Enter}

Sleep 800

SendInput, {F6}/do КПК находится в руках.{Enter}

Sleep 800

SendInput, {F6}/me открыл список разыскиваемых преступников{Enter}

Sleep 800

SendInput, {F6}/wanted{Enter}

Return

NumPad9::

SendMessage, 0x50,, 0x4190419,, A

Sendinput, {F6}/do Рация на поясе.{ENTER}

sleep 700

Sendinput, {F6}/me запросил у диспетчера последнее местонахождение подозреваемого{ENTER}

sleep 700

Sendinput, {F6}/do Процесс...{ENTER}

sleep 700

Sendinput, {F6}/setmark {SPACE}

Return

Alt & 4::

SendMessage, 0x50,, 0x4190419,, A

SendInput, {F6}/me достал бинт из кармана.{Enter}

Sleep 600

SendInput, {F6}/do Бинт в руке.{Enter}

Sleep 600

SendInput, {F6}/me перебинтовал рану.{Enter}

Sleep 600

SendInput, {F6}/healme{Enter}

Return



Экскурсии на любой вкус и город