[jawsscripts] Re: " Error of creating my own script"

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 11 Aug 2009 21:39:04 -0400

Your first line, the script declaration, should only have one set of 
parenthesis"()".  The line should be:
Script TypeMyName ()

The best way to make sure these declarations are correct is to use the JAWS 
Script Manager to create it for you. Go to an open area in the file, such as 
the bottom of the file.  Select the "New script..." (Control + e) in the 
Script menu.  When you type in the name of your script, do not add the 
parenthesis.  For scripts, check the "Can be attached to keystroke" 
checkbox.  Leave this unchecked for functions.  The synopsis is a short 
description that will be heard during keyboard help or when inserting a 
function call from the menus.

Hope this works for you now!

Don Marang


----- Original Message ----- 
From: "mostafa almahdy" <mostafa.almahdy@xxxxxxxxx>
To: "jawsscripts" <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, August 11, 2009 8:10 PM
Subject: [jawsscripts] " Error of creating my own script"


> Hello to each other:
> for quite period of long time, I've been participated  to many
> tutorials particularly on the scripting issue.
> I've known and believed that each  technical  skill should takes it's
> time to educate  it correctly and accurately,    and   I' believe
> that's  the  practical method  is  the best way  of practicing   and
> following along.    recently I' attempt to create my own script  for
> training or  exercising purposes.
> when I' almost have dun it, it shows the following error  when I'm
> struggling to compile in order to save  it and finish up.
> the error is the following line:
> unexpected word followed by ok button.
> the script subject has posted in the  section below:
>
>
>
> ; Script files for notepad , version X, for windows XP
> ; for JAWS10.0.1154
> ; by Mostafa Almahdy-11-8-2009
>
>
> Script TypeMyName() ()
> TypeString ("Mostafa Almahdy")
>
>
> EndScript
>
>
> I' just thought  that's  something  unexposed  when I'm trying to type
> the first Parameter of this certain basic script.
> it says  unexpectedwhen I'm trying to do that.
> any suggest or recommend, that's tremendously would be appreciated!!!.
> mostafa muhammad taric almahdy.
> Egyptian citizen.
> skype account:
> my_speaker
>
> -- 
> Sincerely.
> best regard
> It's always hope that give's meaning to life.
> ___________
> __________�
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
> 

__________�
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: