AppleScript "file" specifier does not work any more

Originator:tempelmann
Number:rdar://25876138 Date Originated:22-Apr-2016
Status:open Resolved:
Product:OS X Product Version:10.10.5
Classification:Other bug Reproducible:always
 
See this discussion I started: http://macscripter.net/viewtopic.php?pid=185680

It's about the fact that, despite the AppleScript documentation for files (https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptLangGuide/conceptual/ASLR_fundamentals.html#//apple_ref/doc/uid/TP40000983-CH218-SW28), specifying a file by HFS path does not work any more in 10.10 (and 10.11 probably as well).

E.g, this leads to an error:

file "Macintosh HD:Library"

According to the docs, it should work, however.

The work-around is to use "as «class furl»", it appears.

That's a very obscure and therefore bad solution.

1. Please fix the "file" specifier to make it work again,
2. Update the docs,
3. Add a proper name for the "furl" class type so that it's not showing as «class furl» but rather as something like "file URL", and hopefully also can be used with that name.

Version:
Tested on 10.10.5 and 10.11.4

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!