Toolbook stuff
Toolbook-List clubs.voila.fr (2003 – 2005) +
Toolbook-List fr.groups.yahoo.com (3.1.2005 – 28.5.2011)
Search within the old or the new TB-list or in both » Liste-TBK Archive.
Topics on this page
- library.tbk
- Save array as userproperty on exit
- Get RGB under cursor
- get colour under mousePosition
- Find All Objects on a page
- Find all objects linked to a resource
- Find Sub-Directories
- Self-made Tooltips
- A missing function: str_replace
- set/get Registry-Values
- Increment last char
- Add, delete or move blocs
- Select the word following my selected word
- Quiz-Results
- Dynamic fields
- Runtime-Selector - Widget
- Widget Messages
- Embedd Neuron html-OBJECT with JavaScript
library.tbk
This sample accessory used to be included with ToolBook
from versions 3 to 5, but since version 6 the file stopped shipping with ToolBook.
So, if you R late, get your library.tbk here:
- library.tbk — TB 3.0 [zip, 100 KB]
- library.tbk — TB 4.0 [zip, 340 KB]
- library.tbk — TB 6.0 [zip, 340 KB]
- library.tbk — TB 7.1 [zip, 350 KB]
- library.wbk — TB 8.1 as a ToolBook Catalog category file [zip, 130 KB]
- library.wbk — TB 8.5 as a ToolBook Catalog category file [zip, 130 KB]
or download the WBKs directly at the author's site - Denny Dedmore toolbookhelp.com/downloads/catalog/librarytbk
Once you extract the ZIP file, move the WBK file into your Catalog folder, open your TB, press F2, and import the library.wbk.
Download the one you like best and if necessary use the version updater (ScriptWalker).
save an array on exit
Save an array on exit, as a userproperty
save_array_on_exit.zip [6 KB, TB 7.1b]
Get RGB under cursor
Return RGB-value under the cursor - if object contains sharedScript «get-rgb»
get_rgb.zip [51 KB, TB 7.1b]
Src: D. Esikov (TB-list US), D. Jalu (TB-list FR search with 'Couleur sous le curseur souris')
get colour under mousePosition
get the pixel-colour: as RGB (255,0,0) and/or as HEX (#FF0000)
getPixelColorUnderMouse7.1.zip [10 KB, TB 7.1b]
Find All Objects on a page
Find all objects of a page. If object = Group, find children of group, too (recursive) find-all-objects-TB7.1b.zip [13 KB, TB 7.1b]
Find all objects linked to a resource
Copy the objects of «resources_locator71b.tbk» into your book ... and find all objects linked to a resource (bitmap, icon, ...).
With a demo-file «resources_locator71b_demo.tbk» included in the zip:
resources_locator71b.zip [24KB, TB 7.1b]
Find Sub-Directories
Check if a list of subdirs do exist within a given folder
find_subdirectories_v71b.zip [11 KB, TB 7.1b]
Self-made Tooltips
Use self-made tooltips (instead of ASYM_tooltip)
if you want to format the tooltip-field
tooltip71.zip [7 KB, TB 7.1b]
A missing function: str_replace
str_replace_71.zip [7KB, TB 7.1b], replace all 'xx' with 'yy' in an given string/text, eg.
txt = str_replace("é", "@@", vText)
Replace a search-string by a variable or a constant (like CRLF):
s. page 2 of str_replace_CRLF_71.zip [8 KB, TB 7.1b]
(page 1 identical with 'str_replace_71.zip').
[another approach:
function 'searchReplace' as presented in the library.tbk, see links above]
set/get Registry-Values
set or get different values stored in the Registry [HKCU]
set_get_registry_values.zip [20 KB, TB 7.1b]
Increment last char
Increment last char of a number in a field.
3 » 4, 2,2 » 2,3, 2.99 » 3 ...
increment_lastchar.zip [8 KB, TB 7.1b]
Add, delete or move blocs
Add or delete a group or move a given group up and down maintaining a numered order...
add_del_move_groups.zip [18 KB, TB 7.1b]
(same but with print-button:
add_del_move_groups1.zip)
Select the word following my selected word
Just a test trying to interact with strings and selectedText
selectWordAfterSelectedtext.zip [8 KB, TB 7.1b]
Quiz-Results
Save quiz-results in a html-file, more...
Dynamic fields
Increase width or height of a field dynamically (on runtime) if entered chars do not fit the given width resp. height...
dynamic_fields [zip, 9 KB, TB 7.1b]
Runtime-Selector - Widget
A tool made by Denny Dedmore from c2l (more at toolbookhelp.com )
"...once selected you can then drag or resize the object, all while in Reader Mode!!! You can even select objects on the background without having to go to the background layer..."
runtime-selector [zip, 40 KB, TB 7.1b]
Widget Messages
Functions, Handlers and Properties [zip, 6KB, TB 7.1b]
Embedd Neuron html-OBJECT with JavaScript
With InternetExplorer v.6+ the user gets ActiveX-warnings (including dotted borders around the object) when embedding an interactive Flash- or Quicktime-object. Same with Neuron.
'neuron.html' is a non-tested hack showing the principles of how to embedd the object-element
for Neuron in the html-source with JavaScript (cf. deconcept or
swfObject v.2+):
neuron.html
'njoy
b.