mkhl / services.hgs
- Source
- Commits
- Network (0)
- Issues (1)
- Downloads (2)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Apr 18 16:04:38 -0700 2009 | |
| |
.gitmodules | Thu Sep 03 14:56:24 -0700 2009 | |
| |
English.lproj/ | Sat Apr 18 16:04:38 -0700 2009 | |
| |
Info.plist | Thu Sep 03 15:02:27 -0700 2009 | |
| |
LICENSE | Mon Apr 20 16:07:58 -0700 2009 | |
| |
MKMacros - 5e1c9f1 | Thu Sep 03 14:56:24 -0700 2009 | |
| |
README.markdown | Thu Sep 03 15:51:59 -0700 2009 | |
| |
Services.xcodeproj/ | Thu Sep 03 14:56:24 -0700 2009 | |
| |
ServicesAction.m | Thu Sep 03 15:01:46 -0700 2009 | |
| |
ServicesSource.m | Wed Sep 16 14:45:07 -0700 2009 | |
| |
Services_Prefix.pch | Sat Apr 18 16:04:38 -0700 2009 |
Services Plugin for Google QSB
A Google Quick Search Box plugin to enable access to the Services menu.
Download the plugin: http://github.com/mkhl/services.hgs/downloads
Usage
- Hit you QSB keyboard shortcut.
- Find an object to invoke a service on, like a file, a URL or some text, and
tab into that object.
[Hint: To get a text object, type an initial space.] - Type the (partial) name of the service you want to invoke.
- Select the matching object from the result list.
- Hit enter to perform the service on the object you provided.
Services will only become available when they can accept the data QSB would provide them. Services that don’t accept any input data can be invoked without providing anything.
Installation
After extracting the plugin, you will find a bundle called Services.hgs.
Copy this bundle to ~/Library/Application Support/Google/Quick Search
Box/PlugIns, then restart QSB.
If you built the plugin from source (described below), you will find the
Services.hgs bundle in your build directory.
Building
Building this plugin requires that you set up two source trees in Xcode. You will have to have the QuickSearchBox source tree downloaded to your machine. Instructions on getting the QSB source tree can be found here: http://code.google.com/p/qsb-mac/source/checkout
To set up the source trees in Xcode:
- Go to "Xcode>Preferences" and click on the "Source Trees" icon.
- Click on the "Plus" button on the left hand side of the window.
- Set the "Setting Name" of your new tree to
QSBBUILDROOT - Set the "Display Name" to
QSBBUILDROOT - Set the path to the debug build directory for QSB. For me the path looks
like this
~/src/QuickSearchBox/QSB/build/Debug. If you use a common build directory or some other customized build location, you will have to set it here. - Click on the "Plus" button again
- Set the "Setting Name" of your new tree to
QSBSRCROOT - Set the "Display Name" to
QSBSRCROOT - Set the path to the root directory for QSB. For me the path looks
like this
~/src/QuickSearchBox.
The plugin should now build cleanly.
You should only have to add the source trees to Xcode the first time you build a QSB plugin.
If you are developing plugins, please join our mailing list: http://groups.google.com/group/qsb-mac-dev
