Advertisement
Guest User

Read Texts Description

a guest
May 4th, 2015
1,289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. Profile: Aux Text (16)
  2. Event: Received Text [ Type:Any Sender:* Content:* ]
  3. State: Headset Plugged [ Type:Any ]
  4. Enter: Read Text (15)
  5. A1: Variable Clear [ Name:%STD_OUT Pattern Matching:Off ]
  6. A2: Secure Settings [ Configuration:runcheck Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
  7. A3: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
  8. A4: If [ %STD_OUT ~ *spotify* ]
  9. A5: Send Intent [ Action:com.spotify.mobile.android.ui.widget.PLAY Cat:None Mime Type: Data: Extra: Extra: Package:com.spotify.music Class: Target:Broadcast Receiver ]
  10. A6: End If
  11. A7: Say [ Text:Read? Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  12. <t4>
  13. A8: Get Voice [ Title:Read Language Model:Free Form Maximum Results:1 Timeout (Seconds):30 ]
  14. A9: If [ %VOICE ~ *yes*/*read*/*yep*/*yeah*/*message* ]
  15. A10: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  16. A11: Say [ Text:%SMSRN said %SMSRB Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:On ]
  17. A12: Popup [ Title:%SMSRN Text:%SMSRB Background Image: Layout:Popup Timeout (Seconds):10 Show Over Keyguard:On ]
  18. A13: Say [ Text:Reply or call back? Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  19. A14: Get Voice [ Title:Reply or call back? Language Model:Free Form Maximum Results:1 Timeout (Seconds):20 ]
  20. A15: If [ %VOICE ~ *call* ]
  21. A16: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  22. A17: Variable Set [ Name:%call To:1 Do Maths:Off Append:Off ]
  23. A18: If [ %STD_OUT ~ *spotify* ]
  24. A19: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
  25. A20: Send Intent [ Action:com.spotify.mobile.android.ui.widget.PLAY Cat:None Mime Type: Data: Extra: Extra: Package:com.spotify.music Class: Target:Broadcast Receiver ]
  26. A21: End If
  27. A22: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
  28. A23: Call [ Number:%SMSRF Auto Dial:On ]
  29. A24: Else
  30. A25: If [ %VOICE !~ *send*/*message*/*reply*/*tell*/ ]
  31. A26: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  32. A27: Say [ Text:Cancelled Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  33. A28: Else
  34. A29: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  35. <t3>
  36. A30: Say [ Text:What's your message? Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  37. <t1>
  38. A31: Get Voice [ Title:What's your message? Language Model:Free Form Maximum Results:1 Timeout (Seconds):30 ]
  39. A32: If [ %VOICE !Set ]
  40. A33: Say [ Text:Didn't catch that. Let's try again. Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  41. A34: Goto [ Type:Action Label Number:22 Label:t1 ]
  42. A35: Else
  43. A36: Variable Set [ Name:%MessageContent To:%VOICE Do Maths:Off Append:Off ]
  44. A37: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  45. A38: Say [ Text:Your said %MessageContent. Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:7 Respect Audio Focus:On Network:Off Continue Task Immediately:On ]
  46. A39: Popup [ Title:You said Text:%MessageContent Background Image: Layout:Popup Timeout (Seconds):8 Show Over Keyguard:On ]
  47. A40: Say [ Text:Do you want to send it? Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:7 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  48. <t2>
  49. A41: Get Voice [ Title:Send the message? Language Model:Free Form Maximum Results:1 Timeout (Seconds):30 ]
  50. A42: If [ %VOICE ~ *send*/*yes*/*ok*/*yup*/*yeah*/*go ahead* ]
  51. A43: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  52. A44: Send SMS [ Number:%SMSRF Message:%MessageContent Store In Messaging App:Off ]
  53. A45: Say [ Text:Message sent Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  54. A46: Else
  55. A47: If [ %VOICE !~ *no*/*nah*/*nope*/*cancel*/*go home*/*nevermind* ]
  56. A48: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  57. A49: Say [ Text:Didn't catch that. Do you want me to send the message? Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  58. A50: Goto [ Type:Action Label Number:25 Label:t2 ]
  59. A51: Else
  60. A52: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  61. A53: Say [ Text:Do you want to rewrite the message? Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  62. A54: Get Voice [ Title:Re-enter the message? Language Model:Free Form Maximum Results:1 Timeout (Seconds):30 ]
  63. A55: If [ %VOICE ~ *yes*/*ok*/*yup*/*yeah*/*go ahead* ]
  64. A56: Variable Clear [ Name:%VOICE Pattern Matching:Off ]
  65. A57: Goto [ Type:Action Label Number:14 Label:t3 ]
  66. A58: End If
  67. A59: End If
  68. A60: End If
  69. A61: End If
  70. A62: End If
  71. A63: End If
  72. A64: Else If [ %VOICE !~ *no*/*nope*/*cancel*/*exit* ]
  73. A65: Say [ Text:Didn't catch that. Let's try again. Engine:Voice:com.google.android.tts:eng-usa Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
  74. A66: Goto [ Type:Action Label Number:22 Label:t4 ]
  75. A67: End If
  76. A68: If [ %STD_OUT ~ *spotify* & %call !~ 1 ]
  77. A69: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
  78. A70: Send Intent [ Action:com.spotify.mobile.android.ui.widget.PLAY Cat:None Mime Type: Data: Extra: Extra: Package:com.spotify.music Class: Target:Broadcast Receiver ]
  79. A71: End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement