Announcement

Collapse
No announcement yet.

[VB.NET Script] bjd_random_quote Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [VB.NET Script] bjd_random_quote Script

    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>
    1. Unzip bjd_random_quote.zip into your Homeseer 2 directory. <o></o>
    2. 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>
    3. Execute the event and listen to a random Deep Thought... by Jack Handey. <o></o>
    4. Setup an event in Homeseer that executes the script: bjd_random_quote.vb("<st1lace w:st="on">Main</st1lace>","random_quotes.txt") <o></o>
    5. Execute the event and listen to a random quote. <o></o>
    6. Create your own quote text files or modify the ones provided for random speech.<o></o>
    Discussion forum is found here.<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>
    Example Events:<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
    <o></o>
    Attached Files
    Last edited by bdraper; August 7, 2007, 05:48 PM.
    Billy Draper
Working...
X