Variable in mouse move snippet

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

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Реакции
90
Баллы
28
Ok we have snippet for mouse move

instance.ActiveTab.FullEmulationMouseMove(300,300);

when i try to add variable

project.Variables["top"].Value

project.Variables["left"].Value

not work,

instance.ActiveTab.FullEmulationMouseMove(project.Variables["top"].Value,project.Variables["left"].Value);

where i wrong?

thanks
 
I guess you should convert variable to int type, as it is string.
int.Parse(project.Variables["top"].Value);
 
works you are the best
 

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