Tag Archives: quicksilver

QSFoundation/QSFoundation.h file not found – Building Quicksilver Plugins

Ok, so you’ve read the getting started guide on how to write quicksilver plugins, and read the QSApp Blog Post about how to get started with QS plugins, and checked out the Quicksilver Plugin Development Reference and checked out the repo of current plugins and visited the Quicksilver Developer Wiki and already referenced the Quicksilver Plugin Reference and read PJRobertson’s Quicksilver Plugin Reference page and now you have got your new Xcode project all setup and when you click “build” you get something like: QSFoundation/QSFoundation.h file not found – Building Quicksilver Plugins Here’s what to check Make sure that in Xcode5 you have set up the SourceTrees in the preference pane – it’s under Locations -> Source Trees: Secondly, you should have also already used git to clone the Quicksilver repo and built Quicksilver successfully. For help on this topic see Building Quicksilver. Finally, you must have built Quicksilver for development in order for the header files to be in the right places. Here’s how to build for development: To check and make sure the headers are in the correct place, check this folder: /tmp/QS/build/Debug/QSFoundation.framework/Headers/ It should exist and not be empty. For more help visit Quicksilver’s Google Group or open a support request on the Github page.

Posted in Web Development | Tagged | Leave a comment

Quicksilver Crash Reports Location

When Quicksilver crashes it gives some message like: In order to help improve Quicksilver, please consider sending a crash report to the developers. Quicksilver will restart when this window closes. To troubleshoot your problem, see the FAQ or alternatively report your issue on the issue tracker. But when Quicksilver crashes it actually also provides a log of the crash. Per the source code file, QSPaths.h, you can see the path to the crash logs is set to: ~/Library/Logs/DiagnosticReports Below is the other default Quicksilver paths for error reporting, etc.: #define pTriggerSettings QSApplicationSupportSubPath(@”Triggers.plist”, NO) #define pCatalogSettings QSApplicationSupportSubPath(@”Catalog.plist”, NO) #define pCatalogPresetsDebugLocation QSApplicationSupportSubPath(@”Presets.plist”, NO) #define pMnemonicStorage QSApplicationSupportSubPath(@”Mnemonics.plist”, NO) #define pCacheLocation QSApplicationSupportSubPath(@”Caches/”, NO) #define pIndexLocation [@”~/Library/Caches/Quicksilver/Indexes/” stringByStandardizingPath] #define pStateLocation [@”~/Library/Caches/Quicksilver/QuicksilverState.plist” stringByStandardizingPath] #define pCrashReporterFolder [@”~/Library/Logs/DiagnosticReports” stringByStandardizingPath] #define pShelfLocation QSApplicationSupportSubPath(@”Shelves/”, NO) #define psMainPlugInsLocation QSApplicationSupportSubPath(@”PlugIns/”, NO) #define psMainPlugInsToInstallLocation QSApplicationSupportSubPath(@”PlugIns/Incoming/”, NO) #define kCheckUpdateURL @”http://qs0.qsapp.com/plugins/check.php” #define kDownloadUpdateURL @”http://qs0.qsapp.com/plugins/download.php” #define kPluginInfoURL @”http://qs0.qsapp.com/plugins/info.php” #define kPluginDownloadURL @”http://qs0.qsapp.com/plugins/download.php” #define kForumsURL @”http://groups.google.com/group/blacktree-quicksilver” #define kBugsURL @”https://github.com/quicksilver/Quicksilver/issues” #define kWebSiteURL @”http://qsapp.com/” #define kHelpURL @”http://qsapp.com/wiki/” #define kHelpSearchURL @”http://qsapp.com/w/index.php?title = Special:Search&search=%@&go=Go” // URL to crash reporter server/script #define kCrashReporterURL @”http://qs0.qsapp.com/crashreports/reporter.php” // Wiki page detailing why we collect crash reports #define kCrashReportsWikiURL @”http://qsapp.com/wiki/Crash_Reports”

Posted in Mac, Software, Tech Tips | Tagged , , | Leave a comment

Send Folders to CodeKit via the Command Line

If you’re doing some web development with CodeKit and want to be able to send folders to the program via the command line (I was really hoping to do this via Quicksilver), then you can use this little tidbit: open -a /Applications/CodeKit.app “/path/to/your/project” The CodeKit application apparently does not associate itself with being able to open files and so it doesn’t register with folders or files as being an available “Open With” application for opening them. Again I was hoping to do this via a quicksilver action, something like: If it did then quicksilver would stick it in the third pane when using the “Open With” action, wouldn’t that be nice! It is possible to get it into the third pane but you need to have the path to the application in your clipboard (/Applications/CodeKit.app) and then: Select the Folder Choose “Open With” Tab to the third pane and paste the path to the application in. That’s demonstrated in the screenshot above. CodeKit’s not too bad, some aspects seem sluggish and I wish there were more features to customize it – like inclusion and exclusion rules and a finer grained control of which tabs refresh in the browser – also maybe some explanation of their partial CSS injection-on-update feature they have in the preferences.

Posted in Mac, Tech Tips, Web Development | Tagged , , , , | Leave a comment

Quicksilver Plugin Tutorial – Basic Tutorial (Draft)

This page is an archived version of http://quicksilver.infogami.com/ObjectiveCPlugInsBasicTutorial Quicksilver Basic Tutorial (Draft)   Introduction A brief tutorial showing the creation, installation, and running of a Quicksilver plug-in (Objective-C) implementing a simple action. Set-up Ensure 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.). Implementation Launch 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)): < ?xml version=”1.0″ encoding=”UTF-8″?> < !DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>MyPlugIn</string> <key>CFBundleIdentifier</key> <string>com.blacktree.Quicksilver.MyPlugIn</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>MyPlugIn</string> <key>CFBundlePackageType</key> <string>BNDL</string> <key>CFBundleVersion</key> <string>1A</string> <key>QSActions</key> </dict><dict> <key>MyPlugInAction</key> </dict><dict> <key>actionClass</key> <string>MyPlugInActionProvider</string> <key>actionSelector</key> <string>performMyAction:</string> <key>directTypes</key> <array> <string>NSStringPboardType</string> </array> <key>name</key> <string>My Action</string> </dict> <key>QSPlugIn</key> <dict> <key>author</key> <string>An Author</string> </dict> <key>QSRegistration</key> <dict> <key>QSActionProviders</key> </dict><dict> <key>MyPlugInActionProvider</key> <string>MyPlugInActionProvider</string> </dict> </plist> Edit MyPlugIn.h to make the content: // // MyPlugIn.h // MyPlugIn // #import <qscore /QSObject.h> @interface MyPlugInActionProvider : NSObject { } @end … Continue reading

Posted in Software | Tagged , | Leave a comment

Quicksilver: Disable Shelf Popup

As of a recent release of Quicksilver (around B68 3927) the shelf module has been revised (version 1.2.3 5/9/12) and it will now pop up on the left side of the screen if you hover your mouse cursor near the center of the screen: I love quicksilver but personally find this a little annoying. As far as I can tell there is no visible option to customize where the settings are for the shelf’s behavior, but if you don’t use it you can disable the shelf in Quicksilver’s plugins module: If there is a way to disable the shelf from appearing on the left side you may be able to access it directly with something like the defaults write command. This command turns previews on: defaults write com.blacktree.quicksilver “QSLoadImagePreviews” YES

Posted in Mac, Software, Tech Tips | Tagged , , , | 2 Comments

How I think Quicksilver Should Utilize “Recent Items”

Posted in Mac, Tech Opinion, Tech Tips | Tagged , , | 5 Comments

Quicksilver Screen Capture Location

Posted in Mac, Software | Tagged | Leave a comment

bash: send last command to quicksilver

Posted in Mac | Tagged , , , , | 1 Comment

quicksilver clear recent items

Posted in Mac, Tech Tips | Tagged , | 1 Comment

Access Hidden Files with Quicksilver

Posted in Software, Tech Tips | Tagged , , | Leave a comment