Re: Application responses
Re: Application responses
- Subject: Re: Application responses
- From: Camilla <email@hidden>
- Date: Fri, 1 Mar 2002 12:14:06 +0000
This from Emmanuel
>
Why wouldn't you start AppleWorks yourself?
Well, the droplet that opens the BOBO file also processes files from
other applications, so it opens the applications as required according to
what's been dropped onto it.
I wanted to launch the application by opening the dropped file instead of
launching the application *then* opening the file, because it is not
possible to know what the user's default settings are. It could be that
AppleWorks is set to open a blank document on startup, or to display the
starting points palette. I hoped to avoid anything like that happening.
If I could script AppleWorks (et al) to launch without doing any extra
stuff, that would be fine.
As for the script getting ahead of itself when using Standard Additions
clipboard commands to move text between applications, I did find that a
couple of carefully placed delays helped to keep things in order - but I
am concerned that the delays might need to be longer on slower machines,
or when other applications are also running. And there's no way of
knowing *how much* longer.
So I thought about using variables for temporary text storage as an
alternative to the clipboard. I wondered in an earlier message if
different approaches would be needed in OS X & OS pre-X for dealing with
large amounts of text in this way. And yes, as I anticipated, the OS X
droplet sails through, while the OS 9 version won't budge until it has
been given a big enough RAM allocation to hold all the text on top of its
own needs. I don't really want to have to go giving droplets multi-
megabyte RAM allocations, just in case.
So now I'm not sure which way to go. Sometimes life is just one big
imponderable boolean.
Thanks to those who chipped in.
Camilla
--
"Pride and resentment are not indigenous to the human heart; and perhaps
it is due to the gardener's innate love of the exotic that we take such
pains to make them thrive."
(Hope Mirrlees)
_______________________________________________
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.