A software tool and a method are intended for developing a service
associated with a product with at least one position-coded functional
area. A digital pen which detects a position on the product is caused,
when using the service, to initiate in a processing unit an event which
uses the position recorded by the pen. The software tool comprises a
program module with instructions corresponding to the steps of creating a
program object (204, 205) which is intended for the processing unit and
which, on receipt of a data set from the pen, automatically generates a
data structure (206) by extracting data items from the data set and by
matching the extracted data items against a filter object (202) which
contains information about the positions within each functional area on
the product, whereby the data structure (206) enables sorting of at least
some of the data items by functional area and implementing of the event
associated therewith.