Hi Octabian,I changed the name of the executable and ran it under the new name. It did not load the SoundText settings, and JAWSKey + Q then reported "Default settings" and the new name of the .exe file. That's what I expected to happen.
Ian----- Original Message ----- From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Saturday, December 27, 2008 5:00 PM Subject: Re: name of the current program, as seen by Jaws
Can you run the program if you change the name of the executable?What names does Jaws report when running it under the new name? (Does that script work?)Thanks. Octavian----- Original Message ----- From: "Ian D. Nichols" <inich@xxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Saturday, December 27, 2008 11:54 PM Subject: Re: name of the current program, as seen by JawsHi Listers,So far I've seen no reference in this thread to the following idea, which causes a text editor that I built myself to say its name when I use JAWSKey + Q (before i put this in, it would say default settings and then identify correctly the .exe file.)My program is called "SoundText". In the SoundText.jss file, which opens when I press JAWSKey + 0, this is the first item .Script ScriptFileName() ScriptAndAppNames("SoundText") EndScriptI know nothing of the technicalities of why or how it works, and I don't remember where I found the idea It was probably several years ago. I don't know whether it will overcome the difficulties caused when a program is running from a .dll that doesn't have the program's name. Perhaps some one could try it out and report back.HTH. Ian Ian D. Nichols, Toronto, Canada----- Original Message ----- From: "Ken Perry" <whistler@xxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Saturday, December 27, 2008 3:19 PM Subject: RE: name of the current program, as seen by JawsInteresting it sounds like they are not setting something like a class name or something to where Jaws can tell the difference. I don't know where to point you without looking at the way it works in both libraries. Something you can try is using the home row mode in Jaws examine what the window tree looks like in both win32 and wx versions of two test applications. That or use windig on both.Ken interesting -----Original Message-----From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian RasnitaSent: Saturday, December 27, 2008 1:27 PM To: programmingblind@xxxxxxxxxxxxx Subject: Re: name of the current program, as seen by Jaws Ok, thank you.Well, as I said, when a program which is made with WxPerl, Jaws sees it aswx.dll, so if I want to create a script for it, the same script would be used for all the programs that use WxPerl, which is not ok.This doesn't happen when the program is made with another GUI library likeWin32::GUI, so I think WxPerl does something that Win32::GUI doesn't do. But I don't know what should I ask the WxPerl developers for, because I don't know where gets Jaws that information from, so I don't know whatshould be changed in order to make Jaws to recognize each program made withWxPerl as distinct programs. Thanks. Octavian----- Original Message ----- From: "Ken Perry" <whistler@xxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Saturday, December 27, 2008 7:35 PM Subject: RE: name of the current program, as seen by Jaws I am betting they are hooking into win32 and watching for WM_ACTIVATE and then doing some complicated parsing to figure out what it is. Some times its simple but sometimes if you have a modal dialog they don't callWM_ACTIVATE. There are other win32 hooks you can grab to make sure you know when dialogs get activated but it's not a simple thing to explain. You willneed to grab window text some times and parse it using getWindowText andfiguring out what's what and Jaws has been growing for years learning to dothis.Maybe if you tell me what you would like to do I could figure out what youneed to read up on to get it done. Ken -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian RasnitaSent: Friday, December 26, 2008 10:10 AM To: programmingblind@xxxxxxxxxxxxx Subject: Re: name of the current program, as seen by Jaws But what about those programs that don't have scripts? (Like Notepad) Or better said, if ScriptAndAppNames() function is a built in one, where does it gets the name of the currently running program? Thanks. Octavian----- Original Message ----- From: "Ken Perry" <whistler@xxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Friday, December 26, 2008 4:31 PM Subject: RE: name of the current program, as seen by JawsIt gets it from the script file here is the script that is in Visual studio.Script ScriptFileName () ScriptAndAppNames(vsmsg3_L) ;Visual Studio .NET EndScript -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian RasnitaSent: Friday, December 26, 2008 6:26 AM To: programmingblind@xxxxxxxxxxxxx Subject: name of the current program, as seen by Jaws Hi,When I work with a program and I press Insert+Q, Jaws tells the name of thatprogram. Do you know where from it gets that name?(For example when I work with Notepad it says "notepad.exe" and when I workwith OE it says "msoe.dll".) Thank you. Octavian __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________View the list's information and change your settings at //www.freelists.org/list/programmingblind__________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind