Re: "Accepts high-level events" bust in Finder?
Re: "Accepts high-level events" bust in Finder?
- Subject: Re: "Accepts high-level events" bust in Finder?
- From: Charles Arthur <email@hidden>
- Date: Thu, 27 Sep 2001 18:09:56 +0100
On Thu, 27 Sep 2001 08:53:55 -0700, John W Baxter <email@hidden> wrote:
>
With respect to "Control Strip Extension" (which was easy to test on my
>
other machine), it DOES accept high level events, as shown by the result of
>
>
tell application "Control Strip Extension" to quit
>
>
That's how Finder gets rid of it at Restart or Shutdown (or Logout???)
>
time. I would expect the others on your list to do the same.
Except that I don't want to quit them. Sorry, my message was garbled.
Caffeine shortage.
The disk to be dismounted is a Firewire external one. It's not the startup
disk. It contains some documents and some applications. Sometimes docs or
apps from that disks are open when I want to dismount it. Cmd-Y thus often
brings up "the document bla bla is in use by the app bla bla. Please close
it and try again."
So I need to find which apps come from the disk and quit them. Fairly trivial.
But docs from the disk may have been opened by apps on the startup disk. If
I ask every application to name its documents, then it will error.
I could just try-end try that process, but it still seems
inelegant. I'd rather just find apps which have open documents, and then
interrogate the documents for their container. So I thought that HLEs would
be a better way to find "document-openable" apps than my workaround, which
is to list every process, activate each in turn, and then see if that
activated process is visible. (Try it. It does sort the visible-able sheep
from the invisible FBA goats.)
OK, Control Strip can quit. But can it, for example, open docs? How about
Folder Actions - are we saying they can print? Or does an app qualify for
"accepting HLEs" if it accepts *any single* HLE from that list given in the
dictionary?
And if FBAs such as those are defined as "accepting HLEs", then
what sort of apps are there which *don't* accept HLEs, since everything
eventually obeys "quit" - which is a HLE by this count?
More confused than when I started
Charles
PS of course I'll have to make an exception anyway for Sherlock, which
doesn't have a document list but often has the FBC index open if it's
running. So that I will *have* to quit. Gods.
----------------------------
http://www.ukclimbing.com : 1000+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. Plus Britain's busiest climbing discussion boards. And there's
even a cool shop attached.