Drag and Drop
SCREEM supports drag and drop both internally (ie drags and drops from within SCREEM itself)
and externally, from the file manager for instance. There are a number of options open to you
as to what action a drop will perform if you drag with the middle mouse button.
The default action for a left mouse button drop is to insert a relative filename
For files there are the following options:
- Insert relative filename
- Insert complete filename
- Insert tag
- Insert tag attribute
- Insert inline
Insert relative filename
This will attempt to convert the full pathname of the dropped file into a pathname relative to the
position of the current document, but only when working on a site. For instance if I dragged
the first page of my homesite:
/home/david/homepage/index.html
to say
/home/david/homepage/gnealogy/gnealogy.html
then the pathname inserted would be
../index.html
Insert complete filename
This will do as expected, insert the full pathname of the file. This is probably not very usefull as
it will be the full local path, ie on your own system
Insert tag
This will attempt to insert an html tag, based on what the file is. If its an HTML file then a
link will be inserted to that file, if its an image file then an <img> tag will be inserted.
The default if a file doesn't have a sensible tag to go with it is to insert a link to the file.
Insert tag attribute
This doesn't work too well currently, but as an example if you drag a colour (from the colour
browser for instance) into a tag the attribute color= will be inserted with the correct color
code inserted.
Insert inline
This will only work if the file is a text based file, and will as you probably expect insert the
contents of the file directly into the editor.