[jawsscripts] Re: write html to the virtual viewer as part of hotkey help

  • From: "Tony Hernandez" <tonyhspeaks@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 2 Mar 2011 09:44:54 -0500

Hi Jim.

Your question gave me a hunch about the constant that turned out to be
correct. The html that the UserBufferAddTextWithHTML () function accepts
must be lower case. I've been in the habit of coding html in all caps for a
long time, but changing the tags to lower case worked. Probably a good
tidbit for others to know. Thanks Jim. 

Tony Hernandez
http://dutyofman.net/
Let us hear the conclusion of the whole matter: Fear God, and keep His
commandments, for this is the whole duty of man. For God shall bring every
work into judgment, with every secret thing, whether it be good, or whether
it be evil. (Ecclesiastes 12:13-14)

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Wednesday, March 02, 2011 8:04 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: write html to the virtual viewer as part of
hotkey help
Sensitivity: Confidential

Hi Tony,
What does the constant have in it?

Thanks.

Jim

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Tony Hernandez
Sent: Tuesday, March 01, 2011 4:48 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] write html to the virtual viewer as part of hotkey
help
Importance: High
Sensitivity: Confidential

Hello again.
                I tried to use the UserBufferAddTextWithHTML function to add
a mailto hyperlink so that folks could just click the link and go straight
to an email message with a specific subject to send me questions, feedback,
etc, but the viewer reads all the characters literally, so all I get is the
html code. Am I doing something wrong? Am I even using the right
function?the code is



Script HotKeyHelp ()

if UserBufferIsActive () then

UserBufferDeactivate ()

EndIf

SayFormattedMessage (OT_User_Buffer, MSG_HotKeyHelp)

UserBufferAddTextWithHTML (MSG_Contact)

EndScript



And the output is



Use the following Shortcut Keys in the Online Bible:

Say PreviousVerse: Control+LeftArrow

Say Current Verse: Control+Shift+V

Say Next Verse: Control+RightArrow

Say Prior Chapter: Control+PageUp

Say Next Chapter: Control+PageDown

Copy  Current Verse to Clipboard: Control+Shift+C<P>

<A HREF="mailto:user@xxxxxxxxxxxx?subject=Online Bible scripts">Please email
Tony Hernandez with problems, questions, feedback, suggestions, requests,
etc.</A>



PressEscape to close this message.





Tony Hernandez

http://DutyOfMan.net/

Para oir y bajar la Biblia Sagradas Escrituras Versión Antigua en MP3,
visite http://dutyofman.net/biblia-audio/




__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


This e-mail and any attachments to it are confidential and are intended
solely for use of the individual or entity to whom they are addressed.  If
you have received this e-mail in error, please notify the sender immediately
and then delete it.  If you are not the intended recipient, you must not
keep, use, disclose, copy or distribute this e-mail without the author's
prior permission.  The views expressed in this e-mail message do not
necessarily represent the views of Highmark Inc., its subsidiaries, or
affiliates.
__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: