Take a line from the file not working

eugene16

Client
Регистрация
28.03.2012
Сообщения
17
Благодарностей
0
Баллы
0
I found a way around this problem but it makes things difficult.

When I take line from file using the regular expression to parse selected line parameter It either pulls the correct line or a blank line 50% of the time.

What I am doing to go around this is getting block of text and then using a second macro to parse with regular expression, this gets annoying when I want to delete the selected line because I need to pull the whole block of text, delete it, replace line with {-string.eneter-} and then append the left over text back to the file. This leaves a space where the selected line used to be instead of just getting rid of the line.

So is this a bug associated with take line from the file or am I doing something wrong?
 

eugene16

Client
Регистрация
28.03.2012
Сообщения
17
Благодарностей
0
Баллы
0
I spoke to zenno staff and they explained to me that the macro acts in the order that it is typed out.

So since the parameter string number is before reg exp that first a random string is selected, like this:

{-Step 1-|-Step 2-|-Step 3-|-Step 4-}

The Macro acts like this:

{-File.GetString-|-\Results\web2.0.txt-|-random-|-false-|-wordpress.*-}

So Zenno staff has not told me yet but is there a way to get this macro to act like this instead:

{-File.GetString-|-\Results\web2.0.txt-|-wordpress.*-|-false-|-random-} ?
 

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