I spent way too much evaluating all those 2 pane information managers.
Looked at dozens. Treepad was my runner-up to TW. TakeNote 2nd runner
up. SqlNotes 3rd runner up. The main thing is that info in Treepad is
locked away in a semi-proprietary format (even if the specs are
released). What happens if the owner gets hit by a bus? Or sells it to
a company that decides to charge mega bucks (this sorta of actually
happened to me after using InfoSelect for two years in the 90s.).  The
data in TW, on the other hand, is stored in a kind of lose XML style
format which should not be difficult to convert into something that
can be sucked up by future Wiki systems, assuming that the whole Wiki
thing isn't a passing fad.

Back to the topic.

You can use print-screen to grab your screen. Then paste into an
editor (you can even use MS-Paint, though PaperPort and other image
editors work better). Size and crop your image, and then save below
your tw file directory (like in tw/screenshots).

There's a plugin called  FileDropPlugin. You can import it from:

   http://bradleymeck.tiddlyspot.com/

Its original intention was to drag and drop text files into a new
tiddler, but I've adapted it to create relative links, including
images, instead. The code goes in FileDropPlugin Config. Code below.

Now you can drag your image file from your directory, and have an
image link appear in a tiddler, using a relative path that will make
it easy to transfer your TW and subdirectories together. If the image
takes up too much screen real-estate, then you can modify it using
Eric Shulman's sizing plugin:

  http://www.tiddlytools.com/

Import ImageSizePlugin (and any supporting plugins ... can't
remember).

Now you have a tiddler that shows a screen shot. The configuration
code is pretty easy, so if you want to customize it so that images
always are shown as thumbnails initially, that should be possible.

-- Mark

My FileDropPluginConfiguration code, for what its worth. Its windows-
centric, and works for me, but use at your own risk, of course. Goes
in the systemConfig tiddler, [[FileDropPlugin Config]]

config.macros.fileDrop.addEventListener("application/x-moz-
file",function(nsiFile)
{
     // Given file path or url, convert into standard local path
    function normalizedPathArray(str) {
        var idx = str.lastIndexOf(":") ;
        if (idx != -1) str = str.substring(idx-1) ;
        str = str.replace(/\\/g,"/") ;
        var ret = str.split("/") ;
        ret[0] = ret[0].toLowerCase() ;
        return ret ;
    }
    var newDate = new Date();
    //var t = nsiFile.path.replace(/\\/g , "_") ;
    var localPathArray = normalizedPathArray(document.URL) ;
    var droppedPathArray = normalizedPathArray(nsiFile.path) ;
    var sharedPath = [] ;
    for(var i=0;i<localPathArray.length;i++) {
        if(localPathArray[i] != droppedPathArray[i]) break ;
        sharedPath[i] = localPathArray[i] ;
    }

    var filePath = "file:///" + droppedPathArray.join("/") ;
    if (sharedPath.length) {
        filePath = "" ;
       for(i=0;i<localPathArray.length - sharedPath.length-1;i++)
         filePath += "../"  ;
       filePath += droppedPathArray.slice(sharedPath.length).join
("/") ;
        //filePath = "../" + sharedPath.join("/")   ;
    }
    var fileExt = "" ;
    if(nsiFile.path.indexOf(".")!=-1) {
        var fileExt = nsiFile.path.slice(nsiFile.path.lastIndexOf(".")
+1) ;
    }

    // Determine whether this is any of the know web image types
    var isImageType = false ;
    isImageType = (new RegExp(/jpg|jpeg|png|gif|tif+/i)).test
(fileExt) ;

    // Generate title we'll use
    var t = droppedPathArray.join("_") ;
    t = t.replace(/[:.]/g,'_').replace(/__/g,"_") ;

    // Generate the file or image link to be displayed
    var fileLink = "" ;
    if(isImageType) {
        var fileLink = "[img[" + droppedPathArray
[droppedPathArray.length-1] +
            "|" + filePath + "]]" ;
    } else {
        var fileLink = "[[" + droppedPathArray
[droppedPathArray.length-1] +
            "|" + filePath + "]]" ;
    }
      store.saveTiddler
(null,t,fileLink,config.options.txtUserName,newDate,[]);
      story.displayTiddler(null,t)
})

// End of code ==================================================

On Feb 15, 2:49 am, Anthony Muscio <[email protected]> wrote:
> People of the tiddlywiki universe,
>
> I use tiddlywiki as a PIM/Task manager and paste relevant information
> into tiddlers I manage with my own custom environment.
>
> The only limitation I have found is images, does anyone know if it is
> possible to do the following using a plugin, bookmarklet or other
> wise, does it need to be invented ?
>
> Capture an image with Print screen. Eg; a software error, a screen
> shot etc....
>
> Create a tiddler and paste an image into it (from clipboard).
>
> Ideally the image would just be placed in a folder "images" under the
> tiddlywiki source file and a link inserted in the tiddler and
> displayed in the tiddler view.
>
> This would make it allot simpler than having to paste the image into a
> folder and browse to a link. I got this idea/expectation after using
> the great treepad.com tools, just I like the browser aspects of
> tiddlywiki more.
>
> Thanks for any ideas.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to