Re: 256 char limit on alias path?
Re: 256 char limit on alias path?
- Subject: Re: 256 char limit on alias path?
- From: John W Baxter <email@hidden>
- Date: Mon, 1 Apr 2002 11:18:02 -0800
At 1:01 -0800 4/1/2002, Ryan Hofschneider wrote:
>
Under Mac OS X 10.1.2 I am running an AppleScript like this:
>
>
tell application "Finder"
>
set dir to (folder of the front window)
>
return dir as alias
>
end tell
>
>
Selecting a folder in the Finder with a "path" with a length of 256
>
characters (not including last delimiting colon) works:
There are many ways to create an alias record in the Mac toolbox. At least
two of them take a Pascal string containing the full path as input...which
would have a 255 character (really "byte") limit. It's surprising that Mac
OS X Finder would use one of those methods when handed a nice Finder object.
But you say 256 characters, and I can't think of anything which has that limit.
It's a mystery for Chris (or Chris) to explain, I guess.
--john
--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
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.