Exiting a loop when macro returns an empty line?

Dr_Scythe

Новичок
Регистрация
04.07.2011
Сообщения
10
Благодарностей
0
Баллы
0
Alright I'm racking my brain about how to do this and I don't know what's wrong >_>

Basically I'm creating a scraper similar to the one posted by IAmTheDarkWiz and outlined in this youtube video : http://www.youtube.com/watch?v=OFdd91R4L9o

In the video he exits the loop by using a an unsuccessful step branch exit to go to a pause. For some reason when i do the same and test it out in debug when the macro starts returning a blank value it doesn't use the unsuccessful step branch exit and just keeps going along the loop.

I have also tried adding a logic expression to the loop:
'{-FieldData.FieldData-|-●8●2●3●2●4●3●-|-Get Title-}'!=''
With the True value continuing the loop and the False exiting the loop

Unfortunately when I test this in debug the logic operation fails when the test has ' in it and exits the loop early.

Any ideas? Answering either question should fix my template!
 

archel

Client
Регистрация
02.05.2011
Сообщения
175
Благодарностей
22
Баллы
18
Can't you input a replace macro to replace ' by nothing before you do a logic operation?
 

Dr_Scythe

Новичок
Регистрация
04.07.2011
Сообщения
10
Благодарностей
0
Баллы
0
Not sure I quite understand what you're saying?

Could you clarify with an example?
 

Dr_Scythe

Новичок
Регистрация
04.07.2011
Сообщения
10
Благодарностей
0
Баллы
0
Oh right duh yea I worked out what you meant. Remove the ' from the text so the logic expression doesn't break.

I guess that's my backup plan :-)
 

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