image
image

Go Back   macosx.com > Scripts > Apple Scripts

Reply
 
LinkBack Thread Tools
  #1  
Old October 27th, 2009, 10:57 PM
CharlieJ's Avatar
Charlie
 
Join Date: Apr 2005
Location: Essex, England
Posts: 781
Thanks: 21
Thanked 3 Times in 3 Posts
CharlieJ is on a distinguished road
Talking Buttons to run shell commands? (PLEASE MOVE!!)

Hi Guys, I'm looking to write a simple application in Objective-C (Please move this topic)

I have designed my GUI, I have two buttons, I want one to execute a shell and the other to execute the ctrl-c command.


So I want one button to start a service, and the other to stop the service.
Purely for people that aren't good with terminal.

Could somebody please advise me the best way to do this?

I'm a noob at Objective-C so please go easy

I've been reading stuff about NStask... I'm confused.
Charlie
__________________

iMac 21.5" LED 3.06GHz core2duo 4GB DDR3 1066MHz
MacBook 2.1GHz 4GB ram 160GB HD Snow Leopard
iPhone 3Gs 16GB White (3.0.1 Redsn0wed)
iPod Touch 2g 8GB (3.0 Jailbroken)


RIP. bobw

Last edited by CharlieJ; October 28th, 2009 at 12:41 AM.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 01:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.