View Single Post
Old 03-03-2010, 12:07 PM   #619
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
Quote:
Originally Posted by kartu View Post
Joember
Well, besides linux way there is a way to change Browse Folders so that it treats windows shortcuts (I don't know if there is any better way) as target folders/files. Windows shortcut format is not documented, but is quite easy as far as I remember.
Does this already work in your upcoming version, Kartu? If so, it is sufficient for my needs.

Quote:
Originally Posted by kartu View Post
What's needed is basically a JS function, that would take path to the lnk file as input and return target file descriptor as a result. Stream.File can read "chunks" (readChunk(size)), and chunks have peek(offset) function, that returns byte (?) values. Probably this is enough to write it.
That's along the lines of what I was thinking... I guess this would be plugged straight into whatever function gets a list of files in a given directory? Once your new version comes out, I might play around with that if the Windows shortcut thing does not presently work.

Joember
Joember is offline   Reply With Quote