Hi,
Having a list of aliases, I need to detect which one has a broken target path and I need also to get this path. With aliasReference I can't retrieve a broken target path, nor with "original item" of Applescript.
Any suggestion?
Thanks
Paul
Retrieve the original path from a broken alias
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Re: Retrieve the original path from a broken alias
Hi Paul,
Here you will find some useful suggestions and here you'll find more suggestions including source code to create your own command line tool. I think this tool is exactly what you need. You might adjust the source code to make an external.
Kind regards,
Mark
Here you will find some useful suggestions and here you'll find more suggestions including source code to create your own command line tool. I think this tool is exactly what you need. You might adjust the source code to make an external.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 121
- Joined: Thu Mar 27, 2008 10:19 am
Re: Retrieve the original path from a broken alias
Thanks, Mark.
Unfortunately, the first link leads to my own request in the Apple discussion group, and the second one suggest the use of the shell script "aliasPath": this tool does not accept file paths with strange characters (parentheses, quotes, etc.) and does not allow the previous shell formating of these characters with escape codes, so it returns many errors.