Hello,
I have a large library of original files and documents that I use for lectures and presentations. I make separate folders for each lecture and fill them with aliases of the originals I need for that specific lecture. I often change the name of the alias for sorting purposes, and there may be the occasional alias of an alias.
Sometimes, however, I need to replace an alias with a copy of its original, so that I can customize that file for the particular lecture it’s being used for.
More generally, I would like to be able to do more with aliases than is built in to the Finder. I have found one or two apps that approach what I would like, but either they involve dialog boxes and navigation to the location of the original file, or they only process folders, not individual files. I would like a droplet or script that would immediately replace a selected alias (or aliases) with a copy of its original without any “mucky-muck.”
In fact, if it’s not too much to ask, I would like to be able to do the following actions (via a separate script for each):
- Replace selected alias(es) with duplicate(s) of the original item.
- Replace selected alias(es) with duplicate(s) of the original item, with option to keep alias’ name or use original’s name if file names differ.
- Replace selected alias(es) with original file (i.e., move original item(s) to location of selected alias(es)).
- Replace selected alias(es) with original file (i.e., move original item(s) to location of selected alias(es)) with option to keep alias’ name or use original’s name if file names differ.
- Find all aliases of a selected original item, including aliases with changed names.
- Delete all aliases of a selected original item, including aliases with changed names.
I don’t know if these last two are possible for AS or anything else. (Did I mention that I’m a noobie to scripting?) I imagine that items 1 and 2, or 3 and 4 could be combined so that the naming option would appear only when any file names actually do differ. And I suppose some sort of warning confirmation might be in order: “Really replace all aliases with copies of original items?” but I could do without it.
Hope this all makes sense. Thanks for any help.
gasparschott
Model: MacBook Pro core duo
Browser: Firefox 3.5
Operating System: Mac OS X (10.4)