|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
[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 |
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > [Lua] Capturing os call outputs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|