Application responses
Application responses
- Subject: Application responses
- From: Camilla <email@hidden>
- Date: Thu, 28 Feb 2002 17:29:31 +0000
Hi. I'm trying to get some text from AppleWorks 6 into TexEdit-Plus 4 (in
OS X). The droplet that does this opens an AW document dropped on it and
uses standard additions to copy the contents to the clipboard - then it
closes the document, switches to TexEdit, and uses TexEdit's paste command.
At least, that's what's supposed to happen. But it all goes wrong if
AppleWorks is not running to start with. When the commands directed at
AppleWorks are in a handler outside the main body of the script, the
applet switches to TexEdit before the text has been put on the clipboard
and nothing happens. And when the AppleWorks bit is spliced into the main
script, the applet doesn't even get as far as switching to TexEdit, but
starts sending it commands that it's not ready for. What a mess!
I have tried putting 'considering application responses' blocks all over
the place, but that doesn't seem to have any effect. And isn't that what
happens by default, anyway?
Can anyone suggest how I might get around this problem?
TIA
Camilla
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.