WebView searchFor

2008-03-04 Thread ali alavi
I am using WebView searchFor method to find a string on the web view and hilite it. I can see that string is found and hilited momentary but doesn't remain hilited permanently. How can I keep the found string hilited, until I search for another string and is found. Any help would be appreciat

Loading web pages in WebView

2008-03-04 Thread ali alavi
I have a WebView and a NSTextField (as URL address bar) on my window. I need to be able to load the page automatically when I programmatically set the URL filed to a web page address. However the only way I can make the page appear now is by clicking in the URL field and hitting Return key. How

(no subject)

2008-03-04 Thread ali alavi
I have a WebView and a NSTextField (as URL address bar) on my window. I need to be able to load the page automatically when I programmatically set the URL filed to a web page address. However the only way I can make the page appear now is by clicking in the URL field and hitting Return key. How

NSButton setStringValue

2008-02-28 Thread ali alavi
I am trying to change the title of a push button after each click (eg: to swap between "Play" and "Pause") I am using this code: if(m_isPlaying) { [myButton setStringValue:@"Play"]; m_isPlaying = 0; } else { [myButton setStringValue:@"Pause"]; m_isPlaying = 1; } None of abov

QuickTime Callback

2008-02-25 Thread ali alavi
Hi everyone I have a list of audio segments (specified by a file name and start time and duration). What I want to do is to go through that list and play each segment one after the other. I am using QTMovieView : play method to play audio segments. The problem is that 'play' method returns im