Help with merging flows

Post your questions and help other users.

Moderator: Martin

Post Reply
coconutxyz
Posts: 5
Joined: 16 Sep 2019 12:51

Help with merging flows

Post by coconutxyz » 09 Nov 2019 08:41

So i have been using this keyboard called 69 (lol) and while it is awesome, the development has stopped for a long time making it kinda limited in certain situation. I'm using paranoid android Q for Xiaomi MI9T and for this i have installed gboard as a backup and created 4 flows to cater different scenarios.

The keyboard has problem popping up with quick reply on lockscreen and using relay for reddit, the enter button doesn't work when i am searching for something. For this 2 scenarios i have change the default input method to gboard

I am looking for some help to maybe merge them if possible and another favor i would like to ask is while keeping relay's search box focused, i would like it to switch the keyboard to 69 when quick replying to messages from e.g. telegram and then switch the keyboard back to gboard.

Thanks.
exported_data_20191109_162030.xml
4 flows in total
(4.78 KiB) Downloaded 11 times

User avatar
Desmanto
Posts: 2076
Joined: 21 Jul 2017 17:50

Re: Help with merging flows

Post by Desmanto » 10 Nov 2019 17:40

Seems like a lot of trouble to keep using the app. Using Autoamagic to solve the problems seems too hassle. I am a bit confused of what you want to achieve actually.

Anyway, you can use Control UI to keep focus on the relay's search box. You can find the elementID by using the Control UI overlay button. For Telegram, you can check the notification displayed on statusbar.

To merge several flow together, you can combine the triggers all in single flow. You can add the triggers by tapping the 5 lines icon at the trigger element. Then split the triggers based on the name using condition expression. You can see example how to split it at my automagic backup flow : viewtopic.php?f=3&t=7858
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), Resurrection Remix Official 7.0.2 20190829, Pie 9.0, Rooted.

coconutxyz
Posts: 5
Joined: 16 Sep 2019 12:51

Re: Help with merging flows

Post by coconutxyz » 14 Nov 2019 00:22

Yea I get that it is pretty cumbersome, so I’ve come up another idea which is showing a custom widget for the done/search button. The problem is keyevent 66 is not working and I’m not sure what is the command for that, but tasker has this.

Also since sendkey requires switching to automagic keyboard. Is there anyway I could simulate click to change input method then sendkey then change back to default keyboard then hide overlay.

Sorry if I have confused you

Post Reply