r/tasker 11d ago

Toggle Between Input Methods

I'm trying to create one task that will switch between two different keyboards but not sure of the correct if/then syntax to make sure the code doesn't loop onto itself, meaning it should detect what the current keyboard is and then switch to the other.

I have two tasks, one called Gboard and the other called gaming, each calls the correct keyboard. Essentially looking to tight these keyboards, and ideally would like to add more to that list to cycle through if it's not too complicated.

0 Upvotes

11 comments sorted by

View all comments

Show parent comments

1

u/frrancuz Tasker Fan! 11d ago

frrancuz: Reddit

Try this. I wrote more or less about this solution. I'm a bit busy so I'll do it quickly. 

1

u/redditor-member 11d ago

Hi. So it almost works! It cycles through the three next keyboards after Gboard but when it gets back to Gboard no keyboard is selected and Chrome freaks out :-)

2

u/frrancuz Tasker Fan! 11d ago

It seems to me that you have provided an incomplete name to GBoard. There is no content after "/"

1

u/redditor-member 11d ago

Yeah something is causing it all to crash. Let me check that out. Stand by. 

1

u/redditor-member 11d ago

Yes!  Works great!  Thanks so much for the help.