Regarding your question: Do you want it to change only once, or back and forth with each click?
event.target.fillColor = color.green;
If you want it to change back and forth, use this code:
event.target.fillColor = (color.equal(color.blue, event.target.fillColor)) ? color.green : color.blue;
Thank you try67
sorry about the wrong forum but I am totally new to this kind of thing.......
the script you have provided, which software can that be used in? I am using publisher for my project
and then converting it to PDF.
again thank you for help and I am sorry for my simple questions.
many thanks as that has worked well for me once I downloaded Acrobat..
Thank you for your help, I hope you dont mind but I have one more question.
That is much more complicated. What do you mean by "certain words"? What do you mean by "select"? Where, and how, should they "appear"?
so has your aware I am working on an ebook...
I wanted the user to be able to select the page heading example ( Hitlers war bunker) and then have that appear on an Itinerary/visit list page at the end of the ebook?
You can't do it with just any piece of text on the page. It's possible to add a button next to specific items that will copy them over when that button is clicked, though.
oh ok well thats sounds like a good plan... so I can simply add a button next to the text and then they click that button and the text will be added to another page... I like that..
so how do I do that please?
As the Mouse Up script of the button, enter something like this:
this.getField("Summary").value += "\r" + "Some text";
Set the "Summary" field as multiline to add each new piece of text in a new line, of course.