Placeholders In Clippings
You can now define placeholders inside a clipping that you will be prompted to fill in when you paste the clipping. Placeholders are essentially variables that appear in the clipping text in the format $[variable_name]. Valid variable names can contain letters (lowercase or uppercase), digits (0-9) and underscores. Example clipping with placeholders:
Hello, $[YourName], I'm glad you're coming to the club meeting at $[meeting_time]. See you $[2nite]!When you paste a clipping with placeholders, you will be prompted to fill in the value for each placeholder in the clipping. If you want the placeholders in the clipping pasted exactly as they are, with no prompting and substitution, the clipping name should be prefixed with [NOSUBST].
There are six predefined placeholders you can use in your clippings; these predefined placeholders will be automatically substituted with their expected values when you paste the clipping.
- $[NAME] - the name of the clipping
- $[FOLDER] - the name of the folder the clipping belongs to
- $[DATE] - the current date, expressed in the format defined in your system's locale settings
- $[TIME] - the current time, expressed in the format defined in your system's locale settings
- $[HOSTAPP] - the name of the host application you're pasting the clipping in
- $[UA] - the user agent string of the host application
Toolbar Button for Firefox
To add this button to a toolbar in the Firefox browser window, right-click on a toolbar and choose Customize, then from the toolbar button pallete drag the Clippings button to the desired location.
Common Clippings Data for Firefox and Thunderbird
This much-requested feature allows your Clippings data to be created, accessed and modified from both Firefox and Thunderbird. That means that a clipping created in Firefox will be visible in Thunderbird; a clipping created in Firefox that is modified in Thunderbird will be updated in Firefox, too; etc.
This feature is still a work in progress with lots of bugs, and is therefore turned off by default. If you want to test this feature, be sure to familiarize yourself with the list of known issues in the post announcing the release of this milestone and the latest bug list from the Clippings website.
To enable common clippings for both host applications (Firefox and Thunderbird):
- Download and install this release of Clippings in both host apps.
- Export your clippings from both host apps. You can skip this step if you've never used Clippings before, or want to start from scratch.
- Create a new boolean pref in about:config named
clippings.datasource.common
and set it totrue
. Do this for both host apps. - Exit both host apps and restart them.
- In one of the two host apps, open Clippings Manager, then import the clippings you had exported in step 2 (Options -> Import).
- Switch to the other host app, and from there either right-click on a text box or open Clippings Manager. You should now see the imported clippings from the other host app.
Sometimes the tree list of clippings and folders in Clippings Manager may not be updated with the latest changes from the other host app. To refresh the display, choose Options -> Reload. (This command appears on the Options menu only if
clippings.datasource.common
is enabled.)
1 comment:
it would be nice to have a search function in Clippings
Post a Comment