MSSpeech-Forum Homepage
Forum Home Forum Home > Windows™ Speech Recognition Forums > Macros and Macro Development
  New Posts New Posts RSS Feed - Active Pearl Code
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active Pearl Code

 Post Reply Post Reply
Author
Message
Gherkin View Drop Down
Member
Member


Joined: 06/Sep/2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gherkin Quote  Post ReplyReply Direct Link To This Post Topic: Active Pearl Code
    Posted: 06/Sep/2010 at 6:26pm
This post was moved to the Macros and Macro Development Forum by the Administrator
---------------------------------------------------------------------------------------------------------------------
Hello All!

Im just getting started to dig my teeth into what WSR can do and I must say Im pretty excited. But I often put my cart before my horse (or goat in some cases) and I have a few, what I hope to be, quick questions for any WSR gurus that may be about.

1. In the WDR users manual it states that ActivePearl code can be used, but I havent seen any documentation supporting this claim. Is this true?

2. I edited an example provided on this website to create a macro that tells me the time when asked. The macro works well but when speaking the time it says 11 hours 34 min 19 sec pm instead of 11 34 pm. Anyone know how to correct this?

Here's my code;

<?xml version="1.0" encoding="UTF-16"?>
<speechMacros>
<command>
<listenFor>Time</listenFor>
<listenFor>Give me the Time</listenFor>
<listenFor>What is the time</listenFor>
<listenFor>Tell me the time</listenFor>
<listenFor>What time is it</listenFor>
<script language="vbscript">
<![CDATA[
dim currentTime
currentTime = FormatDateTime(Time(), 1)
Application.Speak Time
Application.SetTextFeedback Time
]]>
</script>
</command>

3. How would I go about getting WSR to read data from websites(HTML)? I have downloaded modified and used the CheckWeather Maco to read from rss feeds, but what about websites that dont offer such feeds? Can this be done?

http://www.rctheatres.com/a1website.asp?house_id=8764 This is the website Id like read from

I would like the titles of the movies and showtimes to be read

If anyone is willing, a well commented example would be ideal as I would like to edit this example to include future ideas, such as asking for showtimes on certain dates. Ultimately I would like to ask "Whats Playing" then get a list of just titles that are playing today spoken in reply. I would then speak one of these titles to get more information about the movie. Im not asking anyone to write this all out for me, I just would like to be pointed in the right direction. If there are other examples that would explain this to me available I will happily accept a link and will take it from there.

If this task seems too daunting I believe I could get what I need from an example that reads the David Letterman top ten list.

http://www.cbs.com/latenight/lateshow/top_ten/ Link to top ten list


Edited by mmarkoe_admin - 07/Sep/2010 at 8:26pm
Back to Top
Gherkin View Drop Down
Member
Member


Joined: 06/Sep/2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gherkin Quote  Post ReplyReply Direct Link To This Post Posted: 19/Sep/2010 at 3:55am
Wow no ideas at all huh? Well At least I check the site everyday... DeadCensoredDead
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.02
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.172 seconds.

Microsoft Most Valuable Professional

§- Thank you for visiting our Windows Speech Recognition and Macro Forum.. -§