Hello
How to copy text from this message
I want to copy name and address
Copy text
Moderator: Martin
Re: Copy text
Hi akt
Use control ui action to get text. Use control ui infos action to know the id of the name and address. Any doubts? Please post.
from record4
Use control ui action to get text. Use control ui infos action to know the id of the name and address. Any doubts? Please post.
from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Copy text
Hello
In control ui, which function to use
In control ui, which function to use
Re: Copy text
Please could you post a flow as I don't know how to write scripts.
Re: Copy text
Hi akt
Use show control ui infos action to get
Example as below for your understanding.
text = getTextById("com.android.chrome:id/url_bar");
Text contains the desired address.
Trigger = app task started (app name chrome)
Action = control ui script as
Use condition debug dialog to know more.
From record4
Use show control ui infos action to get
Example as below for your understanding.
text = getTextById("com.android.chrome:id/url_bar");
Text contains the desired address.
Trigger = app task started (app name chrome)
Action = control ui script as
Code: Select all
sleep (5000);
text = getTextById("com.android.chrome:id/url_bar");
From record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Copy text
@Akt : where is these text located? Inside app or a browser? If inside app, you can use Control UI as suggested by Rafi4. You cn check the tutorial here : viewtopic.php?f=6&t=7320
But if it is from browser, most of the time, you can't use Control UI to get the text. You can still try Control UI function getTextInActiveWindow() to see if it returns the text. If not, then you have to use HTTP request and parse the result using regex.
But if it is from browser, most of the time, you can't use Control UI to get the text. You can still try Control UI function getTextInActiveWindow() to see if it returns the text. If not, then you have to use HTTP request and parse the result using regex.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.