On Jan 30, 2:59 am, Eric Shulman <[email protected]> wrote: > Unfortunately, QuickEdit doesn't *currently * have an 'insert text > from a list' function. However, it would be very easy for me to write > one. Give me a day or two... I've got some stuff on my plate right > now...
I think this would be very useful. While you have your mind into QuickEdit I have notice that a couple of buttons throw up the error (FF3.05 / Vista) "You can't open this location from this program. Please try a different location" The File and Image buttons do this however if you ignore it you can proceed. Morris On Jan 30, 2:59 am, Eric Shulman <[email protected]> wrote: > > Not working for me. The ListBox instructions aren't very user-friendly > > for me. Fields? fieldn...@tiddlername? Values? etc...Got an error in > > select macro when I tried it. > > If you look at the *examples* section of the plugin in addition to the > syntax description, the usage should be more obvious. Here's some > more explanation: > > <<select size rows:1 xsmall=30 small=32 medium=34 large=36 xlarge=38>> > > * Will set a field called "size" on the current tiddler > * Shows just one line (i.e. a droplist instead of a listbox) > * Has five items: xsmall, small, medium, large, xlarge > * Selecting an item stores the corresponding value (30, 32, 34, 36, > 38) in the tiddler field > > <<select co...@mycolorsetting allowBlank allowOther +ListboxSample > allowEdit>> > > * Will set a field called "color" in a tiddler named "MyColorSetting" > * includes a blank entry (i.e., the "no selection" choice) > * includes an "other..." entry to prompt for a hand-entered value > * [[ListboxSample]] defines the list items, one per line, like this: > red=#f00 > green=#0f0 > blue=#00f > white=#fff > black=#000 > * includes "edit list.." to quickly access [[ListboxSample]] to add/ > modify the entries stored there. > > <<select =chkUserName allowOther rows:1 +UserList>> > > * will set a TW option cookie: config.options.chkUserName > * [[UserList]] defines names, one per line: > JohnDoe > MaryRoe > FredSmith > BillJones > > > The easyFormat plugin was fairly simple to adapt to use it to insert > > custom text by clicking a button and choosing from a list. Seems like > > Quickedit should be able to do the same, right? Why would I need a > > Listbox plugin? > > The TW core template syntax currently only allows you to embed simple > input fields and text areas within the tiddler editor display (by > using the <div macro="edit fieldname"> syntax). These inputs are > stored in the tiddler based on the specified *fieldname*. > ListboxPlugin simply extends this TW standard usage to allow templates > to embed a listbox/droplist control that let you select from a set of > pre-defined values rather than just entering 'free text'... and, just > as with text input, the resulting listbox selection is stored in a > specific tiddler *field* > > Inserting a snippet of pre-defined text into the *body* of a tiddler > is an entirely different thing from selecting/setting a value that can > be retrieved from a specific tiddler *field* (or TW option cookie) and > is not the intended purpose of ListboxPlugin. > > Unfortunately, QuickEdit doesn't *currently * have an 'insert text > from a list' function. However, it would be very easy for me to write > one. Give me a day or two... I've got some stuff on my plate right > now... > > -e > Eric Shulman > TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

