Change Keyboard Language

74 views
Skip to first unread message

AJ

unread,
Apr 27, 2015, 2:39:04 PM4/27/15
to tas...@googlegroups.com
Hi,

Is it possible to change the keyboard (Swiftkey) language from Tasker?

Robert Ryan

unread,
Apr 27, 2015, 4:39:36 PM4/27/15
to tas...@googlegroups.com

On Apr 27, 2015 12:39 PM, "AJ" <sj7...@gmail.com> wrote:
> Is it possible to change the keyboard (Swiftkey) language from Tasker?

You can do it with the Autoinput plug-in. As an example, this task will toggle Polski (downloading it if necessary):

Test (30)
A1: Launch App [ App:SwiftKey Keyboard Data: Exclude From Recent Apps:Off ]
A2: AutoInput Action [ Configuration:Type: Text
Value: Languages
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
<Select>
A3: AutoInput Action [ Configuration:Type: Text
Value: Polski
Action : Click
Timeout: 1 Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 Continue Task After Error:On ]
A4: Goto [ Type:Action Label Number:1 Label:End ] If [ %err !Set ]
A5: AutoInput Action [ Configuration:Type: Focus
Action : Scroll Forward Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A6: Goto [ Type:Action Label Number:1 Label:Select ]
<End>
A7: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ]
A8: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A9: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ]

AJ

unread,
Apr 28, 2015, 7:14:06 PM4/28/15
to tas...@googlegroups.com
Actually, I was looking for a way to toggle it seamlessly while I use the phone, e.g.:
When I Launch App X activate language1 when I launch App Y activate language2 ...

Nonetheless, thanks.

Robert Ryan

unread,
Apr 28, 2015, 8:09:45 PM4/28/15
to tas...@googlegroups.com

Unfortunately, SwiftKey does not expose any API that would allow you to do that.

Reply all
Reply to author
Forward
0 new messages