Need search results found in Action Designer

  • Автор темы Автор темы tae861
  • Дата начала Дата начала

tae861

Новичок
Регистрация
05.05.2022
Сообщения
4
Реакции
0
Баллы
1
I want the last value found. For example, it's number 13, I want to know. How to get this value, set in the Match field
 

Вложения

  • Capture.PNG
    Capture.PNG
    29,3 KB · Просмотры: 197
  • 11Capture.PNG
    11Capture.PNG
    51,8 KB · Просмотры: 209
C#:
Развернуть Свернуть Копировать
Tab tab = instance.ActiveTab;

tab.Navigate("https://zennolab.com/en/");
if (tab.IsBusy) tab.WaitDownloading();

HtmlElementCollection heCol = tab.FindElementsByAttribute("a","tagname","a","regexp");

return heCol.Count();

returns all elements from this search, so it's easier to adjust it for yourself
94862
 
C#:
Развернуть Свернуть Копировать
Tab tab = instance.ActiveTab;

tab.Navigate("https://zennolab.com/en/");
if (tab.IsBusy) tab.WaitDownloading();

HtmlElementCollection heCol = tab.FindElementsByAttribute("a","tagname","a","regexp");

return heCol.Count();

returns all elements from this search, so it's easier to adjust it for yourself
Посмотреть вложение 94862

I use it in zenno Droid, no Tag a, what command do I need to use?
 

Вложения

  • 123456.PNG
    123456.PNG
    19,4 KB · Просмотры: 215
It's completely different programs. I believe in ZD with a cube you can get apps XML to variable, then parse the XML, not sure about the C# methods available
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)