Page 1 of 1

BUG? focus function not available / How set textbox focus?

Posted: 27 Aug 2014 08:20
by EBen
Hi,

I would like to fill two textboxes on a website with some text using the "control UI" action and sendText. My problem is how to set the focus of a textbox. The overlay control suggests to use the function "focus" with the control UI action. However, it seems that at least my version of automagic (1.23.0 on Kitkat 4.4) doesn't recognize the "focus" function, it raises an error message "[unknown function name[0-5]]". Is this a bug or does anybody know a workaround?

Thanks,
Erik

Re: BUG? focus function not available / How set textbox focu

Posted: 27 Aug 2014 18:31
by Martin
Hi,

Yes, that's a bug of the text editor which is not aware that the focus-function exists. This should be fixed in the next update.
It should be possible to execute the script successfully, even when the focus function is marked as an error.

Regards,
Martin