How to grab the first line in txt file and how to save a link?

ibmethatswhoib

Новичок
Регистрация
06.02.2011
Сообщения
42
Благодарностей
0
Баллы
0
I'm trying to grab 1 email address from a txt file and put it in the email address line of a registration page. I went to files and directories macro then to take a line from a file then put in the location of the txt file I want to pull from and put "string number" to 1 is that right? cuz I want the first line taken? It's not working in debug though. Not sure what I'm doing wrong, I'm a newbie obviously..

Also if you can help me on how to copy a url into a txt file that would help also.

Thanks
 

ibmethatswhoib

Новичок
Регистрация
06.02.2011
Сообщения
42
Благодарностей
0
Баллы
0
nevermind sorry, I figured it out gotta put a 0...But I'm still not sure how to copy a url to a txt file hopefully I can figure that out also.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113

ibmethatswhoib

Новичок
Регистрация
06.02.2011
Сообщения
42
Благодарностей
0
Баллы
0
I may be missing something but to me that looks like it's saving the username and password not the final link URL?
 

shinigami

Client
Регистрация
01.05.2011
Сообщения
164
Благодарностей
91
Баллы
0
here you are:
1) to get url of current page I use javascript: document.write(location.href);
2) I get source of page and parse it to find url
3) save it to a file
 

Вложения

  • Спасибо
Реакции: ibmethatswhoib

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Or you can use Get-->Step Branch-->Get-->WebBrowser and then pick in Parameter's name: Get page URL. Save that to your file.
 

ibmethatswhoib

Новичок
Регистрация
06.02.2011
Сообщения
42
Благодарностей
0
Баллы
0
Awesome guys thanks! So how do save different urls 1 after the other.

Like if I save the first URL in the txt file then save the next one and not overwrite and delete the first one?
 

shinigami

Client
Регистрация
01.05.2011
Сообщения
164
Благодарностей
91
Баллы
0
when you add next line to the file previous lines won't be overwritten. It will be appended to the next line.
 

ibmethatswhoib

Новичок
Регистрация
06.02.2011
Сообщения
42
Благодарностей
0
Баллы
0
Can someone helpful PM me with your email address. I can send you what I created and if you can just add on what I need to add to save the URL that would help soooo much. I just need to see it done once, I'm not really getting it.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
You can contact me on skype
 

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)