On Jun 20, 2007, at 12:26 AM, Håvard Graudo wrote:
If I try to list a folder with more than 31 characters in the folder
name I get "Bad name for file" error.
Is this a known limitation, or am I lost somewhere? OSAX is version
3.1.8.
list folder "Macintosh HD:a folder with 31 character name:"
--> this is OK
list folder "Macintosh HD:a folder with 32 characters name:"
-->"Bad name for file. Macintosh HD:a folder with 32 characters name"
For the benefit of people joining this thread late, "list folder" is
from Standard Additions. Nothing to do with Satimage.
It's a known limitation. "list folder" is deprecated anyway, use
'tell application "System Events" to get the name of every item of
folder …' instead.