Non root Keyboard set
Moderator: Martin
Non root Keyboard set
I would like to change my keyboard input to Car Keyboard when the AppRadio app is activated and back to Samsung keyboard when the app is closed. I have a Note 3, non rooted AT&T. I have seen a post that it was going to be added but I cannot find the action for a non root. Please advise
Re: Non root Keyboard set
Hi,
You could use an action Show Input Method Selector to show the keyboard selection and then wait for a short duration (1 second) and simulate input with action Control UI: click("KeyboardXYZ").
Flows could look like this:
Flow 1:
-trigger App Task Started: AppRadio
-action Show Input Method Selector
-action Sleep: 1s
-action Control UI: click("*Car*")
Flow 2:
-trigger App Task Ended: AppRadio
-action Show Input Method Selector
-action Sleep: 1s
-action Control UI: click("Samsung keyboard")
The exact name of the keyboard should be passed to the click action of Control UI otherwise Automagic can not find the correct one.
Regards,
Martin
You could use an action Show Input Method Selector to show the keyboard selection and then wait for a short duration (1 second) and simulate input with action Control UI: click("KeyboardXYZ").
Flows could look like this:
Flow 1:
-trigger App Task Started: AppRadio
-action Show Input Method Selector
-action Sleep: 1s
-action Control UI: click("*Car*")
Flow 2:
-trigger App Task Ended: AppRadio
-action Show Input Method Selector
-action Sleep: 1s
-action Control UI: click("Samsung keyboard")
The exact name of the keyboard should be passed to the click action of Control UI otherwise Automagic can not find the correct one.
Regards,
Martin
Re: Non root Keyboard set
The app itself starts on boot, there is a notification on the status bar which shows one Icon for disconnected and another for connected. I found something to trigger when the main app is on the status bar, but no way of discerning on whether connected or disconnected. Is there a way of triggering on the status of the notification ie connectednor disconnected?
Re: Non root Keyboard set
Trigger Notification on Statusbar Displayed passes variables title and notification_text to the executed flow which could be used to distinguish between the two cases. notification_text is not officially supported and might not work with all notifications.
Following condition could be used:
-trigger Notification on Statusbar Displayed
-condition Expression: contains(title, "connected")
-->true: -action when connected
-->false: -action when not connected
Following condition could be used:
-trigger Notification on Statusbar Displayed
-condition Expression: contains(title, "connected")
-->true: -action when connected
-->false: -action when not connected