Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [How To] Voice controlled Kik messaging!How To (self.tasker)
- submitted 9 months ago * by zensunset
- I was sick of only being able to send only text messages using voice control on my moto x. I wrote up a task which I can trigger in a number of ways which let's me send messages on kik without having to have my phone in my hand.
- Anyone interested in this? (Also, what's the best way to share this? Export as xml?)
- Requires: autovoice, autoinput, and secure settings. NO ROOT REQUIRED. :)
- Edit: Here's the description. Anyone know how best to share this? Cause I'm pretty clueless, since this is my first post on this sub.
- Kik Over Voice (96)
- A1: Secure Settings [ Configuration:Keyguard Disabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
- A2: Say [ Text:To whom do you wish to send this message? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
- A3: AutoVoice Recognize [ Configuration:
- Prompt Text: To whom do you wish to send a message? Language Model: Free Form Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
- A4: Launch App [ App:Kik Data: Exclude From Recent Apps:Off ]
- A5: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
- A6: AutoInput UI Query [ Configuration:Variables: handle Package:com.joaomgcd.autoinput Name:AutoInput UI Query Timeout (Seconds):20 ]
- A7: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ] If [ %aitext() !~ *CELL* ]
- A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
- A9: AutoInput UI Query [ Configuration:Variables: handle Package:com.joaomgcd.autoinput Name:AutoInput UI Query Timeout (Seconds):20 ]
- A10: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ] If [ %aitext() !~ CELL ] <Kik person stored in %Name>
- A11: Variable Set [ Name:%Name To:%avword() Do Maths:Off Append:Off ]
- A12: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
- A13: AutoInput Action [ Configuration:Type: Text
- Value: %Name Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ] <GoTo>
- A14: Say [ Text:What's the message? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
- A15: AutoVoice Recognize [ Configuration:
- Prompt Text: What's the message? Language Model: Free Form Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
- A16: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
- A17: Variable Set [ Name:%KikMessage To:%avcomm Do Maths:Off Append:Off ] <Message sent will be %KikMessage>
- A18: Set Clipboard [ Text:%KikMessage Add:Off ]
- A19: AutoInput Action [ Configuration:Type: Id
- Value: kik.android:id/txt_new_message Action : Select Text Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
- A20: AutoInput Action [ Configuration:Type: Id
- Value: kik.android:id/txt_new_message Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
- A21: Say [ Text:%avcomm. Is this correct? Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
- A22: AutoVoice Recognize [ Configuration:
- Prompt Text: %avcomm Is this correct? Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
- A23: If [ %avcomm ~ yes ]
- A24: AutoInput Action [ Configuration:Type: Id
- Value: kik.android:id/button_send_message Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
- A25: Else If [ %avcomm ~ *no* ]
- A26: Goto [ Type:Action Label Number:13 Label:GoTo ]
- A27: End If
- A28: Secure Settings [ Configuration:Keyguard Enabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
- // BaSs_HaXoR
- // https://www.reddit.com/r/tasker/comments/2rtxjb/how_to_voice_controlled_kik_messaging/
Add Comment
Please, Sign In to add comment