Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > GUI for CL software

GUI for CL software
Thread Tools
Grizzled Veteran
Join Date: May 2000
Location: Any Town, USA
Status: Offline
Reply With Quote
Mar 28, 2002, 12:30 PM
 
Is it hard to create a graphical front end to a CL program? Are there any examples - both Cocoa and REALbasic . . .

[ 03-28-2002: Message edited by: crazyjohnson ]
Change your world and you will change your mind.
     
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Mar 28, 2002, 07:35 PM
 
Totally doable! It's not hard to do it from Cocoa

Wrapper

and it's not hard to do it from AppleScript -I'll post the link when I find it.



[ 03-28-2002: Message edited by: DaGuy ]
iMac 17" G4 800MHZ & 768 SDRAM
     
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Mar 28, 2002, 08:46 PM
 
Here's an example Apple just posted:
http://developer.apple.com/samplecod.../Moriarity.htm
     
Grizzled Veteran
Join Date: May 2000
Location: Any Town, USA
Status: Offline
Reply With Quote
Mar 29, 2002, 08:13 AM
 
I dont want to make it a real big job. Something like this would be great.

Originally posted by DaGuy:
<STRONG>and it's not hard to do it from AppleScript -I'll post the link when I find it.
</STRONG>
Change your world and you will change your mind.
     
Forum Regular
Join Date: Jan 2002
Location: New York
Status: Offline
Reply With Quote
Mar 29, 2002, 10:23 AM
 
To do a shell command from applescript I think it's "do shell script &lt;blah blah blah&gt;". If you want it done with administrator privs, do "do shell script &lt;blah blah blah&gt; password "blah" with administrator privileges"

Hope that's helpful.
     
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Mar 31, 2002, 08:00 AM
 
Check out: /Developer/Examples/AppleScript Studio/Simple Shell/Simple Shell.pbproj

Cheers,
Cocoala

[ 03-31-2002: Message edited by: Cocoala ]
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Mar 31, 2002, 02:49 PM
 
Are there any CLI wrapper examples for Cocoa that are more "into it" ? That like show how to provide an interface for FTP or something harder than just one command and exiting? Like sending some info, catching the info, doing stuff based on it etc.. ?
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2