QuicksilverBasic Tutorial (Draft)IntroductionA brief tutorial showing the creation, installation, and running of a Quicksilver plug-in (Objective-C) implementing a simple action. Set-upEnsure a development version of Quicksilver is installed (I put mine under ~/Applications/). Ensure Developer Tools is installed (I've got whichever one gives me Xcode 2.4). Follow the plug-in template installation instructions (Note that there is an important step involving telling Xcode where certain Quicksilver frameworks live - hint: they live inside the development version of Quicksilver which should now be installed.). ImplementationLaunch Xcode if it's not already launched. From the Assistant (or File -> New Project), choose to create a 'Quicksilver Plug-in' (You'll likely choose a location for your project and a name -- I'm going to use 'MyPlugIn' as a name for this tutorial). Edit Info.plist to make the content as follows (A plug-in's Info.plist allows a plug-in to communicate details about itself to Quicksilver (e.g. whether the plug-in provides an action)):
Edit MyPlugIn.h to make the content:
Edit MyPlugIn.m to make the content:
Save your changes. Build (this should result in the creation of 'MyPlugIn.qsplugin'). InstallationDouble-click MyPlugIn.qsplugin to initiate plug-in installation. Answer appropriately when asked by Quicksilver about installing (Plug-ins are installed under ~/Library/Application Support/Quicksilver/). Testing/RunningEnsure Quicksilver is running. Activate Quicksilver. Enter text entry mode (hint: use the period key). Type some text (how about 'Would you like to play a green vegetable?' ?) Choose 'My Action' as the action. Press the return key. If all went well, you should be notified by Quicksilver of the text you entered via text entry mode (If not, time to check out Console.app). References
last updated 2 years ago # Comments |
wedding dress wedding gown bridal gown oil paintings oil painting prom dress prom gown prom dress
icerain031 1 year ago #