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

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:

Download the one you like best and if necessary use the version updater (ScriptWalker).

_top^

save an array on exit

Save an array on exit, as a userproperty
save_array_on_exit.zip [6 KB, TB 7.1b]

_top^

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')

_top^

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]

_top^

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]

_top^

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]

_top^

Find Sub-Directories

Check if a list of subdirs do exist within a given folder
find_subdirectories_v71b.zip [11 KB, TB 7.1b]

_top^

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]

_top^

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]

_top^

set/get Registry-Values

set or get different values stored in the Registry [HKCU]
set_get_registry_values.zip [20 KB, TB 7.1b]

_top^

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]

_top^

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)

_top^

Select the word following my selected word

Just a test trying to interact with strings and selectedText
selectWordAfterSelectedtext.zip [8 KB, TB 7.1b]

_top^

Quiz-Results

Save quiz-results in a html-file, more...

_top^

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]

_top^

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]

_top^

Widget Messages

Functions, Handlers and Properties [zip, 6KB, TB 7.1b]

_top^

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

_top^

'njoy
b.

Creativ Common Lizenz Valid XHTML 1.0 Valid CSS2