PDA

View Full Version : Making Cyberduck Widget Quit Cyberduck




steelphantom
Jun 10, 2006, 11:56 PM
I really like the new widget that's been included with the new version of Cybeduck, but there's one thing that I'm kind of annoyed by: the widget closes the connection to the server, but doesn't quit Cyberduck altogether. How hard would it be to add some code to make the widget do this? It seems like it would be a really easy thing to do. Any help with this would be great. :)



kainjow
Jun 15, 2006, 03:16 PM
See this article:
http://developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_ProgTopics/Articles/CommandLine.html#//apple_ref/doc/uid/TP40003050

This is all you need..
widget.system("/usr/bin/killall Cybeduck", null);