Re: 'System Events.app' won't get processes in Classic under 10.2
Re: 'System Events.app' won't get processes in Classic under 10.2
- Subject: Re: 'System Events.app' won't get processes in Classic under 10.2
- From: Harald E Brandt <email@hidden>
- Date: Sat, 5 Oct 2002 00:17:41 +0200
+--> John Delacour wrote 02-10-04:
It's a very annoying bug.
+-
I would say: disastrous!
+--
If you want to get the raw events, then you can find the good
combination and get the events from Capture AE, or use the
EightyLister osax. Capture AE works fine in Classic with a Classic
Script Editor, but even better, use Smile and do copy/translate.
+-
Smile cannot get it, since System Events never shows up in the list
of apps it can link to!
But I no longer believe raw events would help me in this case. You
see, I tried to do a 'run script with parameter' thing from Classic,
where the compiled script to be run was a native script (which means
it already has the right "raw" codes). It didn't work! So I gather
that means that the source of the problem is the Classic environment
itself. Also, System Events might have been changed for 10.2 so
Classic cannot access it any more - it is obviously inaccessible to
any classic script! It's dictionary can't be read from Classic, and
it won't execute anything for Classic. Really bad!
The ONLY thing I have succeded with is using a bridging app, i.e that
the Classic app starts a small native app to talk to System Events.
Ugly, but it works. I would really like a better method though.
I have discovered that if you move that native app between an X
machine and a 9-machine using AppleTalk (where the 9-machine have
mounted the X-machine), the app gets destroyed so it can not be
launched any more in X! How is that for a bug? However, if I transfer
it between the machines, where the X-machine has mounted the
9-machine, it seems to work. But it gives me an unpleasant feeling of
shakiness...
+--
By Classic, I mean, of course, OS 9 running within OS 10.2.1
+-
Of course, we all do, although the version of OS 9 can vary somewhat.
The default for me is 9.2.2. OS 10.2 upgraded Classic AS to 1.8.3, so
I can therefore assume that customers running 10.2 also has 1.8.3 in
Classic. Otherwise they have 1.6 in classic under 10.1.4 or 10.1.5
--heb
__________________________BragIt___________________________
Harald E Brandt email@hidden
http://bragit.com
_______________________________________________
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.