ScriptingBridge Not working same as Applescript

2011-06-12 Thread Abhinav Tyagi
Hi, I am trying to get the details of current track being played in iTunes from cocoa application. I am using ScriptingBridge by generating iTunes from the command line using The Applescript which i have successfuly tested in ScriptEditor is tell application iTunes set strSongTitle to

kqueue and kevent

2011-03-13 Thread Abhinav Tyagi
Hi, I have used kqueue and kevents for event triggering. However i am not sure if it is possible to send events to a kqueue? Googling didnt helped. I was thinking as its kernel que and kernel notifies. Does it mean that users can not send events to a queue other than signals? Abhi

LOCATING MEDIA FILES IN MACINTOSH

2011-01-06 Thread Abhinav Tyagi
Hi All, Although this querry may seem simple to you but since i dont have any idea about it, i am clueless as how to approach. Problem: Scanning the disc for media files. As the media files can be present anywhere in the disc, searching whole disc by enumerating the directory listings will be

NSThread Subclassing problem for Singleton instance

2010-07-12 Thread Abhinav Tyagi
Hi, Thanks for giving your valuable time to this post. I have been working on Mac platform since last 5 months prior to which I have worked on Windows platform. I have used threads using NSThread's detachNewThreadSelector:@selector() earlier and they worked fine. However this time my thread is

populating radio stations like iTunes

2010-06-01 Thread Abhinav Tyagi
I want to know that how can i get the data and populate a list of stations similar to that. I think it sends some request to apple server which returns an xml or a plist which can be further parsed to fetch the stations and their details. But i dont know what actually i need to send and to which

Details and the concepts related to the Nib Window

2010-03-22 Thread Abhinav Tyagi
Hi, Thanks for your time for reviewing this. I am new to objective c and Cocoa on iMac OSX Leopard XCode3.1. Whenever we drag an object from the Interface builder to our Nib window (like we do for a controller object), it means that we are instantiating the object of a class or interface. But