motjuvie

Motjuvie is more than just a SVG viewer application.
It is designed to be simple and quick. But yet, powerful.
Motjuvie has many features and it is free.

screen shots

Here a a couple of screen shots showing motjuvie in action.
The first one shows a clock without borders and activated transparency, a player UI and a toolbar with SVG icons.
The second one shows another clock, the player, the toolbar and motjuvie in normal mode on my desktop.
The third one shows a kaleidoscope animation with a transparent background.

download

The current version is 1.9.9:
You will need Adobe's SVG plugin for motjuvie to work.

Motjuvie is free and provided under the terms of the GPL.

You can download the application or the source code.

Also check out the other applications in the download section.

features

  • SVG1.2 sockets
  • pageSet handling (SVG with multiple pages)
  • presentation tool
  • window transparency and alphablending
  • fullscreen support
  • borderless display
  • stayOnTop display
  • ActiveXObject object available for script
  • customizing the viewer from SVG using script or special XML attributes

usage

simply call motjuvie with a file name e.g.:
c:\path_to_motjuvie\motjuvie.exe "c:\path_to_svg_file\svg_file.svg"

presentation tool

You can use motjuvie as a presentation tool.
Se the tutorial on how to simply create presentations.

shortcut keys

PgUp or Up previous page of the pageSet (if available)
PgDown or Down next page of the pageSet (if available)
Home first page of the pageSet (if available)
End last page of the pageSet (if available)
Left previous item on page(for presentations)
Right or Space next item on page(for presentations)
F11 toggle fullscreen
F5 reload

customizing

There are three ways of customizing motjuvie.
One is through scripting and the other by using XML attributes in the document to be displayed.
and the third one is by changing the init script located in the same directory as the motjuvie application.

When using attributes in the SVG, all options need to be specified as attributes of the root element(the first svg - tag).
The name space for all attributes must be: http://jan.kollhof.net/motjuvie
the following options are available:
  • fullScreen="true|false" default = false
  • borders="true|false" default = true
  • stayOnTop="true|false" default = false
  • alphaBlending="0..255" default = 255
  • transparentColor="colro-value|none" default = none
  • auto-resize="true|false" default=false
  • auto-pos="true|false" default = false

scripting

Motjuvie offers the ability to be scripted from within the SVG document.
One object exposed to the script is motjuvie
The following functions and properties are currently available.
  • motjuvie.title
    Sets/gets the title property of the window and taskbar button. (String)
  • motjuvie.fullScreen
    Sets/gets the fullScreen state (true|false).
  • motjuvie.borders
    Sets/gets the border state (true|false).
  • motjuvie.stayOnTop
    Sets/gets the stayOnTop state of the window (true|false).
  • motjuvie.alphaBlending
    Sets/gets the alpha-blending value of the window (0..255)
  • motjuvie.transparentColor
    Sets/gets the transparent color of the window (can be any color value like blue or rgb(1,2,4) or a hexvalue on none).
  • motjuvie.cmdLine
    Gets the command line the motjuvie was started with.
  • motjuvie.dragWindow()
    Initiates window draging.
    If this function is called when the mouse is down then the window will move with the mouse untill the mouse button is released.
  • motjuvie.siszeWindow(sizeOption)
    Initiates window sizing.
    Use any binary combination of SC_DRAGMOVE = 0xF012; sc_SizeLeft = 0xF001; sc_SizeRight = 0xF002; sc_SizeTop = 0xF003; sc_SizeTopLeft = 0xF004; sc_SizeTopRight = 0xF005; sc_SizeBottom = 0xF006; sc_SizeBottomRigh = 0xF008; sc_SizeBottomLeft = 0xF007;
  • motjuvie.minimize()
    Minimizes the window.
  • motjuvie.maximize()
    Maximizes the window.
  • motjuvie.restore()
    Restores the window to it's normal size.
  • motjuvie.close()
    Closes motjuvie completely.
  • motjuvie.reload()
    Reloads the document.
There are a couple more functions exposed to the script environment:
  • ActiveXObject
    This is the same as MS's ActiveXObject constructor.
    The sequrity setting is for local svg files the same as for local js-scripts!!!(full access)
    Do to the possible sequrity threads there will be some preference settings in the future on what can be instaciated and what not.
  • createConnection
    Creates an SVG1.2 socket connection.

changes

2004-08-12

Fixed menu customization in ASV6 in init script.
Fixed some socket problems.
Added presentation features for pageSet handling.

2004-08-11

Partial rewrite of motjuvie.
Added sockets and pageSetHandling.

2003-08-11

Fixed bug that caused motjuvie to crash when quiting.

2003-07-05

New name: motjuvie!
Motjuvie can now be scripted from within the SVG file.
Options can be embedded into the SVG file or set via command line.
Created some examples showing what motjuvie can do.

2003-06-27

some enhancements.
Commandline options, shortcuts, menu, embedded options...
Web page reworked

2003-05-31

Window translucency added.
Displays readme.svg at startup if now file was passed.