darksoor |
Дата: Четверг, 17.08.2017, 23:34 | Сообщение # 1
|
Любитель
Сообщений: 46
Статус: Offline
|
Есть код, который с форума берёт информацию по ссылке из нескольких постов, после сохраняет их в файл, вот в чём проблема: появилась откуда не возьмись ошибка Error: 0x80020006 - Неизвестное имя. Чтобы это могло быть?
Код Sleep 250 AddChatMessageEx("{FFFF00}", "{FFFF00}[AHK]{FFFFFF} Вы запустили обновление Чёрного Списка. Он будет доступен примерно через {FFFF00}10{FFFFFF} секунд.") ie := ComObjCreate("InternetExplorer.Application") ie.Visible := false ie.Navigate(blacklistlink) while ie.readystate <> 4 continue FileDelete, Blacklist.txt loop, %blacklistpost% { FileAppend, % ie.document.getElementsByClassName("messageContent")[A_Index-1].innerText, Blacklist.txt FileAppend, `n, Blacklist.txt } ie.quit FileRead, GER, Blacklist.txt StringReplace, GER, GER, `r`n, `n, 1 StringReplace, GER, GER, `r, `n, 1 StringReplace, GER, GER, `n%A_SPACE%, `n, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%%A_SPACE%|, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%|, -, 1 StringReplace, GER, GER, %A_SPACE%|, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%%A_SPACE%/, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%/, -, 1 StringReplace, GER, GER, %A_SPACE%/, -, 1 StringReplace, GER, GER, (, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%%A_SPACE%[, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%[, -, 1 StringReplace, GER, GER, %A_SPACE%[, -, 1 StringReplace, GER, GER, [, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%%A_SPACE%(, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%(, -, 1 StringReplace, GER, GER, %A_SPACE%(, -, 1 StringReplace, GER, GER, /, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%%A_SPACE%-, -, 1 StringReplace, GER, GER, %A_SPACE%%A_SPACE%-, -, 1 StringReplace, GER, GER, %A_SPACE%-, -, 1 StringReplace, GER, GER, |, -, 1 StringReplace, GER, GER, %A_SPACE%, _, 1 StringReplace, GER, GER, `n`n, `n, 1 StringReplace, GER, GER, -, -, UseErrorLevel loop, 1 { RegExMatch("`n" GER "`n", ".*(-.*?)\n", Match) StringReplace, GER, GER, %Match1%`n, `n, 1 Sleep 100 GER := RegExReplace(GER, "а", "") GER := RegExReplace(GER, "б", "") GER := RegExReplace(GER, "в", "") GER := RegExReplace(GER, "г", "") GER := RegExReplace(GER, "д", "") GER := RegExReplace(GER, "е", "") GER := RegExReplace(GER, "ё", "") GER := RegExReplace(GER, "ж", "") GER := RegExReplace(GER, "з", "") GER := RegExReplace(GER, "и", "") GER := RegExReplace(GER, "й", "") GER := RegExReplace(GER, "к", "") GER := RegExReplace(GER, "л", "") GER := RegExReplace(GER, "м", "") GER := RegExReplace(GER, "н", "") GER := RegExReplace(GER, "о", "") GER := RegExReplace(GER, "п", "") GER := RegExReplace(GER, "р", "") GER := RegExReplace(GER, "с", "") GER := RegExReplace(GER, "т", "") GER := RegExReplace(GER, "у", "") GER := RegExReplace(GER, "ф", "") GER := RegExReplace(GER, "х", "") GER := RegExReplace(GER, "ц", "") GER := RegExReplace(GER, "ч", "") GER := RegExReplace(GER, "щ", "") GER := RegExReplace(GER, "ш", "") GER := RegExReplace(GER, "ъ", "") GER := RegExReplace(GER, "ы", "") GER := RegExReplace(GER, "ь", "") GER := RegExReplace(GER, "э", "") GER := RegExReplace(GER, "ю", "") GER := RegExReplace(GER, "я", "") GER := RegExReplace(GER, "А", "") GER := RegExReplace(GER, "Б", "") GER := RegExReplace(GER, "В", "") GER := RegExReplace(GER, "Г", "") GER := RegExReplace(GER, "Д", "") GER := RegExReplace(GER, "Е", "") GER := RegExReplace(GER, "Ё", "") GER := RegExReplace(GER, "Ж", "") GER := RegExReplace(GER, "З", "") GER := RegExReplace(GER, "И", "") GER := RegExReplace(GER, "Й", "") GER := RegExReplace(GER, "К", "") GER := RegExReplace(GER, "Л", "") GER := RegExReplace(GER, "М", "") GER := RegExReplace(GER, "Н", "") GER := RegExReplace(GER, "О", "") GER := RegExReplace(GER, "П", "") GER := RegExReplace(GER, "Р", "") GER := RegExReplace(GER, "С", "") GER := RegExReplace(GER, "И", "") GER := RegExReplace(GER, "У", "") GER := RegExReplace(GER, "Ф", "") GER := RegExReplace(GER, "Х", "") GER := RegExReplace(GER, "Ц", "") GER := RegExReplace(GER, "Ч", "") GER := RegExReplace(GER, "Щ", "") GER := RegExReplace(GER, "Ш", "") GER := RegExReplace(GER, "Ъ", "") GER := RegExReplace(GER, "Ы", "") GER := RegExReplace(GER, "Ь", "") GER := RegExReplace(GER, "Э", "") GER := RegExReplace(GER, "Ю", "") GER := RegExReplace(GER, "Я", "") GER := RegExReplace(GER, "0", "") GER := RegExReplace(GER, "`:", "") GER := RegExReplace(GER, "__", "") GER := RegExReplace(GER, "___", "") GER := RegExReplace(GER, "-", "") Loop 9 { GER := RegExReplace(GER, A_Index, "") } } FileDelete, Blacklist.txt FileAppend, %GER%, Blacklist.txt AddChatMessageEx("{FFFF00}", "{FFFF00}[AHK]{FFFFFF} Чёрный Список обновлён.") Return
[AHK] Биндер Лицензёра v2.2 for Advance ----> http://cheat-master.ru/forum/150-675295-1 [AHK] AntiAFK ----> http://cheat-master.ru/forum/150-697205-1 [AHK] Role Play Таксист ----> http://cheat-master.ru/forum/150-701429-1
|
|
|
|