Google Answers Logo
View Question
 
Q: Applescript to grab url source and format in BBEdit ( No Answer,   0 Comments )
Question  
Subject: Applescript to grab url source and format in BBEdit
Category: Computers > Programming
Asked by: srv-ga
List Price: $30.00
Posted: 05 Feb 2004 17:02 PST
Expires: 06 Mar 2004 17:02 PST
Question ID: 303945
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
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy