Skip to content
toggle menu
GSA SEO Forum
GSA SEO Forum
Categories
Mark All Viewed
GSA
Manuals
Donate
Categories
Mark All Viewed
GSA
Manuals
Donate BTC
Donate PayPal
Sign In
Register
Sign In
·
Register
×
Home
›
GSA SEO Indexer
Can i import a file with the url by command line?
yenerich
February 2015
in
GSA SEO Indexer
@sven
I need to import the text file with the urls automatically, how an i do it?
Its possible?
Best Regards
Comments
Sven
www.GSA-Online.de
February 2015
sorry thats not possible. But you can send URLs using some sendmessage(handle...) if you code yourself a small program.
yenerich
February 2015
@sven
Great, what parameters do i need to send by using sendmessage other than the handle?
Sven
www.GSA-Online.de
February 2015
CopyData.dwData:=15697;
CopyData.cbData:=Length(url)+1;
CopyData.lpData:=pchar(url);
SendMessage(h,WM_COPYDATA,form1.handle,Integer(
@CopyData))
;
yenerich
February 2015
@sven
the first h is the handle of the application?
Sven
www.GSA-Online.de
February 2015
yes
yenerich
February 2015
Im having some problem doing this, dont know why, pchar is a pointer to the string, right?
Im finding fine the form1.handle, im being able to even change the title of the window succesfully.
You url variable is a simple string, right?
@CopyData
is a pointer, right. Buts send like Int.
Well, i will continue trying.
Sven
www.GSA-Online.de
February 2015
CopyData is a defined data structure from windows.
Sign In
or
Register
to comment.
Comments
CopyData.cbData:=Length(url)+1;
CopyData.lpData:=pchar(url);
SendMessage(h,WM_COPYDATA,form1.handle,Integer(@CopyData));