Re: satimage OSAX list folder problem
Re: satimage OSAX list folder problem
- Subject: Re: satimage OSAX list folder problem
- From: Bill Briggs <email@hidden>
- Date: Wed, 20 Jun 2007 16:45:30 -0300
At 9:26 AM +0200 6/20/07, 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"
Do you really want to do this? I mean, list all of the folders (and files) with more than 31 characters in the name?
That's not something you really want to get AppleScript to do. On a large file hierarchy it would run for a long time.
If you want to do this, send me a note off list. I've got an AppleScript that calls the shell to do just this very thing. It will list the full path to all of the offending items in a file on your desktop. The shell gets the job done quite quickly.
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden