Hi,
I need an Applescript to grab the leaderboard from
http://www.pgatour.com/scoring/leaderboard/r and format it using
BBedit to be left with something like the following:
From left to right it should grab:
Current To Par First/Last (1 2 3 4) but only show the apllicable
rounds in the brackets. So if round one and two have been played then
only show (67-78) and seperate with a dash. So round one would be
(67), round two would be (67-78) and round three would be (67-78-65)
and so on.
* On day one the rounds 1,2,3,4 will contain a figure in 1 and a dash
in 2, 3 and 4.
* On day two the 1,2,3,4 will contain figures in 1 and 2 and a dash in
3 and 4 and so on
I need the end format for round one to be shown like this in BB Edit
and then I can cut and paste it as need be. Each different sets of
scores needs to be seperated by a line break and then sorted
alphabetically by first name.:
I am using Panther 10.3.2 and Safari 1.2
-------------------------------------------------
1 -12 Ernie Els (60)
2 -8 Michael Campbell (64)
T3 -7 Craig Carmichael (65)
T3 -7 Mahal Pearce (65)
T3 -7 Tobias Dier (65)
T3 -7 Wade Ormsby (65)
T7 -6 Adam Scott (66)
T7 -6 Paul Sheehan (66)
T7 -6 Peter Fowler (66)
T7 -6 Peter O'Malley (66)
T7 -6 Richard Green (66)
T12 -5 Craig Spence (67)
T12 -5 Craig Parry (67)
T12 -5 Gareth Paddison (67)
T12 -5 Gary Evans (67)
T12 -5 Nick Flanagan (Am) (67)
T12 -5 Peter Hanson (67)
T12 -5 Peter Hedblom (67)
T19 -4 Brian Davis (68)
T19 -4 David Howell (68)
T19 -4 Grant Dodd (68)
T19 -4 Greg Owen (68)
T19 -4 Ian Poulter (68)
T19 -4 Matthew Ecob (68)
T19 -4 Michael Long (68)
T19 -4 Nathan Green (68)
T19 -4 Nick Faldo (68)
T19 -4 Paul Casey (68)
T19 -4 Stephen Gallacher (68)
T19 -4 Steve Collins (68)
T19 -4 Toru Suzuki (68)
and so on......
Thanks
J |