• 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: Andy Wylie <email@hidden>
  • Date: Mon, 01 Apr 2002 22:21:18 +1200

on 1/4/02 9:01 PM, Ryan Hofschneider at email@hidden wrote:

> Is this a well-known problem?
>
Dunno, only 256 ;) classic Mac OS users have been limited to 32.

>Any suggestions for a work around? And
> maybe a related question: in my example above, is it possible to coerce
> 'dir' to a typeFileURL and return that instead?

here's a classic way...
------------------
set myStr to someAlias
set AppleScript's text item delimiters to {":"}
set x to (myStr's text items)
set AppleScript's text item delimiters to {"/"}
set x to x as string
set AppleScript's text item delimiters to ""
set typeFileURL to "file:///" & x

_____________________________ Andy
_______________________________________________
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.

  • Follow-Ups:
    • Re: 256 char limit on alias path?
      • From: Ryan Hofschneider <email@hidden>
    • Re: 256 char limit on alias path?
      • From: Camilla <email@hidden>
References: 
 >256 char limit on alias path? (From: Ryan Hofschneider <email@hidden>)

  • Prev by Date: 256 char limit on alias path?
  • Next by Date: Re: Problems with reply to digest script
  • Previous by thread: 256 char limit on alias path?
  • Next by thread: Re: 256 char limit on alias path?
  • Index(es):
    • Date
    • Thread