jEdit Community - Resources for users of the jEdit Text Editor
Using a dedicated browser window in InfoViewer
Submitted by jgellene on Saturday, 20 October, 2001 - 10:29
To do this, you will need the Windows Script Host, which is installed on most versions of Windows. The latest version, Windows Script Host 5.6, is available by download from Microsoft's MSDN web site. The most recent version compatible with Windows 95 is Windows Script Host 5.5. You will also need the script launch_same_ie.js, available in the Downloads section.

Copylaunch_same_ie.js into your jEdit installation directory. Then go to Global Options>Plugin Options>InfoViewer, select "External Browser" and `type` the following in "External Browser Command":

wscript.exe "[full path]\launch_same_ie.js"

Once this is done, every time you invoke the InfoViewer, jEdit will run the script. It works by storing the window handle identifier for a particular instance of Internet Explorer in the Windows Registry (in the same location where jEditLauncher configuration data is stored). The script searches for the windows handle on the Windows desktop. If it finds the handle, it loads the requested file in that instance of Internet Explorer. If it cannot find the handle, it creates a new instance of Internet Explorer and stores the new windows handle.

Thanks to Dirk Moebius for the original version of this script.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
it works very well
by horussandy on Thu, 06/07/2006 - 04:02
 
I agree
by Benvenutto on Sat, 15/07/2006 - 13:08
Nice site, thanks.
User login
Browse archives
« November 2014  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   47228
Context Free Art (*.cfdg)   0.31   37205
JBuilder scheme   .001   11571
R Edit Mode - extensive version   0.1   11396
BBEdit scheme   1.0   11136
ColdFusion scheme   1.0   11125
Advanced HTML edit mode   1.0   10848
Matlab Edit Mode   1.0   10713
jEdit XP icons   1.0   10173
XP icons for jEdit   1.1   9966