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

Post your questions and help other users.

Moderator: Martin

Post Reply
EBen
Posts: 13
Joined: 27 Aug 2014 08:06

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

Post by EBen » 27 Aug 2014 08:20

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

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

Post by Martin » 27 Aug 2014 18:31

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

Post Reply