Snippets

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
NearZero
Posts: 26
Joined: Mon Oct 08, 2007 1:52 pm

Snippets

Post by NearZero »

Hi,

I have been using WeBuilder for a few months and it's great, well done.

There have been previous posts regarding snippets, namely reusable parameters (tokens). eg: <option>New York</option>

Where "New York" could @1 or what have you. I think this would be very useful.

I recently had several rather large select lists, thats a lot of typing. The client also provided the lists.

Ok, no more ranting, here is something that might be useful, simple and can be implemented without additional code to WB.

I wrote a HTML page that provides a list of smart snippets. Driven by some javascript. Usable for select lists, tables or whatever. Once done you click OK. Incidentally I cut and pasted the clients list into a textarea and did no typing at all :).

Now returning to your orginal document, you can see the results of your efforts in the WB clipboard, so drag and drop or insert.

If you find this tool worthwhile I will clean it up, and add some doc.
Users of javascript can easily add more snippets. All you need is Internet Explorer > 6. It also works perfectly in WB preview so you don't need to leave WB at all.

The trick is simply to use IE's window.clipBoardData.setData("Text","SOME STRING") function.

Cheers
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Thank you for this feedback.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply