• 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
long path error in Finder -- known bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

long path error in Finder -- known bug?


  • Subject: long path error in Finder -- known bug?
  • From: Olof <email@hidden>
  • Date: Wed, 13 Mar 2002 11:39:02 -0800

This script produces a garbage result. A known bug, perhaps?

The result is good up to 14 segments. At 15, when the path goes over 256
characters, the result becomes garbage.

- Olof
Preps Engineering Team
ScenicSoft

____


to makeFolderAt(newName, inFolder)
tell application "Finder"
set nf to make new folder at inFolder with properties {name:newName}
return (nf as alias)
end tell
end makeFolderAt

tell application "Finder"
set diskAlias to get startup disk as alias
end tell

set nthFolder to makeFolderAt("long path test15", diskAlias)
repeat with a from 1 to 15
set nthFolder to makeFolderAt("long path test" & a as text, nthFolder)
end repeat

--> alias "5x 5D <p [; 58 FK"
____
_______________________________________________
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: long path error in Finder -- known bug?
      • From: email@hidden (Michael Sullivan)
    • Re: long path error in Finder -- known bug?
      • From: Jim Schram <email@hidden>
  • Prev by Date: Re: Converting original items...
  • Next by Date: Re: long path error in Finder -- known bug?
  • Previous by thread: Re: FileMaker/AppleScript Question
  • Next by thread: Re: long path error in Finder -- known bug?
  • Index(es):
    • Date
    • Thread