Probably an elementary question, as I’m pretty amateur at this.
I haven’t found a way to get or set the contents of a text window in Eudora or the Finder. In Eudora, I can get or replace the selected text, but not the entire contents. In the Finder, I don’t even seem to be able to do that. Can it really not be done? It’s easy in Tex-Edit, using the properties of its windows, but I can’t find such properties in Applescript or in the standard additions or in those two applications.
I know that if it’s the contents of a file, then the standard scripting additions can access it.
Come to think of it, I guess that takes care of it for the Finder: I can make the file in the Finder and then write to it with the standard additions.
But that leaves Eudora. I’m getting by using the selected text, but that makes the user have to do the selecting before running the script.
Any clues? Thanks a lot.
–Jim