Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get latest chrome .exe installer from sourceforge
#3
if you decided to use
http://portableapps.com/apps/internet/g ... e_portable

takes less than a second
not sure if they keep that up to date as fast as the other page though
but when i checked now it was up to date

Macro get_chrome2
Code:
Copy      Help
str s
IntGetFile "http://portableapps.com/apps/internet/google_chrome_portable" s
out
HtmlDoc d
d.SetOptions(1|2)
d.InitFromText(s)
ARRAY(MSHTML.IHTMLElement) aLinks aImages
d.GetHtmlElements(aLinks "a")
ARRAY(str) all_paf_links
int i x
str tmp0 tmp1 tmp2 tmp3
str latest_chrome_url
for i 0 aLinks.len
,tmp0=aLinks[i].getAttribute("href" 2)
,tmp1="http://sourceforge.net/projects/portableapps/files/Google%20Chrome%20Portable/Additional%20Versions/GoogleChromePortable_"
,x=find(tmp0 tmp1)
,if(x>=0)
,,all_paf_links[]=tmp0
all_paf_links.sort(9)
latest_chrome_url=all_paf_links[0]
out latest_chrome_url


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)