Okay, I pasted it in at: http://pastebin.com/AShVAK85
But here it is here:
Save the following script as a text file with the extension of rhp
and put it in Responding Heads' Data folder. Then restart Responding Heads and
select "Run PP Script" from the "Add" menu. Voila!
Just enter the PP Functions like you would in a PP script.
If your PP is not in the default location, you will have to edit the path in
the sub main.
Watch out for wordwrap.
------------------------------------------------
sub main
on error resume next
rh.cmd "C:\Program Files\PowerPro\powerpro.exe " & rh.settings(1)
end sub
sub draw
dialog.caption = "Add a PowerPro Script!"
dialog.height = 2700
textinput(0).text = ""
rh.create "textoutput"
textoutput(1).top = 48
textoutput(1).left = 8
textoutput(1).caption = "PowerPro Script"
rh.create "textinput"
textinput(1).top = 63
textinput(1).left = 8
textinput(1).text = ""
end sub
sub create
rh.addtobrain textinput(1).text, ""
end sub
sub Changer
draw
textinput(0).text = rh.settings(-2)
textinput(1).text = rh.settings(1)
end sub
sub capture
rh.cmd "C:\Program Files\PowerPro\powerpro.exe " & rh.settings(1)
rh.speak "Okay!"
end sub
----------------------------------------