Re: Sort of [OT]: Raw Codes Database
Re: Sort of [OT]: Raw Codes Database
- Subject: Re: Sort of [OT]: Raw Codes Database
- From: Bryan <email@hidden>
- Date: Sun, 30 Dec 2001 14:37:37 -0500
- Organization: Apex Radiology
If by raw codes you mean the <<event typecode>> event codes; then yes,
there is a database for those. In a sense.
There is an old application and database called OSAXen DB; for
which the title is misleading.
The DB will allow you to catalog every command (including the event
codes) of every application on your machine. If you choose to, you can
use the DB's "add new osaxen" command on the entire disk, or a single
application.
I have about 5000 events in the DB for my machine.
The list is searchable by any of the parameters that are compiled,
including event codes.
The drawbacks are:
1. requires FileMaker Pro (a runtime may be available if somebody has
FMP Developer)
2. acquiring the info is slow and laborious. It can take hours to search your
drive and catalog all the events and commands. I recommend running it
on one folder at a time, as needed.
3. classes and coercions are not compiled. I have toyed with this; but
the paradigm is sufficiently different to require a major rewrite, for which
I simply have not had the time.
Advantages:
1. it's free
2. it's written in applescript and FileMaker
3. it's pretty well documented (thanks to Xandra Liegh's tireless efforts)
Bryan Kaufman
Paul Berkowitz wrote:
>
On 12/30/01 7:32 AM, "Greg Back" <email@hidden> wrote:
>
>
> In a message written on 12/29/01 6:28 PM, Paul Berkowitz at
>
> email@hidden wrote:
>
>
>
>> I bet you there's a raw code that will do it.
>
>
>
> Does anyone know of a database of raw codes? I realize that every
>
> application, scripting addition, etc. has their own codes, in addition to
>
> the Finder's (I think), so there wouldn't be a list of every single one. But
>
> is there one that covers just the Finder, or some of the major apps
>
> (Filemaker, Quark, etc.)?
>
>
>
> Just a random question that came to my mind.
>
>
>
For any application raw code, you can find it easily with Smile's Copy
>
Translate function, and slightly more awkwardly for a scripting addition by
>
removing the addition and rebooting after compilation. With Script Debugger,
>
it's even easier - just flip a popup in the dictionary of either an app -
>
including the Finder - or an osax. (And if you come upon one you don't know,
>
you can use SD's "Manifest" feature, which immediately finds out for you
>
using www.osaxen.com's database.) But I was asking about the possibility of
>
a raw code, not just for a native AppleScript command - which you can never
>
get except by "just knowing" - but which doesn't even exist in this case as
>
AppleScript. There are some raw codes for Apple Events that "real
>
programmers", some of whom frequent this list, know about. I was hoping that
>
this might be the case here, but it doesn't look as if it is.
>
>
--
>
Paul Berkowitz
>
_______________________________________________
>
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.