如何使OSX中的命令行工具的GUI前端? [英] How can I make a GUI frontend to a command line tool in OSX?

查看:133
本文介绍了如何使OSX中的命令行工具的GUI前端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想知道如何在OSX中为 ffmpeg jhead 制作GUI。我一直在寻找一个解决方案一段时间,并认为你,stackoverflow的用户,可以帮助我。也许你知道一些文档,我没有遇到或更好,一个教程来制作一个GUI。

I'm dying to know how I can make a GUI for ffmpeg and jhead in OSX. I've been looking for a solution for a while and thought you, stackoverflow's users, could help me. Maybe you know some document I haven't come across of or, better, a tutorial to make a GUI.

我喜欢这两个工具,但我喜欢简单的拖动/ drop操作。

I love those two tools but I like the simplicity of drag/drop operations.

注意:我不需要GUI,我想创建一个。

Note: I don't need a GUI for them, I want to make one.

推荐答案

在Cocoa Dev Central网站上有一个使用NSTask包装命令行工具的教程:

There is a tutorial for wrapping command-line tools using NSTask, on the Cocoa Dev Central site:

  • Wrapping UNIX Commands
  • Wrapping UNIX Commands Part II

现在已经几岁了,但应该让你开始。

It's a few years old now, but should get you started.

这篇关于如何使OSX中的命令行工具的GUI前端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆