# Let's Make Some JAWS Scripts, Just For The Complete Fun Of i

Category: Geeks r Us

## Post 1 by Harmony (I've now got the silver prolific poster award! wahoo!) on Wednesday, 25-Jun-2008 10:03:13

I'm bored of my business work now, so decided to play about with the JAWS script files. Does anyone want to join and make some? I made one to write my name in Microsoft word.
Here it is.
HarmonyMortimer ()
TypeString ("Harmony Mortimer")
SayFormattedMessage (OT_MESSAGE, "Harmony Mortimer")
EndScript
Activate it with control, shift and h.

## Post 2 by Unreleased Secrets (Zone BBS Addict) on Wednesday, 25-Jun-2008 10:12:07

and what's the point of that? I mean, sorry! smiles.
I wrote one to switch the punctuation settings on the fly, for when i have to do maths I need punctuation to all, but when I'm reading something, I switch it to some. here's the script.
Script TogglePunctuationState ()
var
string Punc
PunctuationToggle (false)
let punc = PunctuationToggle(true)
SayString(punc)
EndScript

## Post 3 by Harmony (I've now got the silver prolific poster award! wahoo!) on Wednesday, 25-Jun-2008 15:54:45

Nice. That sounds useful, not like the one I made purely because I couldn't be bothered to type the word! Hahahaha!

## Post 4 by chikorita (move over school!) on Wednesday, 25-Jun-2008 19:00:43

lol. I made one to put Hello! in the virtual buffer but it don't work. Big grin.

## Post 5 by Harmony (I've now got the silver prolific poster award! wahoo!) on Thursday, 26-Jun-2008 16:35:04

That's annoying. I tried to make a couple of scripts that wouldn't work and wondered why, until someone told me I'd missed one particular line out. Then when I put it in, the script worked.

## Post 6 by TylerK (This site is so "educational") on Thursday, 03-Jul-2008 16:17:57

Here's one to say the time in hh:mm:ss tt (hours:minutes:seconds am/pm):
Script sayTime()
sayMessage(OT_USER_REQUESTED_INFORMATION, sysGetTime("hh:mm:ss tt"))
EndScript

## Post 7 by chikorita (move over school!) on Monday, 07-Jul-2008 15:18:35

Gotta love it... I wish jfw would get a hint from window eyes 7, they said you could program in javascript? Cool script! thanks!

## Post 8 by chikorita (move over school!) on Monday, 07-Jul-2008 15:35:59

so, does anyone see a problem with this/
Script Testing ()
SayMessage (OT_USER_BUFFER, "this is a test.", )
EndScript
It says invalid parameter format or something.

## Post 9 by TylerK (This site is so "educational") on Tuesday, 08-Jul-2008 16:18:38

Get rid of the last comma. The line should read:
sayMessage(OT_User_Buffer, "this is a test.")

## Post 10 by chikorita (move over school!) on Tuesday, 08-Jul-2008 20:14:44

Ah, then the jaws script manager, even the basics of scripting manual, is broken! ha ha! I used the GUI to make that. It works! Thanks! Hmm...