Good day gents,
Mij, if you could give me instructions if you think your way would be more efficient then as always I would be in your debt.
Not seen Robobrowser plugin, but it sounds like something I would like!
James, I did everything in Eventghost. As with previous things it's only because I'm more familiar with it. I've found VOX is a far more stable application and if I knew quickly how to get VOX to do it then I most certainly would have done. Assuming I've done this right, below is the Eventghost stuff...
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1582">
<Folder Name="Watch basketball">
<Macro Name="Open login panel" Expanded="True">
<Event Name="Broadcast.Watch basketball" />
<Action>
System.Execute(u'C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe', u'', 2, False, 4, u'', False)
</Action>
<Action>
EventGhost.Wait(3.0)
</Action>
<Action>
Mouse.MoveAbsolute(990, 135, None, False)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action>
Mouse.LeftButton()
</Action>
<Action>
EventGhost.TriggerEvent(u'Main.Cick in password screen', 0.0)
</Action>
</Macro>
<Macro Name="Click in password screen" Expanded="True">
<Event Name="Main.Cick in password screen" />
<Action>
EventGhost.Wait(3.0)
</Action>
<Action>
Mouse.MoveAbsolute(750, 250, None, False)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action>
Mouse.LeftButton()
</Action>
<Action>
EventGhost.TriggerEvent(u'Enter password', 0.0)
</Action>
</Macro>
<Macro Name="enter password" Expanded="True">
<Event Name="Enter password" />
<Action>
Window.SendKeys(u'********', False)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action>
Window.SendKeys(u'{Return}', False)
</Action>
<Action>
EventGhost.TriggerEvent(u'Maximise screen', 0.0)
</Action>
</Macro>
<Macro Name="Move the mouse pointer to: x: 1040, y: 700" Expanded="True">
<Event Name="Maximise screen" />
<Action>
EventGhost.Wait(2.0)
</Action>
<Action>
Mouse.MoveAbsolute(1040, 700, None, False)
</Action>
<Action>
EventGhost.Wait(3.0)
</Action>
<Action>
EventGhost.TriggerEvent(u'left click', 0.0)
</Action>
</Macro>
<Macro Name="Left mouse button" Expanded="True">
<Event Name="left click" />
<Action>
Mouse.LeftButton()
</Action>
</Macro>
</Folder>
</EventGhost>
Think I may need to increase one of the wait times, as the expanding of the window is a bit hit and miss.
Cheers gents,