0 Replies - 810 Views - Last Post: 24 February 2010 - 12:50 PM Rate Topic: -----

#1 Vesper103   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 44
  • Joined: 01-April 09

Creating Voice recognition macros in XML no variables?

Posted 24 February 2010 - 12:50 PM

so i havea program lets me create voice recognition macros in XML now this is all fine and dandy but im trying to give my computer a bit of personality:

hello computer
hello computer
you already said hello
hello computer
whats wrong with you???

but i read that xml doesnt have variables that can have thier values changed...

so the general setup of this code works like this
<listenFor>command word</listenFor>

now ive tried adding in
<script language="JScript">
var data=1;

and defining variables that way but they dont carry over from command to command, and it wont let me define them globally... how can I have a sort of global variable??

Is This A Good Question/Topic? 0
  • +

Page 1 of 1