How to subtract one from a URL with Counters?

JD123

Client
Регистрация
01.07.2011
Сообщения
61
Благодарностей
0
Баллы
0
Hey I'm trying to pull a URL from a txt file and I want to subtract 1 number at the very end and go to that URL. Dark wiz helped me out but I'm still not getting it by myself.

For Example if my website I pull is

www.site.com/url3

then I want to subtract -1 and go to

www.site.com/url2

www.site.com/url1

and so on

So is this what I would do?

1) SET Go To Page (Pull URL from Txt File)

2)Get Macro --->>{-Counter.Set-|-count1-|-{-FieldData.FieldData of Pull URL from Txt File-}-}

3) Get Macro --->>{-Counter.Add-|-count1-|--1-}

4) Then What? I know I'm supposed to go to URL but not sure how to input it.

If anyone can help I would love that I know I'm pretty close just can't get it.
 

JD123

Client
Регистрация
01.07.2011
Сообщения
61
Благодарностей
0
Баллы
0
Nevermind this one I got it took me awhile messing around with it but finally figured it out.
 

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
Javascript?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
No JavaClint!
 

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
Welcome back Captain A-hole! Damn your east-european retort !!! bravo !

==================================

No, but seriously, give up the fu(kin' answer ! ;-)
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
I just had him set up a regex to scrape the page for the newest user ID. Then another to pull the ID# out. Loop to subtract 1 from the result of that and then simply plugging in the counter value to the end of the url.

Easy PEEZY.
 

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