Version 1 of myPIE

Updated 2006-02-19 20:09:18 by suchenwi

Richard Suchenwirth 2006-02-19 - PIE is short for Pocket Internet Explorer, the web browser that comes with Windows/CE. It is, well, usable, and allows to store bookmarks, and call them later. You could do it hierarchically in "sub-folders", but these get lost when synchronizing the PDA with the desktop. So I keep a flat list of bookmarks, 144 at the moment (always alphabetically ordered), and have to scroll through pages of 13 each until success.

myPIE is sort of a remote control for PIE. It uses the fact that you can, at least in eTcl,

 exec iexplore wsp://wiki.tcl.tk/4 &

which starts PIE if it isn't active, with the given URL. However, as PIE is a singleton app, if it is running already, it is just raised and made to render the given URL. My idea was to collect some (up to 30 or so) "Best of" bookmarks, ordered by categories, and below that in any meaningful order that I like. This bookmark collection is in the links list, having alternating name and URL. If the URL is ".", the name is taken to be a category, displayed as a label at the start of a new line. If not, the name is put on a button, fingernail-clicking which (re)invokes PIE with that URL (with prefixed wsp://). That's all, some 25 lines of code, but it proves already very useful - to select another page, just lower (X) the PIE, as myPIE is lying just below it :-)

 (code and screenshot on Monday, when I can synchronize)

Category Internet | Arts and crafts of Tcl-Tk programming