Author Topic: Plugin_RoboB  (Read 1765 times)

0 Members and 1 Guest are viewing this topic.

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Plugin_RoboB
« on: September 28, 2016, 01:24:59 PM »
Добрый день подскажите пожалуйста. Есть плагин при помощи которого я мог вести переписку на сайте, но сайт обновили  и если раньше кнопка "Отправить" Имела id и нажималась без проблем  и все работало , то теперь кнопка имеет следующие в себе : <button class="flat_button fl_r _im_send">Отправить</button>
И все что может дать мне плагин это :<param>BUTTON</param><param>142</
Тут то и есть проблема Tag  BUTTON  не меняется а индекс  142  меняется  он может быть в пределах 140-145
Сама кнопка имеет в себе следующее :<button class="flat_button fl_r _im_send">Отправить</button>
Есть class  но я не нашел   в vc выбрать элемент по классу .  Подскажите возможно ли как то выбрать эту кнопку в плагине Plugin_RoboB
 

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Plugin_RoboB
« Reply #1 on: September 28, 2016, 01:39:42 PM »
We cannot help unless we have the URL of the website so that we can examine how it works, and the xml for the command that was working for you.
« Last Edit: October 20, 2016, 09:11:26 AM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Re: Plugin_RoboB
« Reply #2 on: September 28, 2016, 01:56:18 PM »
https://vk.com
к сожалению там нужна регистрация.  Я понимаю если вы не хотите регистрироваться, вы можете сказать что вам надо и я постараюсь максимально дать необходимую информацию .
« Last Edit: September 28, 2016, 02:20:14 PM by mr.niki »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Plugin_RoboB
« Reply #3 on: September 28, 2016, 02:14:47 PM »
I tried to login using facebook but it didn't work.

You probably need to use
Code: [Select]
RoboB.ElementRegex
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.2.9-->
<command id="453" name="find button" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>RoboB.ElementRegex</cmdType>
    <params>
      <param>button</param>
      <param>class="flat_button\sfl_r\s_im_send</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>

or if the button does not move you can try to use RoboB.ElementByXY

mr.niki

  • Contributor
  • ***
  • Posts: 84
  • Karma: 1
    • View Profile
Re: Plugin_RoboB
« Reply #4 on: September 28, 2016, 02:19:05 PM »
Спасибо !  Все работает . Протестирую в течении 2 недель. Просто этот сайт Российский аналог facebook.
Еще раз спасибо за помощь

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Plugin_RoboB
« Reply #5 on: September 28, 2016, 02:59:01 PM »
You're welcome. :)