To output to twitter: Add this function changing paths, etc .... you will also need to install the TweetWSH.wsf following the application registering instructions in this file for twitter to comply with the new OAuth login mechanism of twitter. Works fine for me.
private void updatetwitter(string txt)
{
txt = "Robo trade signal: " + txt;
txt = txt + @"..Live internet TV: http://blue-point-trading.com/";
string prog = @"c:\Jts\TweetWSH.wsf ";
string cmd = '"' + txt + '"';
Process scriptProc = new Process();
scriptProc.StartInfo.FileName = prog;
scriptProc.StartInfo.Arguments = cmd;
scriptProc.Start();
scriptProc.WaitForExit();
scriptProc.Close();
}
Comment