I am in desperate need of a script for law school. hopefully I am not asking a lot. The applescript needs to search a 'pages' document and find all instances of a word or phrase (ideally prompted at start of script), and return all of the page numbers that word was found on. Ideally the page numbers would be added to the end of the file like an index (i.e., pizza....1, 4, 6, 8). if thats not easy enough, i'd be happy if they were made into a new text file on my desktop and i could add them to the document myself. Any help is appreciated!