Need help with c# Send text with random speed

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

nova

Client
Регистрация
09.10.2011
Сообщения
88
Реакции
7
Баллы
8
I am trying to send text using c# and using a random delay.

I tried this:

string pause = project.Variables["randomsendkeysspeed"].Value;
instance.SendText("hello world",pause);

I am getting an error. It says something about cannot convert from string to int.

Anyone know what i'm doing wrong and how to fix it?

Thanks
 
instance.SendText("hello world",Convert.ToInt32(pause));
 
  • Спасибо
Реакции: Macs Bank и nova
thanks a lot for the help.
 

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