Re: constant afdregfp
Re: constant afdregfp
- Subject: Re: constant afdregfp
- From: Ehsan Saffari <email@hidden>
- Date: Tue, 10 Apr 2001 07:56:21 -0600
On 10/04/2001 6:15 Bill Cheeseman <email@hidden> wrote:
>
>
on 4/10/01 2:00 AM, Paul Berkowitz at email@hidden wrote:
>
>
> why it's not
>
> in the 'path to' entry in Standard Additions. Anyone know?
>
>
It is. But Script Editor truncates the list when it displays the dictionary.
>
Other script editors mangle the list in one way or another, too.
>
>
You need to use ResEdit or a similar utility to see all the Path To
>
constants. There are about a dozen that don't appear in the dictionary.
Looking at Standard Additions 1.3.7 (sounds like later versions are
similar) there are TWO sets of enumerators for "Path to", under "afdr" &
"afdm". These two sets have a fair bit of duplication (why?). The second
set is the one that contains path to front most application (aka current
application). It also appears that editors are all trained to look at the
first set of enums (SD2 shows the first set completely). Thanks to Chris
Nebel, we learned that even looking at the resource fork of the osax one
is not guaranteed to see all the supported folders ("favs", as he noted,
is nowhere to be seen) and again thanks to Chris, we know that the real
scoop can be found in Folders.h, but alas, Folders.h does not mention
"egfp"!
here's the list, extracted with the beta Terminology Extractor, chevrons
removed.
------------------------------------------------------------------------
Osax Name: Standard Additions 1.3.7
class "afdr"
Name,ID,Comment
"apple menu","apple menu items folder","The Apple Menu Items folder"
"application support","asup","The Application Support folder"
"control panels","control panels folder","The Control Panels folder"
"control strip modules","sdev","The Control Strip Modules folder"
"desktop","desktop","The Desktop Folder"
"desktop pictures folder","dtp","The Desktop Folder"
"extensions","extensions folder","The Extensions Folder"
"Folder Action scripts","fasf","The Folder Actions Scripts Folder"
"fonts","font","The Fonts Folder"
"help","hlp","The Help Folder"
"launcher items folder","laun","The Launcher Items Folder"
"modem scripts","mod","The Modem Scripts Folder"
"plugins","net","The Internet Plug-In Folder"
"preferences","preferences folder","The Preferences Folder"
"printer descriptions","ppdf","The Printer Descriptions Folder"
"printer drivers","prd","The Printer Drivers Folder"
"printmonitor","prnt","The PrintMonitor Documents Folder"
"scripts folder","scr","The scripts folder"
"scripting additions","scr","The Scripting Additions Folder"
"shared libraries","lib","The Shared Libraries Folder"
"shutdown","shutdown items folder","The Shutdown Items Folder"
"speakable items","spki","The Shutdown Items Folder"
"trash","trash","The Trash Folder"
"startup","startup items folder","The Startup Items Folder"
"startup disk","boot","The Startup Disk"
"system folder","system folder","The System Folder"
"temporary items","temporary items folder","The Temporary Items Folder"
"voices","fvoc","The PlainTalk Voices Folder"
class "afdm"
Name,ID,Comment
"At Ease applications","apps","The At Ease Applications Folder"
"At Ease documents","docs","The At Ease Documents Folder"
"apple menu items","apple menu items folder","The Apple Menu Items Folder"
"apple menu items folder","apple menu items folder","The Apple Menu Items
Folder"
"application support folder","asup","The Application Support Folder"
"control panels folder","control panels folder","The Control Panels
Folder"
"control strip modules folder","sdev","The Control Strip Modules Folder"
"desktop folder","desktop","The Desktop Folder"
"At Ease applications folder","apps","The At Ease Applications Folder"
"At Ease documents folder","docs","The At Ease Documents Folder"
"editors","oded","The OpenDoc Editors Folder"
"editors folder","oded","The OpenDoc Editors Folder"
"extensions folder","extensions folder","The Extensions Folder"
"fonts folder","font","The Fonts Folder"
"frontmost application","egfp","The Frontmost Application"
"help folder","hlp","The Help Folder"
"internet plugins","net","The Internet Plug-In Folder"
"internet plugins folder","net","The Internet Plug-In Folder"
"modem scripts folder","mod","The Modem Scripts Folder"
"preferences folder","preferences folder","The Preferences Folder"
"printer descriptions folder","ppdf","The Printer Descriptions Folder"
"printer drivers folder","prd","The Printer Drivers Folder"
"printmonitor folder","prnt","The PrintMonitor Documents Folder"
"scripts folder","scr","The Scripts Folder"
"Folder Action scripts folder","fasf","The Folder Actions Scripts Folder"
"scripting additions folder","scr","The Scripting Additions Folder"
"shared libraries folder","lib","The Shared Libraries Folder"
"stationery","odst","The OpenDoc Stationery Folder"
"stationery folder","odst","The OpenDoc Stationery Folder"
"shutdown items","shutdown items folder","The Shutdown Items Folder"
"shutdown items folder","shutdown items folder","The Shutdown Items
Folder"
"trash folder","trash","The Trash Folder"
"startup items","startup items folder","The Startup Items Folder"
"startup items folder","startup items folder","The Startup Items Folder"
"temporary items folder","temporary items folder","The Temporary Items
Folder"
"voices folder","fvoc","The Speech Voices Folder"
------------------------------------------------------------------------
cheers
ehsan