Interesting. I'll try that to get started with Automator.

I've been interested for a while in adding to the finder the ability to create symlinks (not aliases) by drag-and-drop à la KDE, using Ctrl-Shift-drop.

The solutions I've found typically add an entry in a context menu, which is not an option when you want to create hundreds of symlink an hour (you might wonder why, I'll eventually talk about that on my blog). I really need to take an item, drag it to the location of the link to create, not type anything. Today I use KDE for this but I may want to do that with a Mac soon.

Alternatively, I'm planning to create a script that converts all alias in a directory (recursively) into posix symlinks. I'll start by modifying the code below (found in http://forums.macosxhints.com/ar...php/t- 3017.html ) but you might have a better idea.

on open (item_list)
tell application "Finder"
repeat with theItem in item_list
set targetPath to (get POSIX path of theItem)
display dialog "Enter link name:" default answer "" buttons {"Cancel", "Create Link"} default button 2
copy the result as list to {linkName, button_pressed}
set chosen to choose folder with prompt "Pick location of symlink"
set chosenFolder to (get POSIX path of chosen)
do shell script "ln -s \" & targetPath & " " & chosenFolder & "/" & linkName & ""
end repeat
end tell
end open


PS : I thought that your blog was self-hosted. This comment form seems not on your blog but on haloscan.com (and has ads).


Gravatar I can't help you with the symlink thing, I've never tried it. But you could try to bind a script to a quicksilver trigger, which might make it relatively painless.

About the PS: the blog is self hosted, but I did not want to roll out my own comment system, so I'm using Haloscan, which I find works fairly well.




Name:

Email:

URL:

Comment:  ? 

 

Commenting by HaloScan