paste not working

sousben

New member
I have some issues with the paste functionality, when using it with certain apps.

- the following error when using it with an app that is webview based:
"Failed to paste text. Typically only EditText fields can pasted into. This field type = android.widget.WebView"
- the error below when I tried on my samsung note app:
"Failed to paste text. Typically only EditText fields can pasted into. This field type = android.widget.ScrollView"
- when I tried it on whatsapp, it pasted successfully

It looks like macrodroid allows pasting only in field type EditText and doesn't consider other potentially pasteable field types such as WebView and ScrollView

Could this be fixed in a future version?
 
Last edited:

sousben

New member
Hi support,
I'm bumping this again, for some reason it hasn't received a lot of attention but is quite crippling

I have implemented an automation that converts text into keyboard clicks, supporting multiple languages and numbers but it remains fiddly, and prone to errors when the keyboard lacks responsiveness (it may miss a character sometimes). I resolve it by adding more delay between character inputs but it makes the whole thing a lot slower than if I could just paste text.

So would you please consider adding support for more pasteable fields than just EditText?

Many thanks
 

sousben

New member
Maybe accessibility doesn't allow for this ?
I don't know the details, but from the error message, it looks like the developer only supported EditText fields for pasting and left away a couple of other types that could be pasted into too, but I may be wrong

If the developer could take a look and confirm that would be super helpful
 

sousben

New member
I didn't know that was a possibility 😬
Thanks Endercraft, for emailing them on my behalf, please let me know if you get an answer! ❤️
 

MacroDroidDev

Administrator
Staff member
The way the feature works is by navigating the Android view tree to try and find the currently focused UI control. It then tries to paste the content into this UI element. This works pretty well for standard Android UIs, but with web views I have to be honest and say I'm not really sure exactly what goes on at this level. I know it does work to some extent but I guess it may depend on the exact web page in question and how it is constructed.
 

ryush00

New member
I think Macrodroid should support keyboard typing like AutoInput. It is a very important problem but we have to buy another plug-in.
 
Top