cursor position change

qlwik

Client
Регистрация
03.04.2013
Сообщения
207
Благодарностей
5
Баллы
18
Hi, I have little problem with cursor:

i have form like that:

name (input)
email (input)

content (wysiwyg editor)

I handled how to post to wysiwyg editor but i have one problem:

zp post on some sites right like it should be, put name, email, then go to wysiwyg put content and press send,

but on some sites he do like that:

put name
put email

(cursor stays at email)

then find wysiwyg field but put content to email field,

if I manualy in debug mode press by mouse on wysiwyg field before post there, he will post right,
if I try to click wysiwyg by zp cursor dont change position and zp anyway post content to email field,

question how can i change cursor position form email field (input) to wysiwyg editor??????

thanks for any help.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
In some cases I rise mouse click emulation, but to do that we need coordinates for click, so you can take leftinbrowser(x) and topinbrowser(y) and do an offset with run JavaScript action
{-Variable.x-}+10 and {-Variable.y-}+10 and then rise click with that coordinates.
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Or you can try Rise=>Focus first. Sometimes that will cure your ills.
 
  • Спасибо
Реакции: qlwik и Hungry Bulldozer

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113

spawn94260

Client
Регистрация
14.05.2013
Сообщения
53
Благодарностей
0
Баллы
8
In my case, when i try to run a template in ZP after making in ZennoMaker with mouse emuation, i have look bad coordinates between ZM and ZP, and i have found the solution, DON'T TURN in ZennoPoster the template in FULLSCREEN ;-)

If you don't show the running window or if your don't switch in full screen the real coordinates in ZennoMaker are the same in ZennoPoster.

I say this for help anybody as me... 3Hrs for found this problem :p
 

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