Here is the deal. I have built a project containing about 50 pages. Then i decided to create a keyword index using the Application.MakeKeywordIndex built-in functionality. But to my surprise i had forgotten to manually enter info in the keyword field of the pages.
So ultimately i am trying to automate the process of initialising all keyword fields
at runtime. I want the keywords for each page to be the text displayed on the buttons of that page.
#############Solution 1###########to no avail
One roadpath that so far has been to no avail, due to not being able to reference other pages from within a page, is discussed in this thread:
Thread title: "How to reference buttons or other objects, in other pages?"
http://www.indigorose.com/forums/showthread.php?t=26692
The pseudocode of this roadpath is the following:
loop_though_all_pages_of_the_project();
for each page
do
-find all button objects and retrieve their text value
-store the result to a variable
-initialise the keyword field of the page with our variable above
#############Solution 2###########????
Has anybody something to propose?

Reply With Quote
