In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Laurence Haynes) wrote:
> Thanks for the code example. This was very helpful. > > This seems to work. However, there is a small problem. In Finder the > alias appears as a file alias not a dir alias . The alias functions > correctly but does not look right. Yeah, this is a problem with the Finder in general, not specific to this code: basically, the Finder can get out of sync with what the file should actually look like. There's a "Nudge" contextual menu item that you can use (free download), but from your code, you can also do: use Mac::Glue; my $finder = new Mac::Glue 'Finder'; $finder->obj(file => $alias)->update; Cheers, -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/