[jawsscripts] Re: GetDialogPageName function problem

  • From: "Sina Bahram" <sbahram@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 28 Apr 2008 20:36:38 -0400

Actually, he's storign the result of the comparrison into the variable, =
or
at least that's the intended result.

Take care,
Sina

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Dennis Brown
Sent: Monday, April 28, 2008 8:34 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: GetDialogPageName function problem

Never seen this style before.  What are you doing in the line:
let mm =3D GetDialogPageName () =3D=3D "Monitor Mixer"
You are assigning a string to mm, by retrieving the dialog page name, =
then
comparing it to the string "Monitor Mixer"?
What is the results stored in mm?
Never seen an assignment statement do a compare without being in a =
condition
statement!



Thanks,
Dennis Brown
----- Original Message -----
From: "Jim Noseworthy" <jim.noseworthy@xxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, April 28, 2008 6:54 PM
Subject: [jawsscripts] Re: GetDialogPageName function problem


> Hi Folks:
>
> I have written scripts for the M-Audio Delta family of soundcards =
which=20
> have
> been working fine for the last couple of years; up to and including =
JFW
> version 8.
>
> They are no longer functioning and it appears to be an issue with the
> GetDialogPageName function.
>
>
>
> Here is a sample of a script that doesn't work:
>
> let calebrate =3D GetObjectValue ()
>
> let mm =3D GetDialogPageName () =3D=3D "Monitor Mixer"
>
> let pr =3D GetDialogPageName () =3D=3D "Patchbay / Router"
>
> let hw =3D GetDialogPageName () =3D=3D "Hardware Settings"
>
> let sp =3D GetDialogPageName () =3D=3D "S/PDIF"
>
> let bs =3D GetDialogPageName () =3D=3D "Bass Management"
>
> let wcid=3DGetControlID (GetCurrentWindow ())
>
> Let SubWindow =3D FindDescendantWindow (GetForegroundWindow (),1040)
>
> let FaderValue =3D FindDescendantWindow (GetAppMainWindow (GetFocus=20
> ()),1071)
>
>
>
> if mm =3D=3D 1 && wcid=3D=3D 1014 then
>
> Say("MasterOut,LeftChannel",0)
>
> EndIf
>
> Thanks.
>
>
>
> ----- Original Message -----=20
> From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Monday, April 28, 2008 5:04 PM
> Subject: [jawsscripts] Re: GetDialogPageName function problem
>
>
>> Hi,
>> Can you give specifics on where and how you used it?  Is it giving
>> incorrect
>> data?  Under xp or Vista?  In more than one app?
>>
>> Thanks,
>> Dennis Brown
>> ----- Original Message -----=20
>> From: "Jim Noseworthy" <jim.noseworthy@xxxxxxxxxx>
>> To: "Jaws Scripts" <JAWSScripts@xxxxxxxxxxxxx>
>> Sent: Monday, April 28, 2008 3:45 PM
>> Subject: [jawsscripts] GetDialogPageName function problem
>>
>>
>>> Hi Folks:
>>> It appears that this function no longer works in the latest build of =
V9.
>>> Can anyone varify whether this indeed is the case?
>>>
>>> Thanks all over the place gang.
>>>
>>>
>>> " He is no fool who gives what he cannot keep, to gain what he =
cannot
>>> lose. "
>>> Jim Elliot,
>>> __________
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>=20

__________=A0
View the list's information and change your settings at=20
//www.freelists.org/list/jawsscripts

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

Other related posts: