[jawsscripts] Re: How to start a script programatically if its name is in a variable?

  • From: Jitendra <Jeet.kumar1@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 07 Nov 2013 14:51:01 +0530

 = 
Than= ks geoff.
doug lee, skype scripts, and a previous post of this list repl= ied by him.
See below..., thanks for your words.
from:=A0 dang manh cuong &l= t;dangmanhcuong@xxxxxxxxx>[0] =A0
date:=A0 7/23/2012 7:39 pm 
[ja= wsscripts] Re: Can I use perform script at a variable?
It worked very we= l. Thanks for your help
=A0 ----- Original Message ----- 
=A0 From: D= oug Lee 
=A0 To: 
jawsscripts@xxxxxxxxxxxxx[1]
=A0
=A0 Se= nt: Monday, July 23, 2012 8:44 PM
=A0 Subject: [jawsscripts] Re: Can I u= se perform script at a variable?

=A0 UYou must either quote the scri= pt name in the call or use a variable:

=A0 var string scr let scr = =3D "myScript"
=A0 runScript(scr)

=A0 should do the same as perfo= rmScript myScript().

=A0 I use this method of calling scripts in som= e projects, though not
=A0 many.

=A0 On Mon, Jul 23, 2012 at 08:4= 0:01PM +0700, Dang Manh Cuong wrote:
=A0 Hello Dug
=A0 It didn't work= . When I create a test script and call this function, if
i don't put the script name in quotation, i can't compile, and if I put it
in
quotation mark, I can compile, but it didn't call the script I= want.
Anyway,Thanks for your suggestion.
=A0=A0=A0 ----- Original Message ---= -- 
=A0=A0=A0 From: Doug Lee 
=A0=A0=A0 To: 
jawsscripts@free= lists.org[2]
=A0
=A0=A0=A0 Sent: Monday, July 23, 2012 8:25 PM
= =A0=A0=A0 Subject: [jawsscripts] Re: Can I use perform script at a
variable= ?

=A0=A0=A0 Not sure this will help much, but I think it's what you'= re
requesting:

=A0=A0=A0 void function runScript(string sScriptName)=A0=A0=A0
formatStringWithEmbeddedFunctions("<$" +sScriptName +">")=A0=A0=A0
endFunction

=A0=A0=A0 On Mon, Jul 23, 2012 at 08:16:57P= M +0700, Dang Manh Cuong wrote:
=A0=A0=A0 Hi listers
=A0=A0=A0 In som= e cases i have more than one script wich have the same
body, but the last line of it calls an other script (perform script). So is
their anyway
to write a function with a parameter, and use the perform s= cript method at
a variable? If we can do that, I think the script will be much smaller.
=A0=A0=A0 Thanks for any advisor
=A0=A0=A0 =5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
=A0=A0=A0 Dang Manh Cuong
=A0=A0=A0= HCMC University of Pedagogy:
=A0=A0=A0 The Psychology and education
= =A0=A0=A0 Mobile: +84 902-572-300
=A0=A0=A0 E-mail: 
dangmanhcuong= @gmail.com[3]
=A0
=A0=A0=A0 Yahoo! ID: manhcuong0312
=A0=A0=A0 Sk= ype name: dangmanhcuong
=A0=A0=A0 facebook: 
http://facebook.com/d= angmanhcuong[4]

=A0=A0=A0 Blog: 
http://vi.netlog.com/Cu= ong=5Flittlecat[5]

=A0=A0=A0 Website: 
http://ngoisaodanduong.com

=A0=A0=A0 
http://www.saomaicenter.org[7]

=A0=A0=A0 Projec= -Website: 
http://dangmanhcuong.googlecode.com[8]
=A0
=A0=A0= =A0 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F???

=A0=A0=A0 View the list's info= rmation and change your settings at 
=A0=A0=A0 
http://www= .freelists.org/list/jawsscripts[9]


=A0=A0=A0 -- 
=A0=A0=A0 D= oug Lee, Senior Accessibility Programmer
=A0=A0=A0 SSB BART Group - Acce= ssibility-on-Demand
=A0=A0=A0 
mailto:doug.lee@xxxxxxxxxxxxxxxx= 
http://www.ssbbartgroup.com[10]

=A0=A0=A0 "While they were saying a= mong themselves it cannot be done,
=A0=A0=A0 it was done." --Helen Kelle= r
=A0=A0=A0 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F???

=A0=A0=A0 View the = list's information and change your settings at 
=A0=A0=A0 
http://www.freelists.org/list/jawsscripts[11]


=A0 =5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
=A0 Dang Manh Cuong
=A0 HCMC = University of Pedagogy:
=A0 The Psychology and education
=A0 Mobile: = +84 902-572-300
=A0 E-mail: 
dangmanhcuong@xxxxxxxxx
=A0=A0 Yahoo! ID: manhcuong0312
=A0 Skype name: dangmanhcuong
=A0 faceb= ook: 
http://facebook.com/dangmanhcuong[12]

=A0 Blog: 
http://vi.netlog.com/Cuong=5Flittlecat[13]

=A0 Website: 
http://n= goisaodanduong.com[14]

=A0 
http://www.saomaicenter.org

= =A0 Projec-Website: 
http://dangmanhcuong.googlecode.com[15]
=A0= 
=A0 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F???

=A0 View the list's inform= ation and change your settings at 
=A0 
http://www.freelis= ts.org/list/jawsscripts[16]


=A0 -- 
=A0 Doug Lee, Senior Acce= ssibility Programmer
=A0 SSB BART Group - Accessibility-on-Demand
=A0= 
mailto:doug.lee@xxxxxxxxxxxxxxxx[17]
http://www.ssbbartgroup.com[18]= 

=A0 "While they were saying among themselves it cannot be done,
= =A0 it was done." --Helen Keller
=A0 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F&iuml= ;&iquest;&frac12;

=A0 View the list's information and change your se= ttings at 
=A0 
http://www.freelists.org/list/jawsscripts


=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Dang Man= h Cuong
HCMC University of Pedagogy:
The Psychology and education
= Mobile: +84 902-572-300
E-mail: 
dangmanhcuong@xxxxxxxxx[20]
= =A0
Yahoo! ID: manhcuong0312
Skype name: dangmanhcuong
facebook: http://facebook.com/dangmanhcuong[21]

Blog: 
http:/= /vi.netlog.com/Cuong=5Flittlecat[22]

Website: 
http://ngoisaodanduong= .com[23]
http://www.saomaicenter.org[24]

Projec-Website: 
ht= tp://dangmanhcuong.googlecode.com[25]
=A0
=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F&iuml;&iquest;&frac12;

View the list's information and change you= r settings at 
http://www.freelists.org/list/jawsscripts[26]



Geoff Chapman wrote: wow Jitendra. This looks very interesting/f= ancy
indeed! It looks like it could have a few wide implications/uses, this trick
you=20 invoke below. Where'd you grab that idea from. very clever indeed!
----- Original Message -----=20 From: "Jitendra"
<Jeet.kumar1@xxxxxxxxx>[27]To:= <jawsscripts@xxxxxxxxxxxxx&gt= ;[28]Sent:
Thursday, November 07, 2013 5:18 PM Subject: [jawsscripts] Re: How to start
ascript programatically if its nam= e=20 is in a variable? Var string s s
=3D"Sayline" formatStringWithEmbeddedFunctions("<$" +s+">") Cheers! Csaba
Godo wrote: Hi guys, I need help again. My CommandCenter project written in
JAWS 11 script is almost finished, but I have a problem. I do not find a way
how to start a script if the name of the script is contained in a variable?
To start functions in same way I can use the ScheduleFunction() command
whichcan accept as parameter a string variable, too. But I do not find
anything similar for starting a script. The PerformScript is a keyword and
not a command so can not accept variables as parameter holding the name of
the script to be performed. Do somebody know a workaround or solution to
thisproblem? Any ideas? Csaba =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=EF=BF=BD View
the list's information and change your settings at http://www.freelists.or=
g/list/jawsscripts[29] --- Disclaimer --- The info= rmation in this mail is
confidential and is=20 intended solely for addressee. Access to this mail by
anyone else is=20 unauthorised. Copying or further distribution beyond the
original=20 recipient may be unlawful. Any opinion expressed in this mail is
that of=20 sender and does not necessarily reflect that of State Bank group.
---=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=EF=BF=BD View the list's information
and change your settings at http://www.freelists.or= g/list/jawsscripts[30]
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=EF=BF=BD View the list's information and
change your settings at=20 http://www.freelists.or= g/list/jawsscripts[31] 

--- Disclaimer --- The information in this mail is confidential and is inte=
nded solely for addressee. Access to this mail by anyone else is unauthoris=
ed. Copying or further distribution beyond the original recipient may be un=
lawful. Any opinion expressed in this mail is that of sender and does not n=
ecessarily reflect that of State Bank group. --- 


--- Links ---
   1 3D"mailt=
   2 3D"mailto:jawsscripts@xxxxxxxxxxxxx";
   3 3D"mailto:dangmanhcuong@xxxxxxxxx";
   4 3D"http://facebook.com/dangmanhcuong";
   5 3D"http://vi.netlog.com/Cuong=5Flittlecat";
   6 3D"http://ngoisaodanduong.com";
   7 3D"http://ww=
   8 3D"http://dangmanhcuo=
   9 3D"http://www.freelists.org/list/jawsscripts";
  10 3D"http://www.ssbbartgroup.com"=
  11 3D"http://www.freelists.org/list/jawsscript=
  12 3D"http://facebook.com/dan=
  13 3D"http://vi.netlog.com/Cuong=5Flittlec=
  14 3D"http://ngoisaodanduong.com";
  15 3D"http://d=
  16 3D"http://www.freelists.org/list/jawsscripts";
  17 3D"mailto:doug.lee@ssbbartgrou=
  18 3D"http://www.ssbbartgroup.com";
  19 3D"http://www=
  20 3D"mailto:dangmanhcuong@xxxxxxxxx";
  21 3D"http://facebook.com/dangmanhc=
  22 3D"http://vi.netlog.com/Cuong=5Flittlecat";
  23 3D"http://ngoisaodanduong.com";
  24 3D"http://www.saomaicen=
  25 3D"http://dangmanhcuong.googlecode.com";
  26 3D"http://www.fre=
  27 3D"mailto:Jeet.kumar1@xxxxxxxxx";
  28 3D"mailto:jawsscripts@xxxxxxxxxxxxx";
  29 3D"http://www.freelists.org/list/jawsscripts";
  30 3D"http://www.freelists.org/list/jawsscripts";
  31 3D"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: