trying to display data from stock market..idea is nothing that is original..download web page and than search for a string..that works fine but why traytip isnt showing?? i used it numerous times before but this time it doesnt work..thanx in a advance.
Code:
^F12::
URLDownloadToFile, http://81.93.74.18/berzanova/popisAkcija.aspx?trziste=13&pocinjeSa=e, H:\projects\berza\app\temp.txt
TrayTip DOWNLOADING,Done!
sleep 100
searchString=ELEKTROKRAJINA
Loop, read, H:\projects\berza\app\temp.txt
{
IfInString, A_LoopReadLine, %searchString%
{
MsgBox, The string was found.
MsgBox,%A_LoopReadLine%
string=%A_LoopReadLine%
StringRight, currentPrice, string, 18 ;
StringTrimRight,currentPrice,currentPrice,12
MsgBox, %currentPrice%
TrayTip,%currentPrice%
return
}
}