Re: Converting Aliases to Symbolic Links
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44047
interpreted = N
texte = > Something like this will resolve an alias with applescript ..> > set aFile to filename> > tell application Finder> try> if class of item aFile is alias file then> set aFile to original item of afile as alias> end if> end try> end tell> > afileFirst of all, I want to say that I know nothing about AppleScript. Theonly AppleScripts that I have ever attempted to write are the ones thatI can record - and those never work when I am done anyway.That being the case, I was wondering if it were possible to modify thisAppleScript so that it could find the path of the alias, the path of thefile the alias points to, as well as the name of the alias, then writethat info to a file. Then, if this file is written properly (preferablyas a tab delimited database), my business partner (who is very adept atPerl) can write a PerlScript that can delete the original alias, andcreate a symbolic link in its place. If we can come up with this, I amsure that it will help other crossgraders. I will provide thePerlScript, and post both scripts (the PerlScript and AppleScript) backto this list to assist other crossgraders. I just need one of youAppleScript savvy coders to assist with this.Thanks,Dennis-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> Something like this will resolve an alias with applescript ..> > set aFile to filename> > tell application Finder> try> if class of item aFile is alias file then> set aFile to original item of afile as alias> end if> end try> end tell> > afileFirst of all, I want to say that I know nothing about AppleScript. Theonly AppleScripts that I have ever attempted to write are the ones thatI can record - and those never work when I am done anyway.That being the case, I was wondering if it were possible to modify thisAppleScript so that it could find the path of the alias, the path of thefile the alias points to, as well as the name of the alias, then writethat info to a file. Then, if this file is written properly (preferablyas a tab delimited database), my business partner (who is very adept atPerl) can write a PerlScript that can delete the original alias, andcreate a symbolic link in its place. If we can come up with this, I amsure that it will help other crossgraders. I will provide thePerlScript, and post both scripts (the PerlScript and AppleScript) backto this list to assist other crossgraders. I just need one of youAppleScript savvy coders to assist with this.Thanks,Dennis-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Dennis J. Bonsall, Jr.
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2 - [format thousands] (1997)
how to include a name in from or to using Sendmail? (2003)
WebDNA-Talk Digest mode broken (1997)
[OT] md5 or sha-1 on OSX (2007)
Cart date/time (2006)
RE: Automatic thumbnail images (1998)
WebCat2 Append problem (B14Macacgi) (1997)
Multiple prices (1997)
displaying New products (using [date]) (1997)
Version f1 status (1997)
[ShowNext] (1997)
WebCatalog can't find database (1997)
Random ads (1998)
The IBC root beer has arrived! (1997)
Redirect and passing more than one variable... (2002)
shoppingcart reload qty (1997)
WCS Newbie question (1997)
Date sorting (1997)
Math (1997)
WC2f3 (1997)