Hi Andy,

Even if you can't drag and drop files, the interface form might work
on IE. I say *might* because Microsoft introduced some new safety
features sometime around IE7 that will keep the user absolutely safe
since they'll not be able to do anything. You may want to try turning
on the "Allow active content to run on my computer" checkbox in the
security section under Options | Advanced.

Once the form is working, you should be able to click on the "source"
button at the top, and navigate to the image or file you want. Select
"local link" as the way you want it attached, and then select the
"Attach" button at the bottom.

But even if it works, the form won't, AFAIK, allow you to create a
thumbnail image of the PDF. So you would have to create your own
thumbnail image, and wrap it with the link to the PDF. That's why I'm
interested in creating a drag/drop system that  will allow coordinated
application from multiple sources of data at once (like a PDF and a
png image of the PDF).

Mark

On Mar 5, 7:11 am, AndyF <andy.fra...@mansys.net> wrote:
> Hi Mark, Mario and Skye,
>
> Thank you for your replies. I am using the FileDropPlugin which
> basically just creates the tiddler with the link to pdf files. I am
> going to try the relative link way of adding the files (%3) so have
> actually deleted the linked tiddlers in preparation of starting again.
>
> Unfortunately my company only allows IE to be used so can not use
> FileDropPlugin until I get home and Firefox !
>
> Will update you with my success / failure.
>
> BTW I have tried the AttachFilePlugin and I get the relevant
> attachment form to appear but it never creates a tiddler so not sure
> what I am doing wrong. Am I right in thinking this would create a
> thumbnail graphic of the first pdf sheet as well as the link while not
> a necessity , it would look good !
>
> Best regards
>
> Andy
>
> On Mar 5, 2:36 pm, "Mark S." <throa...@yahoo.com> wrote:
>
> > I'm using FileDropPlugin, but with the custom handler and not the
> > AttachFilePlugin. This allows me to save bookmarks (information &
> > links) using VIRTUAL paths:
>
> >   //MYPHOTOS/cx5123/dog-at-play.jpg
>
> > where //MYPHOTOS can be translated to conform to whatever site you're
> > on:
>
> >   file:///mnt/cdrom/cx5123/dog-at-play.jpg
> >   file:///e:/cx5123/dog-at-play.jpg
> >   file:///f:/cx5123/dog-at-play.jpg
>
> > These Virtual paths are described in a configuration option, allowing
> > the physical path to be set per whatever system you happen to be on.
>
> > The other key concept is that drag-drop actions are determined by
> > *where* you're dropping from as well as *what* you're dropping from.
> > This way you can embed two types of information at once. Primarily,
> > you can drag-drop thumbnails from a local directory, while
> > simultaneously embedding information about the related full size
> > images on a cdrom (the idea is that you can carry the thumbnails with
> > you on a stick, but not reasonably the full-sized images).
>
> > An idea for later, after I've gotten everything working smoothly, is
> > to drag and drop say a thumbnail of a PDF, like:
>
> >    c:/data/thumbnails/personal/dog-at-play.pdf.png
>
> > (notice the extension, indicating a PNG snapshot of a PDF file) and
> > have it simultaneously find and embed links to the corresponding PDF:
>
> >    d:/data/paperporthome/personal/dog-at-play.pdf
>
> > AND import into TW the accompanying text notes and/or OCR'd version of
> > the PDF:
>
> >    d:/data/paperporthome/personal/dog-at-play.pdf.txt
>
> > The thought here being that while embedding an entire PDF document is
> > not scaleable, it is plausible to import some or all of the text of
> > PDF documents for searching purposes.
>
> > You can see in this case that the drag-drop needs to know about and
> > handle 3 separate paths at once.
>
> > Mark
>
> > On Mar 4, 9:17 pm, skye riquelme <riquelme.s...@gmail.com> wrote:
>
> > > Hi All
>
> > > Hope I can jump in on this discussion. I am not clear on exactly what
> > > is happening. Is Mark using FileDropPlugin (and maye AttachFilePlugin
> > > as well) to drop files into a TW and then organise the list of
> > > tiddlers? I am reading that the actually files aren´t being dropped
> > > into the TW ( which would quickly blow it out to unusable
> > > size)...rather just a bookmark is being "dragged and dropped"....how
> > > is that down...I think I am missing something very fundamental
> > > here...HELP!!
>
> > > Thanks in Advance
> > > Skye
>
> > > Thanks Mark for your "Life witoout FET" explanation, very
> > > clear.....almost inspires me to want to learn Javascript !!!
> > > ALMOST ...but thanks.
>
> > > On 4 Mar, 15:51, PMario <pmari...@gmail.com> wrote:
>
> > > > Hi Andy
>
> > > > Did you change the tiddlers, that where generated by FileDropPlugin,
> > > > by hand? If yes, my sugestion creates a lot of work and you should use
> > > > an other one.
>
> > > > If no, go on reading.
>
> > > > I think you used the default template:
> > > > /%
> > > > !link
> > > > [[%0|%1]]
> > > > !end
> > > > %/
> > > > which generates a link like you described.
>
> > > > if you use the following it should create a relative link to the pdf
> > > > files.
> > > > /%
> > > > !link
> > > > [[%0|%3]]
> > > > !end
> > > > %/
>
> > > > eg:
> > > > TiddlyWiki is on the stick (F:)
> > > > the pdfs are in a subdirectory eg: F:/doc
>
> > > > It should produce something like:
> > > > [[DataFile 002 - General Note.pdf|./doc/DataFile 002 - General
> > > > Note.pdf]]
>
> > > > regards mario
>
> > > > On Mar 4, 6:51 pm, "Mark S." <throa...@yahoo.com> wrote:
>
> > > > > I've been working on a personal content management system, which I've
> > > > > written up here:
>
> > > > >http://marksbasement.tiddlyspot.com/index.html#[[Overview%20Of%20Document%20Management%20System]]
>
> > > > > Basically what I do, is create my own bookmarks when files are 
> > > > > dragged/
> > > > > dropped. There is a set of options that can be set to match pathways
> > > > > on the current machine. When the bookmarks are created, they use
> > > > > virtual drive/paths like:
>
> > > > >   Thumb://CDS/20061204/fh000004.jpg
>
> > > > > The applications that view these bookmarks then change the virtual
> > > > > path (//CDS in this case) into whatever drive is applicable per the
> > > > > configuration. This means that I can even view the same files on a
> > > > > linux system which uses very different pathing than does Windows.
>
> > > > > Since you already have 250 paths set up, you might want something
> > > > > quick to set up now, and pound out the convenience factors later.
> > > > > Using some judicious regex style replacements in your favorite
> > > > > advanced editor, you could edit the source of your TW document and
> > > > > change your pathways to something like:
>
> > > > >   <<tiddler "drivepath::dp" with: "/20061204/fh000004.jpg">>
>
> > > > > where tiddler drivepath is something like:
>
> > > > >   dp:[img[file:///d:/data/cds$1]]
>
> > > > > (sorry, I'm using examples from my own code so I can verify they work
> > > > > as I write.) Then just by changing tiddler drivepath, you can change
> > > > > all the pathways instantaneously.
>
> > > > > Mark
>
> > > > > On Mar 4, 6:59 am, AndyF <andy.fra...@mansys.net> wrote:
>
> > > > > > Hi,
>
> > > > > > Background
> > > > > > I have set up a TiddlyWiki containing a series of help and knowledge
> > > > > > base files for our team for use when they are on Customers sites. 
> > > > > > The
> > > > > > TiddlyWiki has been distributed on a number of Memory Sticks and
> > > > > > contains the html and a directory of approximately 250 pdf files. I
> > > > > > have used the FileDropPlugin and this has been very successful for
> > > > > > creating the Tiddlers. In creating the tiddlers I did this from my
> > > > > > memory stick with all the files etc perfectly organised on the 
> > > > > > stick.
> > > > > > I then replicated the stick to the other sticks.
>
> > > > > > Tiddlers
> > > > > > The Tiddlers containing the attachments are coded as follows :
>
> > > > > > [[DataFile 002 - General Note.pdf|file:///F:/TiddlyData/DataFile 
> > > > > > 002 -
> > > > > > General Note.pdf]]
>
> > > > > > The problem.
> > > > > > When the users are using the TiddlyWiki they are fine but in some
> > > > > > cases they cannot open the attachments. This is because their PC /
> > > > > > Laptop / Customers PC has assigned the memory stick a different 
> > > > > > Drive
> > > > > > letter so instead of Drive F: as it was for me they are now on drive
> > > > > > H:.
>
> > > > > > Question(s)
> > > > > > 1. Does anyone know if there is a way to not include the Drive 
> > > > > > letter
> > > > > > into the path possibly replacing it with a wildcard so it searches
> > > > > > rather than errors.
> > > > > > 2. Is there a way to find and replace (quickly) all the data 
> > > > > > referring
> > > > > > to file:///F:/ with the user being able to manually replace 
> > > > > > file:///F:/
> > > > > > with (for example) file:///H:/.
> > > > > > 3. Could 2 above be automated so that there is a Tiddler on start up
> > > > > > saying "What is the Drive Letter ?" You enter H and file:///F:/ is
> > > > > > automatically changed to file:///H:/
>
> > > > > > Your help and advice would be appreciated.
>
> > > > > > Andy F- Hide quoted text -
>
> > - Show quoted text -
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to