Stijn Volders

Saturday night programming: 'Shoot'

by Stijn Volders 23. January 2012 23:44

Last Saturday I had fun building a little tool for personal use.

Let me first explain what I needed:

The TomTom website (http://routes.tomtom.com) can calculate an itinerary with real time traffic info. Since I'm going to Austria in a few weeks, I want to know how long this trip will take me, average traffic delay at that time of the day included (4 pm). I know that I can specify a specific date and time, and one could assume that this is calculated against their historical data but that's not the case.

There are several options to get this information (manually open the site every day, parse the webpage at a given time automatically, take a screenshot automatically, ...), I went for the screenshot approach because this gives also visual info about the itinerary (the site can avoid parts with much delay).

'Shoot' is a WinForms application that loads the TomTom webpage of my interest (it accepts a command line argument '/url='), takes a screenshot of that page and saves it to the “Shoot” folder on the desktop. It's not the most beautiful design (no MVP or MVC here) nor the most recent technology, but it gets the job done.

To take the screenshot, I’ve used James Crowley’s code.

So, now I can schedule 'Shoot' with Task Scheduler to,take a screenshot every day and build an archive with traffic info for my itinerary:

image  image

A screenshot of the application:

image

The source code can be found on my GitHub account. The application can be downloaded here

Tags: ,

.net

Comments

9/5/2012 10:58:53 PM #

Nicely explained. It’s indeed an art to stop new visitors with your
attractive writing style. Truly impressive and nice information. Thanks
for sharing.

SEOkik |

12/25/2012 7:50:19 PM #

Esta pagina web es muy buena, gracias por el articulo.

Paginas Web |

5/29/2013 8:34:40 AM #

Right now it sounds like Drupal is the best blogging platform available right now. (from what I've read) Is that what you are using on your blog?

Also visit my web-site:  kredyty pozabankowe - http://szybkiechwilowkionlineprzezinternet.pl

kredyty pozabankowe |

5/30/2013 12:14:10 PM #

I pay a quick visit day-to-day some blogs and blogs to read articles or reviews, except this weblog gives feature based writing.

my website:  Low cost Lodges In Las Vegas - Excellent For The Small Getaway - http://Bit.ly/15mhu9I

Low cost Lodges In Las Vegas - Excellent For The Small Getaway |

5/30/2013 1:08:02 PM #

I do not know whether it's just me or if everyone else encountering issues with your site. It appears as if some of the written text on your posts are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them as well? This could be a problem with my web browser because I've had this happen previously. Cheers

Here is my web-site;  decodeur tnt - http://www.decodeurtnt.net/

decodeur tnt |

5/30/2013 1:47:39 PM #

Your style is really unique in comparison to other people I've read stuff from. Many thanks for posting when you've got the opportunity, Guess I will just book mark this web site.

my web site ...  Veronique - http://myseospy.com/disableddating.newsvine.com

Veronique |

5/30/2013 2:14:19 PM #

I used to be able to find good information from your blog articles.

Check out my blog ::  http://www.imprimantelasercouleur.org/ - www.imprimantelasercouleur.org/.../

http://www.imprimantelasercouleur.org/ |

5/30/2013 2:31:30 PM #

Hello There. I discovered your blog using msn. That is a really well written article. I will make sure to bookmark it and return to read extra of your helpful information. Thanks for the post. I'll certainly comeback.

Here is my blog  Online Resorts Booking inside Canada - www.hotel-discount.com/.../

Online Resorts Booking inside Canada |

5/30/2013 3:08:10 PM #

Hi there, I enjoy reading through your article post. I wanted to write a little comment to support you.

Look into my blog:  ceramic watches - http://www.ceramicwatches.org/

ceramic watches |

5/30/2013 3:08:36 PM #

Pretty nice post. I just stumbled upon your blog and wished to say that I've truly enjoyed surfing around your weblog posts. After all I will be subscribing to your feed and I'm hoping you write again very soon!

Feel free to visit my web blog -  trampoline pas cher - http://www.trampoline-pas-cher.org/

trampoline pas cher |

5/30/2013 3:12:09 PM #

My partner and I stumbled over here  different page and thought I might as well check things out. I like what I see so now i am following you. Look forward to looking over your web page repeatedly.

Look at my weblog;  Marlys - nalanda.org.br/.../view.php?id=72443&course=1

Marlys |

5/30/2013 3:45:51 PM #

Hi, I do think this is a great website. I stumbledupon it ;) I will revisit once again since i have book-marked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

Also visit my webpage:  www.appareilphotobridge.org/.../ - www.appareilphotobridge.org/.../

http://www.appareilphotobridge.org/appareil-photo-bridge-pas-cher/ |

5/30/2013 4:15:21 PM #

It's a pity you don't have a donate button! I'd most certainly donate to this brilliant blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account. I look forward to brand new updates and will talk about this site with my Facebook group. Talk soon!

My website ::  appareil photo etanche - http://www.appareilphotoetanche.org/

appareil photo etanche |

5/30/2013 4:36:41 PM #

Hello there, just became aware of your blog through Google, and found that it's really informative. I am going to watch out for brussels. I'll appreciate if you continue this in future. Numerous people will be benefited from your writing. Cheers!

Review my web page;  running singles - instantromance.com/.../trademark.php

running singles |

5/30/2013 4:59:31 PM #

It's an remarkable paragraph designed for all the internet users; they will obtain advantage from it I am sure.

Also visit my homepage -  hd pvr pas cher - http://www.hd-pvr.org/

hd pvr pas cher |

5/30/2013 5:14:29 PM #

Hi colleagues, good piece of writing and nice urging commented at this place, I am truly enjoying by these.

my website:  imprimante wifi - http://www.imprimante-wifi.fr/imprimante-hp-wifi/

imprimante wifi |

5/30/2013 5:36:03 PM #

Very good information. Lucky me I discovered your website by accident (stumbleupon). I have book marked it for later!

Feel free to visit my website ...  ampli home cinema - http://www.amplihomecinema.org/

ampli home cinema |

5/30/2013 6:34:37 PM #

I do not even know how I ended up here, but I thought this post was good. I do not know who you are but definitely you are going to a famous blogger if you aren't already ;) Cheers!

Feel free to surf to my web blog ::  Edwardo - www.iamsport.org/.../hotel-cost-assessment-vs-traditional-travel

Edwardo |

5/30/2013 6:35:26 PM #

May I just say what a comfort to uncover an individual who really knows what they are talking about on the net. You actually realize how to bring an issue to light and make it important. A lot more people have to check this out and understand this side of your story. It's surprising you are not more popular since you most certainly possess the gift.

Feel free to surf to my page;  Asset Management Software - techaron.com/.../

Asset Management Software |

5/30/2013 8:49:27 PM #

certainly like your web site however you have to check the spelling on several of your posts. A number of them are rife with spelling issues and I in finding it very bothersome to tell the truth nevertheless I will definitely come back again.

Also visit my page;  casque bluetooth iphone - http://www.casque-bluetooth.net/

casque bluetooth iphone |

5/30/2013 8:57:31 PM #

Wow! what an amazing app. Truly amazing stuff. You won't believe your eyes!

my web page  showgirls - http://www.activedancer.com

showgirls |

5/31/2013 12:04:29 AM #

Hi, just wanted to say, I liked this blog post. It was practical. Keep on posting!

Also visit my web blog ...  www.gpsmoto.org - http://www.gpsmoto.org/

www.gpsmoto.org |

5/31/2013 2:01:48 AM #

Thanks for sharing such a fastidious idea, post is good, thats why i have read it entirely

my web page:  Logo Gdynia - http://mpfanner.com/logotyp-s1668.html

Logo Gdynia |

5/31/2013 2:59:04 AM #

juegos online - http://www.juegosfa.com   Por el contrario curva patria sobre bravura se convierte como los cuantía

juegos online |

5/31/2013 3:09:20 AM #

Thanks for sharing your thoughts about Shoot. Regards

my blog post  http://www.robotmenager.info - http://www.robotmenager.info/robot-kenwood/

http://www.robotmenager.info |

5/31/2013 3:15:27 AM #

Since the resort largely had buffet-style dining for almost connect you with people who share your goals p90x workout order and interests. It is secure and it can hold is 300 lbs. The Fit Test has you take your resting positive results by helping people shed excess fat and get back to shape. The 12 different kinds of workouts exercise tend to be 2 inseparable components of almost any work out plan. When caffeine improves endurance, it turn into crabs when you decide to improve your life?

My weblog -  visit my web site - http://theploneblog.onenw.org/author/Enrique49

visit my web site |

5/31/2013 3:30:49 AM #

An intriguing discussion is definitely worth comment. I think that you should write more on this topic, it may not be a taboo matter but usually folks don't talk about such issues. To the next! Best wishes!!

Also visit my web page ...  turbine à glace magimix - www.turbineaglace.info/turbine-a-glace-magimix/

turbine à glace magimix |

5/31/2013 4:06:55 AM #

I'm really enjoying the theme/design of your website. Do you ever run into any web browser compatibility problems? A handful of my blog audience have complained about my site not operating correctly in Explorer but looks great in Firefox. Do you have any ideas to help fix this problem?

Stop by my web-site  babyphone video - http://www.babyphonevideo.fr/

babyphone video |

5/31/2013 4:15:08 AM #

Greetings from Idaho! I'm bored at work so I decided to check out your website on my iphone during lunch break. I really like the knowledge you present here and can't wait to take a look when I get home. I'm surprised at how quick your blog loaded on my mobile .. I'm not even using WIFI, just 3G .. Anyways, great site!

my page -  casque audio sans fil pour tv - http://www.casqueaudiosansfil.org/

casque audio sans fil pour tv |

5/31/2013 4:29:24 AM #

What's up mates, how is the whole thing, and what you would like to say concerning this post, in my view its in fact awesome in favor of me.

My web blog;  mini lave vaisselle - http://www.minilavevaisselle.org/

mini lave vaisselle |

5/31/2013 5:02:47 AM #

I always emailed this webpage post page to all my associates, for the reason that if like to read it afterward my contacts will too.

Have a look at my weblog ...  Traci - http://startupwiki.at/index.php?title=Benutzer:Gusjojirp

Traci |

5/31/2013 5:59:13 AM #

Logiciel tarot gratuit medium en direct gratuit

Check out my weblog  voyance gratuite en ligne - http://www.mavoyancegratuite.biz

voyance gratuite en ligne |

5/31/2013 8:30:22 AM #

That is a really good tip particularly to those fresh to the blogosphere. Short but very precise information… Many thanks for sharing this one. A must read article!

Feel free to surf to my web blog -  Zachery - http://www.aboutus.org/fibonaccis.com

Zachery |

5/31/2013 1:11:32 PM #

I think the admin of this site is genuinely working hard for his site, because here every stuff is quality based data.

My blog post ...  The Ideal Resorts In Sydney - sabrinaortacio.blogspot.de/.../...e-filmes-da.html

The Ideal Resorts In Sydney |

5/31/2013 4:57:10 PM #

Hi there,  You have done an incredible job. I will definitely digg it and personally suggest to my friends. I am sure they will be benefited from this site.

Look at my blog post -  passerelle multimedia wifi - http://www.passerellemultimedia.fr/

passerelle multimedia wifi |

5/31/2013 5:40:41 PM #

You have made some good points there. I checked on the web to find out more about the issue and found most people will go along with your views on this website.

Here is my website ::  Leading spots in European countries with regard to class snowboarding getaways - baboonsguide.blogspot.com/.../...phant-before.html

Leading spots in European countries with regard to class snowboarding getaways |

6/1/2013 4:56:58 AM #

For example, you would give it water and some cure chicken pox extra nourishment, with some variability in timeframe. And this is why a certain percentage of those who got measles were aged 10 to 15 grams about 3 to 5 tablespoonfuls daily shows promise. At Caravan, Miles Kirby pickles mackerel to serve with avocado and grape-gorgonzola pizzettes? I knew that Benavil could be dangerous.

Also visit my homepage:  Warner - http://howtotreatchickenpox.com/

Warner |

6/1/2013 5:29:22 AM #

If you are going for best contents like me, simply pay a visit this site everyday since it presents feature contents, thanks

Here is my website  http://www.hdpvr.fr - http://www.hdpvr.fr/

http://www.hdpvr.fr |

6/1/2013 12:14:47 PM #

Le tarot de denis lapierre aries daily horoscope

Look into my homepage ...  voyance gratuite amour - http://www.supervoyancegratuite.com

voyance gratuite amour |

6/1/2013 2:50:10 PM #

Thanks for finally writing about > Stijn Volders | Saturday night programming: 'Shoot' www.appareil-photo-reflex.info/.../a>

http://www.appareil-photo-reflex.info/appareil-photo-reflex-pas-cher/ |

6/1/2013 3:02:06 PM #

Amazing! This blog looks just like my old one! It's on a totally different topic but it has pretty much the same page layout and design. Superb choice of colors!

my weblog ::  home cinema sans fil - http://www.homecinemasansfil.net/

home cinema sans fil |

6/1/2013 3:43:11 PM #

Genuinely no matter if someone doesn't understand then its up to other viewers that they will help, so here it takes place.

Here is my page:  Projekty domów - http://yazh.co/projektydomow

Projekty domów |

6/1/2013 7:20:05 PM #

I'm really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Anyway keep up the nice quality writing, it's rare to see a great blog like this one today.

my website  Some Exclusive Hotels Of The World - homekreation-recipes.blogspot.co.uk/.../...it.html

Some Exclusive Hotels Of The World |

6/1/2013 11:43:39 PM #

Forum sexe docti sex porn movi

Also visit my web-site  film x - http://www.hiemstradesign.com

film x |

6/1/2013 11:47:31 PM #

Sexe tapes video sodomie gratuites

My web page;  films porno - http://www.computech-ca.com

films porno |

6/2/2013 12:01:25 AM #

Lesbienne sex porno baise

My page ::  film porno streaming - http://www.monfilmxporno.net

film porno streaming |

6/2/2013 2:37:46 AM #

Hello there! Would you mind if I share your blog with my myspace group? There's a lot of folks that I think would really enjoy your content. Please let me know. Cheers

Feel free to surf to my blog post  http://www.ceintureabdominale.org - http://www.ceintureabdominale.org/

http://www.ceintureabdominale.org |

6/2/2013 2:58:09 AM #

Hey there just wanted to give you a quick heads up. The words in your post seem to be running off the screen in Firefox. I'm not sure if this is a format issue or something to do with web browser compatibility but I thought I'd post to let you know. The design and style look great though! Hope you get the issue resolved soon. Kudos

Here is my webpage -  http://www.minifour.net/mini-four-electrique/ - http://www.minifour.net/mini-four-electrique/

http://www.minifour.net/mini-four-electrique/ |

6/2/2013 4:00:53 AM #

Having read this I thought it was rather informative. I appreciate you finding the time and effort to put this information together. I once again find myself spending way too much time both reading and commenting. But so what, it was still worth it!

my webpage:  valise rigide - http://www.valiserigide.fr/

valise rigide |

6/2/2013 4:02:22 AM #

Hello there,  You have done a great job. I will certainly digg it and personally suggest to my friends. I am sure they will be benefited from this website.

Feel free to surf to my web-site ::  plancha gaz inox - http://www.planchagaz.info/

plancha gaz inox |

6/2/2013 10:04:18 AM #

Le belier signe astrologique horoscope pour tous

Feel free to visit my web page -  voyance par telephone - http://www.insiders-newbern.com

voyance par telephone |

6/2/2013 10:36:17 AM #

Ton tarot gratuit horoscope perras poisson

My homepage:  voyance gratuite - http://www.munkakozvetites.com

voyance gratuite |

6/3/2013 3:23:34 AM #

Sweet blog! I found it while browsing on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Cheers

My site:  http://www.trampoline-pas-cher.net/ - http://www.trampoline-pas-cher.net/

http://www.trampoline-pas-cher.net/ |

6/3/2013 6:01:55 PM #

What's Taking place i am new to this, I stumbled upon this I have found It positively helpful and it has aided me out loads. I am hoping to give a contribution & assist different customers like its aided me. Great job.

Feel free to visit my web page ...  vigrx plus increase size permanently - www.cellsbee.com/index.php?do=/profile-44376/info/

vigrx plus increase size permanently |