You've downloaded my heart.
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 11 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 12-03-2009, 12:55
Killraine Killraine is offline
Team Robot
AKA: Josh Lucas
FRC #2016 (Mighty Monkey Wrenches)
Team Role: Mentor
 
Join Date: Jul 2006
Rookie Year: 2005
Location: New Jersey
Posts: 76
Killraine will become famous soon enoughKillraine will become famous soon enough
Re: paper: New Scouting Database from Team 2834

Quote:
Originally Posted by Phyrxes View Post
Well the guys from TBA just posted such a request, hopefully people read it and e-mail them pictures.
That was me

Could anyone write a program that downloads the picture at http://www.thebluealliance.net/tbatv.../2009/####.jpg (where #### is the team number) and puts it into a folder? You would just have to run the program once and then drop the spreadsheet in there and it would have all the pictures that are currently on TBA. Basically create a matrix of team numbers (already together as Column A on the sheet "2009 Teams") and then use a loop to go through the list and download the picture to a folder on the desktop.

In psuedo-code:
Code:
for(<Every value in the matrix>)
if(http://www.thebluealliance.net/tbatv/pictures/2009/####.jpg exists)
Download the file at the link to "/Desktop/2009 FRC Pictures";
If you wanted to go all the way, you could have it so when the program creates the matrix, it first checks "/Desktop/2009 FRC Pictures" it only adds the teams from the list that you don't already have. Then, if there is a way to include that program in a startup script for this excel document, you would always have an updated set of photos from TBA.

I'm pretty sure you can do all of this in c++ except maybe the part where excel runs the program before opening the spreadsheet. But then again, its not that much of a hassle to click a .exe before opening up the spreadsheet.
__________________

Last edited by Killraine : 12-03-2009 at 14:38.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
paper: 2007 Championship Event Scouting Database, presented by Team 1114 Karthik Extra Discussion 18 10-04-2007 17:02
paper: Waterloo Regional Scouting Database astephen68 Extra Discussion 3 04-03-2007 19:34
paper: Scoring for scouting database wheeler Extra Discussion 1 27-01-2007 15:56
paper: 2006 Excel Scouting database Greg Needel Scouting 11 20-04-2006 21:41
White Paper Discuss: Scouting database Marjory Frosty Extra Discussion 0 08-01-2006 19:03


All times are GMT -5. The time now is 14:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi