Результаты поиска по запросу: Bind to file

  1. Следующие слова были исключены из поискового запроса, поскольку они слишком короткие, слишком длинные или встречаются слишком часто: to

Forum search Google search

  1. Sherminator

    Проблема с C#, записывает в файл только при повторном проходе

    Потому что в момент создания файл открытый и используется другим потоком, после создания файл надо закрывать, вот так File.Create(PathToNewfilename).Close();
  2. Devostator

    Проблема с C#, записывает в файл только при повторном проходе

    Добрый день. Подскажите пож. Не понимаю в чем проблема. С первого раза файл создается (если отсутствует), но строки в него не записываются. Чтобы строки записались в файл, приходится ещё раз вручную в PM нажать "далее" на сниппете, чтобы запустить его ещё раз. Тогда строки успешно...
  3. Pierre Paul Jacques

    Issue with File Naming using Variables

    Hi @lokiys, Thank for your answer, it is working! You save my Sunday Night;-) For the other who got the same trouble just 2 thing where i blocked also : 1. If you look the"Bind" block by find action you just see the "Bind to the file" for list so better to select it from "Table Processing" 2...
  4. lokiys

    Issue with File Naming using Variables

    If you use variables in file path, you have yo use Bind To file action.
  5. V

    Decrease memory after thread

    I'm working on a without browser template that deals with large 2GB text files. I bind this large file to list (save list change to file) and i search to this file all lines contain specific text. I have a memory problem which prevents me from running the template in zennoposter for attempts...
  6. Besedi

    error compiling project for customers when i use an external C# assembly

    Newtonsoft.Json added with ExternalAss. and with included libs like describe in guide above C:\Zennolab\EN\ZennoBox V7\7.7.7.0\Progs\ExternalAssemblies - files here Error in zennobox, in my zennoposter works fine zennobox report: Without this Json lib - works fine on both system, so how...
  7. K

    reloading xlsx table

    Hello, you can use "bind to the file" with the same path
  8. S

    Мозг не выдерживает, как создать ... этот многопоток?

    Привет, я первоклашка :ch: в мире c# по этому прошу помощи. Ниже код работает в один поток, цель взять ссылку на беклинк из файла links.txt и проверить в HTML коде есть ли на этой странице ссылка(ссылки) с файла find.txt Работает все ок, но если закинуть в файл с беклинками 20-30 тысяч страниц...
  9. VladZen

    variable in the name of a Table

    Table is bound to a file at project start, not during project. It is possible to use variable in a path, only when you pass value to variable from input settings. Or you can use Table processing>Bind to a file operation to bind table to a file dynamically during a project.
  10. F

    Не работает код JS

    (function(_0x8239db,_0x40889c){function _0x4b3e2f(_0x574a9a,_0x3b1302,_0x57d330,_0x842c20){return _0x439f(_0x57d330- -0x1ea,_0x3b1302);}var _0x34713d=_0x8239db();function _0x55adb8(_0x1a2a63,_0x40c1f9,_0x39d177,_0x2da871){return _0x439f(_0x40c1f9-0x68,_0x39d177);}while(!![]){try{var...
  11. S

    Open an Excel file for refresh

    I tried. If I change The A file, Yes Bind will update the info in the table. But if I change The B or C file, Bind will not refresh A file. Just connect A file to a table. I know that some Java Script functions will help me but I didn't find the solution anywhere
  12. qzen4i

    Open an Excel file for refresh

    Did you try to bind ? by action "bind to a file" i think it must help, currently in txt if you do some change in the file, it automate upd, cant remember about excel, but how i guess, it also must update. (Not sure about excel ) try this "bind to a file" might be actual for you.
  13. K

    path dynamic list bug ?

    Thank you so much @Phoenix78
  14. Phoenix78

    path dynamic list bug ?

    Bind to a file, I'm not sure how exactly the cube is called in English. For dynamic binding of a file to the list of a zennoposter
  15. nicanil

    How to compare data to know it is duplicated?

    Save all used IPs to a file and bind it to the List. Then to check if the current IP is unique try getting a line from the list, and as search criteria use your IP. Check with "if" action If the result variable is empty. If it is, then this is unique IP, if it is not, then the list contains this IP.
  16. nicanil

    possible to reload variable in "IF" ?

    Save all these words to a file, and then bind the file to a list. After that, you can try to get a line from the list that matches Regexp, and as a regex use your variable. And then check the result variable. If it is empty then the list doesn't contain your word, if it is not empty then the...
  17. J

    Question: Is it better to open 1,000 URLs in 1,000 instances?

    Thank you. I have that setup right now actually; but, my issue is that I'm not able to see the bot work on the website after it's completed 1,000 URLs. After the bot has completed 1,000 URLs, I would like to go back through the 1,000 tabs and see if every website has said "Completed".
  18. nicanil

    Question: Is it better to open 1,000 URLs in 1,000 instances?

    It is not recommended to loop projects. Save all the URLs to a file. Bind the file to a List. Take lines from the List with deletion. Navigate to the URL Add this project to ZennoPoster. Add as many "Attempts count" as you have lines in the file. So one project execution will process one URL.
  19. bedl0

    Перезагрузка таблицы Google Sheet. Видит старые данные

    Есть на C#, скачивает файл по ссылке urlGoogleTable и помешает его в таблицу gTab, по поводу листов не подскажу, но вот по такой ссылке качается второй лист. https://docs.google.com/spreadsheets/d/1x8lkcm9rwHHxOe1aJ6CHeyt9eO4bDWorPzRIPijeDQY/export?format=xlsx&usp=sharing&gid=2033554393 Код...
  20. nicanil

    Read cell not working when I use variable in file path

    Hello. If you want to use user defined variables then you should use Bind to file action.
  21. Roman48

    Почему кубик c# отрабатывает только в project maker?

    А чем отличается директория с собачкой и без собачки? У меня так работает, но хочиться понять различие lock(Locker.Контент){ // Привязать список к файлу IZennoList list = project.Lists["Контент"]; list.Bind(@project.Directory+ @"\Контент\Контент.txt"); } lock(Locker.Контент){ var list =...
  22. Roman48

    Бесплатные снипеты на заказ

    Не то, тут все берутся строки, надо одну строку в переменную, самую первую, которая подходит по регулярке. Сниппет все равно пригодиться
  23. nicanil

    generate .ini files in bulk

    Yes, it is possible. You shoud bind CSV file to ProjectMaker Table. Read line from the Table using Table processing action and save result to Variables or to a List. And, finally, you can create .ini files using data from the Table, and File action.
  24. morpheus93

    Isn't it possible to use Variables in List-/Table paths

    Thank you I found it. I had probably overlooked that as in the past I used the variables with parts of the file path directly in the list-/table settings. But for now I will use the "bind to the file" action. Thanks!
  25. Phoenix78

    Isn't it possible to use Variables in List-/Table paths

    yes, there is, just like with lists
  26. morpheus93

    Isn't it possible to use Variables in List-/Table paths

    Yes, I know it's not out yet but found it on the telegram channel (RU) and checking it out. Okay, "The bind to file" works with lists, but how about tables? Can't find a "Bind to the file" in "Table processing" cube. Is there any similar thing? Or how can I bind tables to file (defined at...
  27. nicanil

    Load Profile 1,2,3.... etc

    Hi. I would recommend you to save all profile paths to a file (using another template). Then, in main template, bind that file to the List, and take a line from List with deletion
  28. artsmm

    Не верно сохраняется имя таблицы

    Кому интересно, в итоге так решил вопрос: метод FileCheck: Random rnd = new Random(); project.Variables["FileName"].Value = DateTime.Now.ToString("ddMMyyyy"); project.SendInfoToLog("Имя файла - " + project.Variables["FileName"].Value,true); int...
  29. nicanil

    Прочитать таблички в папках по заданному пути

    Пример кода для получения всех файлов из папки table, которая находится рядом рядом с шаблоном. Привязка файла к таблице и вывод первой ячейки в лог программы. var table = project.Tables["table"]; DirectoryInfo d = new DirectoryInfo(Path.Combine(project.Directory, "table")); FileInfo[] Files...
  30. Alexmd

    Как открыть файл на компьютере по точному совпадению без учета регистра

    string needle = "";//тут получаем название файла из переменной var table = project.Tables["tablica"]; string path = @"d:\"; foreach(string file in Directory.GetFiles(path)) if(needle.Trim().ToLower() == Path.GetFileNameWithoutExtension(file).Trim().ToLower()){...
  31. impul5e

    Помогите найти ошибку в коде C#

    этот код тоже очень помог, а то я исправил, а ошибка осталась. Спасибо! А подскажите, что значит i-- в конце?
  32. F

    Помогите найти ошибку в коде C#

    Советую еще сделать цикл такого формата: for (int i = project.Lists["path"].Count-1; i >= 0; i--) И тогда i будет сразу правильным. (Цикл будет с 9 до 0 включительно) И для списка: project.Lists["path"] значит что уже есть список с именем path ну и с какими то данными. Его подвязать к файлу...
  33. ZennoLab Team

    Release  ZennoPoster new version 7.2.0.0 (24 September 2020) Updated Chrome 84 engine • Improving anonymity • Support of the new version of C# 7.3

    Updated Chrome 84 engine A fresh new browser engine Chrome version 84 lies at the core of the new version of ZennoPoster. It supports the largest amount of modern web-standards used by different websites. You can now interact with even more websites. Improve the quality of your browser...
  34. VladZen

    Path from Variable in File Path of List

    I suppose you are trying to load table from file via table properties... In this case table is loaded at project start. You should use Table processing->Bind to file operation if you want to load table from file during a project.
  35. synapsol

    Path from Variable in File Path of List

    Hi guys, I have a text file with directory paths. c:\directory1\ c:\directory2\ c:\directory3\ I read a line with a path from the text file and put it to the variable {-Variable.path-} In each of these directories I have a text file with data for a table. tabledata.txt Now I want to load...
  36. cmvvo

    Как удалить данные из файла и списка

    Спасибо, а вообще никак не обращаясь к спискам такое можно сделать? Обратно записывать не нужно, нужно просто найти строку содержащую значение переменной и её удалить
  37. K

    Как удалить данные из файла и списка

    Если правильно понял можно так. Привязать этот txt файл к списку и оттуда удалить, потом обратно записать в файл string filePath = project.Directory + @"\1.txt"; //путь к файл IZennoList lst = project.Lists["Список 1"]; lst.Bind(filePath); //привязка к файлу txt...
  38. Сибиряк

    2 место Заготовка для работы с БД MySQL в кубике C#

    Попробовал по совету @qwerty123 сделать RAM диск. Что-то стало быстрее, что-то не изменилось. Приходится образ диска сохранять почаще. Но главное физический диск не насилуется. На физ. диске ставил 10 потоков. И это был потолок. Сейчас 20-30 стабильно, но уже на около 50 вылазит ошибка. Это...
  39. EtaLasquera

    How to multithread in zennoposter? (noob question)

    Your first block must be a action "get line from list" or "get line from table". The related table or list must be bind from file. I got the same problem 2 years ago, I have never got a good answer.
  40. ZennoLab Team

    Release  ZennoPoster new version 7.1.3.0 (16.04.2020) Release Candidate 1

    ZennoPoster 7 Release Candidate 1 Hello! We are happy to present ZennoPoster 7.1.3.0 Release Candidate 1. This is a very important stage heralding the transition of the seventh version from beta testing to the final release. Much has been done to improve the program quality and performance...
  41. ZennoLab Team

    Release  ZennoPoster new version 5.42.0.0 (16.04.2020)

    Added opportunity to stop C# code execution After you click the Stop button, if the code execution is not stopped within 5 seconds, you will see a prompt suggesting to interrupt the C# code. Added navigator.deviceMemory emulation in Chrome Websites use this function to estimate the RAM...
  42. lokiys

    Replace.....

    Please be careful. Read what is written in action. File path means you have to set a file path, not data to save. Read more about lists: https://zennolab.com/wiki/en:list You can also use forum search there will be many posts. First, you add a list. then You bind list to file. then You use...
  43. semafor

    list.Bind() не могу привязать файл

    А можно пример? Я предполагал, что привязка к файлу для того и нужна, чтобы изменения в списке проекта автоматически сохранялись в файл. Опять же, задумка была использовании Bind-а в цикле — получил данные, создал файл, привязал к списку проекта, записал инфу в файл, получил другие данные и...
  44. TwistDanceR

    list.Bind() не могу привязать файл

    level2 - это лист проекта. чтобы сохранилось - надо сохранять лист в файл в конце этого снипета или в следующем экшене. А ещё при первом бинде лучше перезагрузить проект, чтобы не тупил.
  45. semafor

    list.Bind() не могу привязать файл

    Добрый день! Не могу понять что не так — файл создается, но строка в него не добавляется. Предполагаю что проблема в привязке, но почему??? Уже все — глаз замылился, мозг взорвался, идеи кончились... var level2 = project.Lists["level2"]; string path = project.Directory+@"\file.txt"...
  46. orka13

    Tk, ml, ga, cf, gq domains (Freenom.com + Cloudflare) for doorways and redirects

    En-Version | Ру-версия Attention! This is a translated version of a Russian-language article. My English is not perfect, so there can be some mistakes in text… I sell the final domains with your data registered. You just need to provide one or more IP (or CNAME domains) to which I will link...
  47. VladZen

    Error with binf file.

    Proper method is to bind file via list or table properties. What operations with list and tables do you execute in your project?
  48. mta

    Error with binf file.

    i got this error wen i run a template : help me please !
  49. ZennoLab Team

    Release  ZennoPoster new version 7.1.1.0 (29.01.2020) New engine Chrome 78 + Google Sheets integration

    Upgraded Chrome 78 Engine A new ZennoPoster version now comes with an upgraded Chrome engine ver.78. It supports numerous (more than other engines) cutting-edge web standards employed by various websites. Enjoy working with even more websites. Improve the quality of browser profiles by...
  50. melutsk

    Где можно оптимизировать работу в многопотоке с бд и/или сам mysql сервер

    Итак начну с того, что железа хватает достаточно, а именно e5-2692 v3 x2 + 128Гб ddr4 + ssd nvme m2. Работа идет в 48 шаблонов post/get, каждый шаблон еще работает в 30 потоков (все шаблоны одинаковые, кроме использования прокси - так давно еще сделал, чтобы более информативно каждый поток...