So a good alternative is to manually create a trigger for Quicksilver and Spotlight to find. In a location familiar to both indexers, make a text file (a script) containing something like:
open smb://machine/folderMake the file executable (e.g., from the Terminal: chmod +x your_script_file.command).
This works well. The command file can also be double-clicked in the Finder, which makes it an easy solution to share with others.
However, when it runs, this script has the unfortunate side effect of opening Terminal, opening a new Terminal window, and then leaving the window hanging around after it's finished. Have googled for solutions to this, and not found any.
So an even better way to fashion a trigger is to use Script Editor to make an Applescript that says something like this:
do shell script "open smb://machine/folder"Give the script a descriptive name like machine_folder_connect.app, so it's easy to find through the first few letters of the machine name (Spotlight or Quicksilver), or the initial letter of the machine name + the initial letter of the folder or share of interest (Quicksilver). When saving the script, turn OFF the "Run Only" option. Otherwise it can't be edited later on.

No comments:
Post a Comment