Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 7th, 2007, 04:10 PM
Xidus Xidus is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Posts: 153 Xidus User rank is Corporal (100 - 500 Reputation Level)Xidus User rank is Corporal (100 - 500 Reputation Level)Xidus User rank is Corporal (100 - 500 Reputation Level)Xidus User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 1 h 39 m 49 sec
Reputation Power: 4
[Lua] Capturing os call outputs

So im writing a iTunes control for WoW, There are other crappy ones that are just pause/play etc but im trying to work in a way of finding out the song thats playing now etc, to do this ive written a C# app that does all the COM work with iTunes and then want to use Lua to run this app, capture the output and display it, to do this, in theory i would use
Code:
iTunesRemoteFrameSongName:SetText(os.execute("itunescontrol current"));

Ive tried a few things like this in the command line parser, but whenever i try to capture the output of os.execute(); i just get 0 or 1 depending on if the command was a success or failure. So is there anyway to do this properly? Really kind of need to set this, but er... no idea right now

Thanks
Xidus

Reply With Quote
  #2  
Old August 20th, 2007, 04:11 PM
jaminguy jaminguy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 1 jaminguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 32 sec
Reputation Power: 0
Any luck?

Hey,

I'm just starting to write a WoW iTunes addon as well and came across your post. Have you had any luck? I'd love to help out with this project. Let me know. jaminguy at gmail dot com.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > [Lua] Capturing os call outputs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway