Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extracting data from site and save in a TXT file
#1
Hi,
I am trying to make a macro: how can I extract text from a website and save it in a txt file?
I tried:

Acc a=acc("" "LINK" " Internet Explorer" "Internet Explorer_Server" "" 0x1100 208 556)
_s.format("%s" a);
_s.setfile("D:\Documents and Settings\Administrator\My Documents\TEST.txt" -1 -1 1)


- doesn't work -

I tried "GET TEXT" from "HTML elements actions". "Accessible object actions". I tried everything.

By the way, the text I am trying to extract is a link.

Thanks for your help

Massa
#2
I got it working!!!

Acc a=acc("" "LINK" " Internet Explorer" "Internet Explorer_Server" "" 0x1100 208 556)
str name=a.Name
_s=name; _s.setfile("D:\Documents and Settings\Administrator\My Documents\test.txt" -1 -1 1)


:lol: :lol:


Forum Jump:


Users browsing this thread: 1 Guest(s)