• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 256 char limit on alias path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >256 char limit on alias path? (From: Ryan Hofschneider <email@hidden>)

  • Prev by Date: Re: SQL database and applescript?
  • Next by Date: get image size (W x H)
  • Previous by thread: Re: 256 char limit on alias path?
  • Next by thread: Re: Problems with reply to digest script
  • Index(es):
    • Date
    • Thread