Shoot... Jeff below I said "If I understand it you should be able to put
something like the following in your localaliases.txt:"  It should've been
localprefs.js.  Sorry.

JB


> -----Original Message-----
> From: John W. Bairen, Jr. [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 21, 2003 7:45 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [DQSD-Users] Using another editor and browser
>
>
> Hi Jeff.
>
> I started to reply to your e-mail last week but got lost in
> actually getting it to work.  There is an xml file in the
> searches directory (configure.xml).  These functions are in that file...
>
>  function editCSSFile(strFilename)
>       {
>               var myEditor = (typeof cssEditorExe != "undefined")
> ? cssEditorExe : "notepad";
>               var install_dir = ".";
>               if (ensureLauncher())
>               {
>                       install_dir = DQSDLauncher.InstallationDirectory;
>               }
>               var cmd = "\""+myEditor+"\"
> \""+install_dir+"\\"+strFilename + "\"";
>               openDocument(cmd);
>
>       }
>
>       function editConfigFile(strFilename)
>       {
>               var myEditor = (typeof configureEditorExe !=
> "undefined") ? configureEditorExe : "notepad";
>               var install_dir = ".";
>               if (ensureLauncher())
>               {
>                       install_dir = DQSDLauncher.InstallationDirectory;
>               }
>               var cmd = "\""+myEditor+"\"
> \""+install_dir+"\\"+strFilename + "\"";
>               openDocument(cmd);
>       }
>
> If I understand it you should be able to put something like the
> following in your localaliases.txt:
> cssEditorExe="c:\progfiles\myapp\myapp.exe"
> configureEditorExe="c:\progfiles\myapp2\myapp2.exe"
>
> making the appropriate edits as necessary.
>
> PROBLEM: I couldn't get that to work. (Brent, I think you wrote
> configure.xml is this correct?  Should the !="undefined" actually
> be ="undefined" in the functions?)
>
> SO: You could always just edit those functions in configure.xml
> and replace "notepad" with the full path to the exe.
> BUT: Configure.xml will always get overwritten on upgrade.
>
> SO: There are 3 possibilities to overcome this:
>  1. Make a back up of your configure.xml after making the change.
>  Put that file in place after any future upgrades.
>  2. Make configure.xml read-only.  Then it "shouldn't" get over
> written on upgrade.
>  3. Put a copy of the changed configure.xml file in your
> localsearches directory.  I "think" this will cause it to
> over-ride the main one in the searches directory.  But I am not
> sure about this one.
>
> I think the Opera problem is based on the fact that deep down in
> your registry... somewhere IE still thinks it is the default.  I
> am not sure about this since I do not use Opera.  Maybe some
> other Opera user can pipe in.  You might try using the SetBrowser
> tool to help setting Opera as the default browser everywhere.
> You can get SetBrowser here:
>
> http://www.pc-tools.net/win32/freeware/setbrowser/
>
> Sorry it took so long to get you an answer.  Let us know which of
> these suggestions help and which do not.
>
> Thanks,
> JB
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Jeffrey A.
> > Shumway
> > Sent: Friday, February 21, 2003 7:14 PM
> > To: [EMAIL PROTECTED]
> > Subject: [DQSD-Users] Using another editor and browser
> >
> >
> > Hi All,
> >
> > I have two quick questions as a new user of this fine search tool.
> >
> > First, is there a way to open the preferences.js in my own editor rather
> > than in Notepad.
> >
> > Second, the default browser option does not seem to be working.  I have
> > launchmode=1; specified in my localprefs.js file and I have restarted
> > Quick Search, but it still launches IE if no other browser window is
> > open.  If I have Opera open, it will pass the parameters to Opera.
> >
> > Thanks,
> >
> > Jeff
> > --
> > Jeffrey A. Shumway
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> > The most comprehensive and flexible code editor you can use.
> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> > www.slickedit.com/sourceforge
> > _______________________________________________
> > To unsubscribe visit:
> > https://lists.sourceforge.net/lists/listinfo/dqsd-users
> > [EMAIL PROTECTED]
> > http://sourceforge.net/mailarchive/forum.php?forum_id=8601
> >
> >



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to