Re: Application responses
Re: Application responses
- Subject: Re: Application responses
- From: Mark Butcher <email@hidden>
- Date: Thu, 28 Feb 2002 11:13:55 -0800
Camilla
Have you tried delaying the script for a few seconds to allow AW6 to
launch? You could first test to see if it is currently active first.
MarkB
you wrote:
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!
_______________________________________________
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.