AutoInput UI Query Wait till grabs text

1,994 views
Skip to first unread message

Saad Thahim

unread,
Feb 21, 2015, 8:32:29 AM2/21/15
to joao...@googlegroups.com
I want autoinput ui query to
Wait till it grabs a text and than
moves to next action in task.
I dont want to use wait action
Because sometimes it grabs text
In less time and sometimes it takes more time.

Is there anyother solution?

Marta Hintz

unread,
Feb 21, 2015, 12:26:23 PM2/21/15
to joao...@googlegroups.com
Can't you use a Tasker action wait until, and then use a auto input action?

Saad Thahim

unread,
Feb 21, 2015, 2:35:05 PM2/21/15
to joao...@googlegroups.com
How to use wait until with auto input, should i wait before autoinput query or after it?

Marta Hintz

unread,
Feb 21, 2015, 8:22:28 PM2/21/15
to joao...@googlegroups.com
What are you trying to do? Maybe read up on it so you understand how to use it. From your question it seemed like you wanted a wait until Type action.

Saad Thahim

unread,
Feb 22, 2015, 12:42:56 AM2/22/15
to joao...@googlegroups.com
Here is my task
Waplog (284)
A1: AutoInput Action [ Configuration:Type: Id
Value: com.waplog.social:id/img_message
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 Continue Task After Error:On ]
A2: Wait [ MS:413 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A3: AutoInput UI Query [ Configuration:Variables: name Package:com.joaomgcd.autoinput Name:AutoInput UI Query Timeout (Seconds):20 ]
A4: [X] Variable Set [ Name:%name To:. Do Maths:Off Append:Off ] If [ %name !Set ]
A5: Flash [ Text:%name Long:Off ]
A6: Variable Randomize [ Name:%waprnd Min:1 Max:4 ]
A7: Variable Set [ Name:%wapmag To:hello %name. how are you? Do Maths:Off Append:Off ] If [ %waprnd ~ 1 ]
A8: Variable Set [ Name:%wapmag To:hello sweet heart %name. what are you doing? Do Maths:Off Append:Off ] If [ %waprnd ~ 2 ]
A9: Variable Set [ Name:%wapmag To:hey beautiful %name. your so hot. Do Maths:Off Append:Off ] If [ %waprnd ~ 3 ]
A10: Variable Set [ Name:%wapmag To:hello %name. hows life? Do Maths:Off Append:Off ] If [ %waprnd eq 4 ]
A11: Set Clipboard [ Text:%wapmag Add:Off ]
A12: AutoInput Action [ Configuration:Type: Id
Value: com.waplog.social:id/txt_message
Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A13: AutoInput Action [ Configuration:Type: Id
Value: com.waplog.social:id/btn_send
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A14: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A15: Button [ Button:Back ]
A16: Button [ Button:Back ]


I have added a wait after grab text autoinput action which i just want. Because it grabs text sometimes in less time but my task holds till the time.

João Dias

unread,
Feb 23, 2015, 6:22:17 AM2/23/15
to joao...@googlegroups.com
Saad maybe you want to use the "Text" field in AutoInput UI Query? Check this guide on step 5 for example 


--
You received this message because you are subscribed to the Google Groups "joaomgcd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joaomgcd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Saad Thahim

unread,
Feb 25, 2015, 3:20:52 PM2/25/15
to joao...@googlegroups.com
I will read thaymt and come back to you. I also have problems with autoinput action. It's not working as it was before I have posted a thread can u help me

Saad Thahim

unread,
Feb 28, 2015, 11:17:27 AM2/28/15
to joao...@googlegroups.com
Joao actually what im trying to di is send random messages to friends on a chat social app.

I want ui query to grwb their name from chat window and than send them a random message adding their name into the message. Like
hi john. How are you today?

It takes a while to grab the name so mostly it just sends a blank variable name like

Hi %name.how are you today?


I want the task to wait until ui query grabs the name properly.

Hope im clear to you now.

How can i add this wait. I donylt want it to have a wait for 1 or 2 seconds but to wait till it grabs the name.

João Dias

unread,
Mar 2, 2015, 7:36:52 AM3/2/15
to joao...@googlegroups.com
Set timeout in the AutoInput UI query to a higher value, then set the same value in Tasker in the "Timeout (Seconds)" slider

Saad Thahim

unread,
Mar 4, 2015, 1:00:20 AM3/4/15
to joao...@googlegroups.com
I don't have to use wait action in the task?

Saad Thahim

unread,
Mar 4, 2015, 1:02:55 AM3/4/15
to joao...@googlegroups.com
Timeout is not working, it doesn't grabs any value, and shows me just empty variable like %name.


On Monday, 2 March 2015 17:36:52 UTC+5, joaomgcd wrote:
Reply all
Reply to author
Forward
0 new messages