[jawsscripts] Re: Proper Way to Merge Functions in Default

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 28 Mar 2009 18:58:04 -0400

Hi Jamal,
Using the previous scenario:
If I check "Save copy", no zip file is created in the "C:\Data\Web 
Downloads\New\" directory.  If it creates a file somewhere else on my 
system, I have no idea where it might have placed it.  normally I would 
search my entire drive, but Vista makes that very difficult for me!  You 
would think with search boxes all over the place this would not be so 
difficult.  Anyone have a shortcut method to select all files on the C drive 
and ignore index locations?
(While I was proofreading this message, I successfully searched all hard 
drives and only found 1 result after emptying the recycle bin, jsx.ini!  So 
it was not accidently placed anywhere else.)

If I run the installer from another location and check the "Save copy" 
option, the zip file is created in that directory.


If I leave the Make backup checked, the zip file is created in "C:\Data".

Anytime I check the "view zip file" it will open "C:\Data".

On a slightly different topic, is there a simple way to add my name and 
version number to the comments associated with the generated EXE file?

Don Marang


----- Original Message ----- 
From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, March 28, 2009 9:52 AM
Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default


> Thanks for the specifics that are helpful for debugging.
>
> JSX should use the version of the JAWS script compiler that corresponds
> to the JAWS version that the user chooses in the JSX installer dialog.
> This allows scripts to be recompiled for the JAWS version currently in
> use.
>
> Let me describe how the following things should work.  It would help me
> debug if you can tell me a reproduceable way that something does not
> happen as intended.  The Keep Copy option, only available in a JSX
> executable, should (when checked) copy the zip archive
> contained in the executable into the same folder on the users computer
> that holds the executable that was run.
>
> The View Zip option should open Windows Explorer in that same folder (if
> Keep Copy is not checked, I guess it is viewing the executable folder
> only in that case).
>
> The Backup option creates a zip archive of all files that are being
> replaced by the installer in the user script folder.  In the case of an
> executable package, the backup archive should be put in the same folder as
> the executable.  If the full JSX is used to install a stand-alone zip
> archive (rather than an executable package), the backup archive should be
> put in the same foler as the zip archive from which scripts are being
> installed.
>
> The three checkboxes above should function independently.  For debugging,
> it may be worth deleting all backup files and temporary subfolders created
> by Inno Setup that perhaps have been left in your Temp folder.  I think a
> previous bug caused some of these not to be cleaned up.  Then you can be
> more clear about what is being newly created, either appropriately so or
> not.
>
> Jamal
>
> On Fri, 27 Mar 2009, Donald
> Marang wrote:
>
>> Date: Fri, 27 Mar 2009 18:55:07 -0400
>> From: Donald Marang <donald.marang@xxxxxxxxx>
>> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default
>>
>> Hi Jamal,
>>
>> Thanks for your quick response.  I appreciate you accommodating my 
>> desires
>> with jsx!
>>
>> There are no more error messages!  The install and merge always work 
>> cleanly
>> now.  The new modification for opening the text file when finished works
>> without a hitch.
>>
>> I am now having an issue with viewing the zip file when finished.  In my
>> scenario, a Windows Explorer window is opened when finished to my 
>> "C:\Data"
>> folder with nothing selected.  There is a copy of the zip file 
>> unexpectedly
>> placed in this directory!  Evidently, it has been doing this for a while
>> because there were 8 such zip files there, some with _1 and such at the 
>> end.
>> I am not sure wither this is related to checking the "Save a copy" or the
>> "Make a backup" checkboxes.  Can you tell me where both of these files
>> should be located in my situation?  Also where should the zip file opened
>> when the "view zip file" be located?  My scenario is as follows:
>> Windows Vista Home Premium
>> jsx installed to:  C:\jsx
>>
>> Scripts packaged from JAWS 10 to:
>> "C:\Users\Don\Documents\JAWS Scripts\VerizonCallAssistantScripts0.95.exe"
>>
>> (note this is a personalized, nonstandard location and there are spaces 
>> in
>> this path!)
>>
>> package exe file UpLoaded to
>> http://mysite.verizon.net/marangs/VerizonCallAssistantScripts0.95.exe
>> (my personal ISP web space where I plan to distribute these scripts from 
>> the
>> :
>> http://mysite.verizon.net/marangs/VerizonCallAssistant.html webpage)
>>
>> Downloaded to and run from:  "C:\Data\Web
>> Downloads\New\VerizonCallAssistantScripts0.95.exe"
>>
>> (note there are spaces in this path!)
>>
>> file:  VerizonCallAssistantScripts0.95.exe
>> exe association:  VZCallAssistant.exe
>> Self contained scripts (merge radio button not checked!)
>> JAWS 9 and ENU selected
>> recompile scripts selected
>> I have tried various combinations with the following checkboxes:
>> Save a copy
>> Make backup
>> view zip file
>>
>> Sometimes, I have installed to JAWS 9 while running JAWS 10 with 
>> recompile
>> selected!  Does that cause any problems?  Does it use the JAWS 9 
>> compiler?
>>
>> Sorry for all the long paths and details!  I hope I didn't make any 
>> typing
>> errirs.  We probably would have found the previous error sooner if I had 
>> not
>> made soo many assumptions.
>> Don Marang
>>
>>
>> ----- Original Message -----
>> From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Thursday, March 26, 2009 12:15 PM
>> Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default
>>
>>
>> > OK.  I've fixed a couple bugs discovered through that feedback (same 
>> > URL
>> > for March 26 version).  A problem is caused by the Merge radio button
>> > being checked.  The documentation now makes clear that it should not be
>> > checked for the new merge method, which relies on the comment line at 
>> > the
>> > top of a .jss file instead.  I have also made JSX first look for a
>> > documentation file with the same root name as the zip archive, so you 
>> > can
>> > be sure that file will display if you have multiple .jss files.  Let me
>> > know your results if you uncheck the merge option before creating your
>> > executable and if you name your .txt file like your .zip archive.
>> >
>> > Jamal
>> > On
>> > Thu, 26 Mar 2009, Donald Marang wrote:
>> >
>> >> Date: Thu, 26 Mar 2009 06:33:08 -0400
>> >> From: Donald Marang <donald.marang@xxxxxxxxx>
>> >> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> >> To: jawsscripts@xxxxxxxxxxxxx
>> >> Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default
>> >>
>> >> Thanks!  It runs without errors now!
>> >> Except if I check the "view zip folder" after" checkbox.Then I get the
>> >> following error:
>> >> --- start of error
>> >> Location is not available
>> >> C:\Users\Don\AppData\Local\Temp\is-85DNL.tmp refers to a location that 
>> >> is
>> >> unavailable. It
>> >> could be on a hard drive on this computer, or on a network. Check to 
>> >> make
>> >> sure that the disk
>> >> is properly inserted, or that you are connected to the Internet or 
>> >> your
>> >> network, and then try
>> >> again. If it still cannot be located, the information might have been
>> >> moved
>> >> to a different
>> >> location.
>> >> OK
>> >> -- end of error
>> >>
>> >> Additionally, I have been trying to have jsx open a text file after
>> >> installing.  I have a file with the same base name (root) as described
>> >> below,, and the text file is never opened in Notepad!  I now have a 
>> >> copy
>> >> of
>> >> that text file with the same base name as my main application (exe
>> >> association) and another with the same base name as the last jss file
>> >> alphabetically.  Why not?
>> >> -- from relevant jsx help
>> >> Installing from an Executable Package
>> >>
>> >> In this mode of the JSX Installer dialog, the Packager button is not
>> >> included, and the edit box for zip archive is read-only. Also, the 
>> >> button
>> >> for selecting an archive is replaced by a check box for keeping a copy 
>> >> of
>> >> the archive embedded in the executable. This choice is unchecked by
>> >> default.
>> >> If checked, the Install button not only places scripts in the 
>> >> appropriate
>> >> JAWS folder, but places a copy of the zip archive in the same folder 
>> >> as
>> >> the
>> >> executable (e.g., skype.zip would be placed in the same folder as the
>> >> setup
>> >> program, skype.exe). In this way, you also have a copy of the zip 
>> >> archive
>> >> that the author created. It may be easier to look for documentation 
>> >> files
>> >> in
>> >> it rather than in the JAWS scripts folder. JSX will look for a
>> >> documentation
>> >> file, however, and automatically display it if found. JSX looks for a
>> >> .txt
>> >> file with the same root name as the last .jss file in the archive 
>> >> (e.g.,
>> >> skype.txt). If found, JSX opens it with the default program for text
>> >> files
>> >> (e.g., with Notepad).
>> >> -- end of relevant jsx help
>> >>
>> >>
>> >> Don Marang
>> >>
>> >>
>> >> ----- Original Message -----
>> >> From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> >> To: <jawsscripts@xxxxxxxxxxxxx>
>> >> Sent: Wednesday, March 25, 2009 2:23 PM
>> >> Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default
>> >>
>> >>
>> >> > It seems that I left a debugging message box in the code to verify 
>> >> > the
>> >> > full zip archive name once extracted.  It was not actually an error
>> >> > message though did indeed look like one.  I commented out that line,
>> >> > recompiled JSX, and created an executable from your zip archive, 
>> >> > which
>> >> > seems to install smoothly under XP.  Let me know your results with 
>> >> > the
>> >> > March 25 version I just poasted at the usual URL
>> >> > http://EmpowermentZone.com/jsxsetup.exe
>> >> >
>> >> > Jamal
>> >> > On Wed, 25 Mar 2009, Donald Marang
>> >> > wrote:
>> >> >
>> >> >> Date: Wed, 25 Mar 2009 13:42:08 -0400
>> >> >> From: Donald Marang <donald.marang@xxxxxxxxx>
>> >> >> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> >> >> To: jawsscripts@xxxxxxxxxxxxx
>> >> >> Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default
>> >> >>
>> >> >> No the base for both is "VerizonCallAssistantScripts".  I did have 
>> >> >> an
>> >> >> issue
>> >> >> if I created a filename with my version number included, like
>> >> >> "VerizonCallAssistantScripts0.95".  I have not tried this again 
>> >> >> yet.
>> >> >> I
>> >> >> will
>> >> >> after I get backk from doing my taxes.
>> >> >>
>> >> >> The zip and the exe files vxcan be downloaded at:
>> >> >> http://mysite.verizon.net/marangs/VerizonCallAssistant.html
>> >> >>
>> >> >>
>> >> >> Don Marang
>> >> >>
>> >> >>
>> >> >> ----- Original Message -----
>> >> >> From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> >> >> To: <jawsscripts@xxxxxxxxxxxxx>
>> >> >> Sent: Wednesday, March 25, 2009 11:30 AM
>> >> >> Subject: [jawsscripts] Re: Proper Way to Merge Functions in Default
>> >> >>
>> >> >>
>> >> >> >A possible cause just occurred to me.  Is the name of the .exe
>> >> >> >installer
>> >> >> > different from the name of the .zip archive on which it is based? 
>> >> >> > I
>> >> >> > thought I had fixed that problem a while back but perhaps it has
>> >> >> > resurfaced.
>> >> >> >
>> >> >> > Jamal
>> >> >> > On Wed, 25 Mar 2009, Jamal Mazrui wrote:
>> >> >> >
>> >> >> >> Date: Wed, 25 Mar 2009 10:23:05 -0500 (EST)
>> >> >> >> From: Jamal Mazrui <empower@xxxxxxxxx>
>> >> >> >> To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> Subject: Re: [jawsscripts] Re: Proper Way to Merge Functions in
>> >> >> >> Default
>> >> >> >>
>> >> >> >> I appreciate working with you to resolve this.  Inno Setup-based
>> >> >> >> installers, which JSX creates, do create a temporary directory 
>> >> >> >> that
>> >> >> >> is
>> >> >> >> a
>> >> >> >> subdirectory of your temp directory.  Since I am not finding a
>> >> >> >> WinBatch
>> >> >> >> error message, that helps me narrow where the problem is 
>> >> >> >> occuring.
>> >> >> >> Since I have installed other packages successfully onto Vista,
>> >> >> >> however,
>> >> >> >> I am currently stumped, and suggest sending me the zip archive 
>> >> >> >> as
>> >> >> >> an
>> >> >> >> attachment (I will only use it for debugging unless you 
>> >> >> >> explicitly
>> >> >> >> say
>> >> >> >> otherwise).
>> >> >> >>
>> >> >> >> Jamal
>> >> >> >> On Tue, 24 Mar 2009, Donald Marang wrote:
>> >> >> >>
>> >> >> >> > Date: Tue, 24 Mar 2009 18:39:40 -0400
>> >> >> >> > From: Donald Marang <donald.marang@xxxxxxxxx>
>> >> >> >> > Reply-To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > Subject: [jawsscripts] Re: Proper Way to Merge Functions in
>> >> >> >> > Default
>> >> >> >> >
>> >> >> >> > Yes it did allow the merge and compile process to complete!
>> >> >> >> >
>> >> >> >> > I still get the initial, incomplete, Vista (?) error after it
>> >> >> >> > says
>> >> >> >> > making
>> >> >> >> > bbackup, compiling  and before asking if I want to merge.  I 
>> >> >> >> > have
>> >> >> >> > the
>> >> >> >> > merge
>> >> >> >> > declaration set to ask for confirmation.  Again I will paste
>> >> >> >> > below.
>> >> >> >> > I
>> >> >> >> > notice it looks like there is a random temp file name complete
>> >> >> >> > with
>> >> >> >> > a
>> >> >> >> > ".tmp"
>> >> >> >> > extension followed by a \ and what looks like my zip file 
>> >> >> >> > name.
>> >> >> >> > Could
>> >> >> >> > this
>> >> >> >> > be incorrectly building the temp filename path?
>> >> >> >> >
>> >> >> >> > If I check to view the zip file, I get a similar error after 
>> >> >> >> > it
>> >> >> >> > finishes
>> >> >> >> > the merge, but the path name stops after the ".tmp" part. 
>> >> >> >> > This
>> >> >> >> > message
>> >> >> >> > states that the dfile can not be found.
>> >> >> >> >
>> >> >> >> > I will send better information after I play with it for a 
>> >> >> >> > while.
>> >> >> >> >
>> >> >> >> > --- Start of error
>> >> >> >> > C:\Users\Don\AppData\Local\Temp\is-L93DC.tmp\VerizonCall...
>> >> >> >> > graphic
>> >> >> >> > 798
>> >> >> >> > graphic 603
>> >> >> >> > OK Cancel
>> >> >> >> > --- end of error
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Don Marang
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ----- Original Message -----
>> >> >> >> > From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> >> >> >> > To: <jawsscripts@xxxxxxxxxxxxx>
>> >> >> >> > Sent: Tuesday, March 24, 2009 1:22 PM
>> >> >> >> > Subject: [jawsscripts] Re: Proper Way to Merge Functions in
>> >> >> >> > Default
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > > Yes, the documentation explains how an existing sequence can 
>> >> >> >> > > be
>> >> >> >> > > changed.
>> >> >> >> > > I've just posted a revised JSX at the usual URL,
>> >> >> >> > > http://EmpowermentZone.com/jsxsetup.exe
>> >> >> >> > >
>> >> >> >> > > Can you let me know if it resolves the bug you encountered?
>> >> >> >> > >
>> >> >> >> > > Jamal
>> >> >> >> > > On Tue, 24 Mar
>> >> >> >> > > 2009,
>> >> >> >> > > Donald Marang wrote:
>> >> >> >> > >
>> >> >> >> > >> Date: Tue, 24 Mar 2009 12:15:18 -0400
>> >> >> >> > >> From: Donald Marang <donald.marang@xxxxxxxxx>
>> >> >> >> > >> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > >> To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > >> Subject: [jawsscripts] Re: Proper Way to Merge Functions in
>> >> >> >> > >> Default
>> >> >> >> > >>
>> >> >> >> > >> Thanks!  I think that answers my question.  Is there a way 
>> >> >> >> > >> to
>> >> >> >> > >> force
>> >> >> >> > >> the
>> >> >> >> > >> merge process to reverse the order that it places the Use
>> >> >> >> > >> statements?  I
>> >> >> >> > >> am
>> >> >> >> > >> not sure I need that capability yet, I am just curious.  I
>> >> >> >> > >> guess
>> >> >> >> > >> I
>> >> >> >> > >> should
>> >> >> >> > >> read the manual again.  More carefully this time!  I seem 
>> >> >> >> > >> to
>> >> >> >> > >> remember
>> >> >> >> > >> something regarding the Use statements and the chain of
>> >> >> >> > >> execution.
>> >> >> >> > >> As
>> >> >> >> > >> soon
>> >> >> >> > >> as I straighten out my difficulties with the jsx error
>> >> >> >> > >> messages
>> >> >> >> > >> during
>> >> >> >> > >> installation when it tries to create/access a temp file, I 
>> >> >> >> > >> can
>> >> >> >> > >> verify my
>> >> >> >> > >> assumptions and experiment.
>> >> >> >> > >>
>> >> >> >> > >> I appreciate all the help and knowledge I get from this 
>> >> >> >> > >> list!
>> >> >> >> > >>
>> >> >> >> > >> Don Marang
>> >> >> >> > >>
>> >> >> >> > >>
>> >> >> >> > >> ----- Original Message -----
>> >> >> >> > >> From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> >> >> >> > >> To: <jawsscripts@xxxxxxxxxxxxx>
>> >> >> >> > >> Sent: Tuesday, March 24, 2009 11:12 AM
>> >> >> >> > >> Subject: [jawsscripts] Re: Proper Way to Merge Functions in
>> >> >> >> > >> Default
>> >> >> >> > >>
>> >> >> >> > >>
>> >> >> >> > >> > If default.jss is a container file with Use 
>> >> >> >> > >> > default_fs.jsb
>> >> >> >> > >> > on a
>> >> >> >> > >> > line
>> >> >> >> > >> > prior to Use custom.jsb, then I think the default 
>> >> >> >> > >> > function
>> >> >> >> > >> > will
>> >> >> >> > >> > be
>> >> >> >> > >> > called if you call it from a custom function with the 
>> >> >> >> > >> > same
>> >> >> >> > >> > name.
>> >> >> >> > >> > Beyond
>> >> >> >> > >> > that, let me defer to Doug Lee who is the expert on such
>> >> >> >> > >> > matters!
>> >> >> >> > >> >
>> >> >> >> > >> > Jamal
>> >> >> >> > >> > On Mon,
>> >> >> >> > >> > 23 Mar 2009, Donald Marang wrote:
>> >> >> >> > >> >
>> >> >> >> > >> >> Date: Mon, 23 Mar 2009 21:17:01 -0400
>> >> >> >> > >> >> From: Donald Marang <donald.marang@xxxxxxxxx>
>> >> >> >> > >> >> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > >> >> To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > >> >> Subject: [jawsscripts] Re: Proper Way to Merge Functions 
>> >> >> >> > >> >> in
>> >> >> >> > >> >> Default
>> >> >> >> > >> >>
>> >> >> >> > >> >> Thanks for the response.
>> >> >> >> > >> >>
>> >> >> >> > >> >> Before I was attempting to automatically merge scripts 
>> >> >> >> > >> >> with
>> >> >> >> > >> >> default, I
>> >> >> >> > >> >> placed my own WindowActivatedEvent function in my file 
>> >> >> >> > >> >> and
>> >> >> >> > >> >> place
>> >> >> >> > >> >> the
>> >> >> >> > >> >> Use
>> >> >> >> > >> >> statement after all the other Use statements and before 
>> >> >> >> > >> >> the
>> >> >> >> > >> >> function
>> >> >> >> > >> >> declarations.  This seemed to work.  But from a logical
>> >> >> >> > >> >> standpoint, I
>> >> >> >> > >> >> am
>> >> >> >> > >> >> not
>> >> >> >> > >> >> sure why?  Am I overwriting the function located in
>> >> >> >> > >> >> default?
>> >> >> >> > >> >> Or
>> >> >> >> > >> >> will
>> >> >> >> > >> >> both
>> >> >> >> > >> >> functions be in the chain?
>> >> >> >> > >> >>
>> >> >> >> > >> >> If I use the standard merge, will both versions of the
>> >> >> >> > >> >> function
>> >> >> >> > >> >> be in
>> >> >> >> > >> >> the
>> >> >> >> > >> >> chain, or will I need to do something extra?
>> >> >> >> > >> >> Don Marang
>> >> >> >> > >> >>
>> >> >> >> > >> >>
>> >> >> >> > >> >> ----- Original Message -----
>> >> >> >> > >> >> From: "Jamal Mazrui" <empower@xxxxxxxxx>
>> >> >> >> > >> >> To: <JAWSScripts@xxxxxxxxxxxxx>
>> >> >> >> > >> >> Sent: Monday, March 23, 2009 4:36 PM
>> >> >> >> > >> >> Subject: [jawsscripts] Re: Proper Way to Merge Functions 
>> >> >> >> > >> >> in
>> >> >> >> > >> >> Default
>> >> >> >> > >> >>
>> >> >> >> > >> >>
>> >> >> >> > >> >> >I do not have an answer for the event question, other 
>> >> >> >> > >> >> >than
>> >> >> >> > >> >> >perhaps
>> >> >> >> > >> >> >looking
>> >> >> >> > >> >> > for and searching the .jss source to see if that 
>> >> >> >> > >> >> > function
>> >> >> >> > >> >> > has
>> >> >> >> > >> >> > already
>> >> >> >> > >> >> > been
>> >> >> >> > >> >> > defined on the user's system (a hack, of course).
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > Unfortunately, merge scripts do need to be installed
>> >> >> >> > >> >> > again
>> >> >> >> > >> >> > after FS
>> >> >> >> > >> >> > updates JAWS.  This is because they reference a copy 
>> >> >> >> > >> >> > that
>> >> >> >> > >> >> > was
>> >> >> >> > >> >> > made
>> >> >> >> > >> >> > of
>> >> >> >> > >> >> > the
>> >> >> >> > >> >> > FS script file, e.g., default_fs.jsb.  Running the 
>> >> >> >> > >> >> > same
>> >> >> >> > >> >> > JSX
>> >> >> >> > >> >> > installer
>> >> >> >> > >> >> > package again should work (uninstalling scripts should
>> >> >> >> > >> >> > not
>> >> >> >> > >> >> > be
>> >> >> >> > >> >> > necessary).
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > Jamal
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > --Original Message --
>> >> >> >> > >> >> > From: jawsscripts-bounce@xxxxxxxxxxxxx
>> >> >> >> > >> >> > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of
>> >> >> >> > >> >> > Donald
>> >> >> >> > >> >> > Marang
>> >> >> >> > >> >> > Sent: Friday, March 13, 2009 8:30 PM
>> >> >> >> > >> >> > To: jawsscripts@xxxxxxxxxxxxx
>> >> >> >> > >> >> > Subject: [jawsscripts] Proper Way to Merge Functions 
>> >> >> >> > >> >> > in
>> >> >> >> > >> >> > Default
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > My program requires a single line to be added to a
>> >> >> >> > >> >> > WindowActivatedEvent
>> >> >> >> > >> >> > default level function.  My problem is that I do not 
>> >> >> >> > >> >> > know
>> >> >> >> > >> >> > if
>> >> >> >> > >> >> > the
>> >> >> >> > >> >> > user
>> >> >> >> > >> >> > installing the scripts has a WindowActivatedEvent
>> >> >> >> > >> >> > function
>> >> >> >> > >> >> > in
>> >> >> >> > >> >> > their
>> >> >> >> > >> >> > default scripts file or not.
>> >> >> >> > >> >> > I had the function repeated as shown below in my file 
>> >> >> >> > >> >> > to
>> >> >> >> > >> >> > be
>> >> >> >> > >> >> > merged
>> >> >> >> > >> >> > with
>> >> >> >> > >> >> > default.  I don't want to override any other actions 
>> >> >> >> > >> >> > that
>> >> >> >> > >> >> > might
>> >> >> >> > >> >> > be
>> >> >> >> > >> >> > defined
>> >> >> >> > >> >> > in their default scripts file.  I think the FS default
>> >> >> >> > >> >> > has a
>> >> >> >> > >> >> > function
>> >> >> >> > >> >> > to
>> >> >> >> > >> >> > check for an AOL login.  What is the proper way to 
>> >> >> >> > >> >> > handle
>> >> >> >> > >> >> > this?
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > Void Function WindowActivatedEvent (handle hWnd)
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > CheckForToast (hWnd)
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > WindowActivatedEvent (hWnd)
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > EndFunction
>> >> >> >> > >> >> >
>> >> >> >> > >> >> >
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > PS  What happens to these merged scripts when FS 
>> >> >> >> > >> >> > provides
>> >> >> >> > >> >> > an
>> >> >> >> > >> >> > update
>> >> >> >> > >> >> > like
>> >> >> >> > >> >> > they did this week?  Would these files need to be 
>> >> >> >> > >> >> > merged
>> >> >> >> > >> >> > again?
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > Don Marang
>> >> >> >> > >> >> >
>> >> >> >> > >> >> >
>> >> >> >> > >> >> > __________
>> >> >> >> > >> >> > 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
>> >> >> >> > >> >> >
>> >> >> >> > >> >>
>> >> >> >> > >> >> __________
>> >> >> >> > >> >> 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
>> >> >> >> > >> >
>> >> >> >> > >>
>> >> >> >> > >> __________
>> >> >> >> > >> 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
>> >> >> >> > >
>> >> >> >> >
>> >> >> >> > __________
>> >> >> >> > 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
>> >> >> >
>> >> >>
>> >> >> __________
>> >> >> 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
>> >> >
>> >>
>> >> __________
>> >> 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
>> >
>>
>> __________
>> 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
> 

__________ 
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: