This script will count text lines in an input file and then randomly speak one of the lines of text.
Installations: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
Files included in the bjd_random_quote.zip are: <o></o>
Installations: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
- Unzip bjd_random_quote.zip into your Homeseer 2 directory. <o></o>
- Setup an event in Homeseer that executes the script: bjd_random_quote.vb("<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1lace w:st="on">Main</st1lace>","deep_thoughts.txt") <o></o>
- Execute the event and listen to a random Deep Thought... by Jack Handey. <o></o>
- Setup an event in Homeseer that executes the script: bjd_random_quote.vb("<st1lace w:st="on">Main</st1lace>","random_quotes.txt") <o></o>
- Execute the event and listen to a random quote. <o></o>
- Create your own quote text files or modify the ones provided for random speech.<o></o>
Files included in the bjd_random_quote.zip are: <o></o>
- \Homeseer 2\Scripts\bjd_random_quotes.vb <o></o>
- \Homeseer 2\Scripts\bjd_random_quotes\current_date.txt<o></o>
- \Homeseer 2\Scripts\bjd_random_quotes\current_time.txt<o></o>
- \Homeseer 2\Scripts\bjd_random_quotes\random_deep_thoughts.txt <o></o>
- \Homeseer 2\Scripts\bjd_random_quotes\random_deep_quotes.txt <o></o>
- \Homeseer 2\Scripts\bjd_random_quotes\scene_goodnight.txt<o></o>
- event_current_date.jpg<o></o>
- event_current_time.jpg<o></o>
- event_random_deep_quotes.jpg<o></o>
- event_random_deep_thoughts.jpg