Reading these forums I've come to know that many people use the scripting language AutoIt to develop their programs/bots. This evening I decided to teach myself some basic AutoIt and created a program to calculate flask prices.
2shared - download First AutoIt.au3
This takes into account the price of the materials and vial costs.
It does not take into account AH cut or deposit costs.
Feedback is always welcome and appreciated!