Search found 8 matches

by Jon12345
Tue May 30, 2006 9:48 am
Forum: Technical / Scripting
Topic: Bug with Until?
Replies: 11
Views: 18918

I am using Version 8.0.3e with Microsoft Visual Basic Scripting Edition.
by Jon12345
Mon May 29, 2006 11:55 am
Forum: Technical / Scripting
Topic: Bug with Until?
Replies: 11
Views: 18918

I hear what you say about the VBScript. But all the script does is retrieve a name from the database. It does this successfully. The next thing the VBScript does is to store a value in the database. It also does that successfully too. Then, Macro Scheduler increments the counter k ready to loop arou...
by Jon12345
Sun May 28, 2006 11:24 pm
Forum: Technical / Scripting
Topic: Bug with Until?
Replies: 11
Views: 18918

I changed the code to protect my privacy on some stuff. I don't have a site at mysite.com for example. It is a different URL. Was this taken into consideration? And MyDB.Open "free_MyArticles" ...free_MyArticles is a MySQL connection using ODBC.
by Jon12345
Sun May 28, 2006 8:57 pm
Forum: Technical / Scripting
Topic: Bug with Until?
Replies: 11
Views: 18918

I did run vbstart and vbend - I just didn't post all the code. The whole lot is below: VBSTART Function GetCustomerName(ArticleID) Dim SQLString set MyDB = CreateObject("ADODB.Connection") MyDB.Open "free_MyArticles" SQLString = "select * from Articles where id = " & ArticleID ' msgbox sqlstring set...
by Jon12345
Sat May 27, 2006 3:19 pm
Forum: Technical / Scripting
Topic: Bug with Until?
Replies: 11
Views: 18918

Bug with Until?

I have am having a problem with the script just crashing when I get to the Until statement at the end. Is this a bug or something wrong with my code? Let>k=560 Repeat>k Let>ArticleID=k VBEval>GetCustomerName("%ArticleID%"),ArticleIDNumber StringReplace>ArticleIDNumber, ,%20,ArticleIDNumber HTTPReque...
by Jon12345
Fri May 26, 2006 5:35 pm
Forum: Technical / Scripting
Topic: Extracting Title Tag text from a variable
Replies: 2
Views: 3914

Oh wow Bob that's a great bit of code. Thank you! Just what I am looking for.
by Jon12345
Fri May 26, 2006 4:00 pm
Forum: Technical / Scripting
Topic: Extracting Title Tag text from a variable
Replies: 2
Views: 3914

Extracting Title Tag text from a variable

I have used HTTPRequest to store a webpage into a variable. Now I want to store the text between the tags into a variable. How can I do that?

Should I be using some of the code from webrecorder?

There is a library function with ExtractTag. Can I use that on a variable or something?

Thanks,
by Jon12345
Fri May 26, 2006 2:37 pm
Forum: Technical / Scripting
Topic: Using %20 in a variable
Replies: 2
Views: 4216

Using %20 in a variable

The code below is not working. I get a "Not Acceptable" message. It works if I remove the %20 and just have DogFood. But it is part of the url so I can't, can I? How can I get around this problem? Thanks, Jon Let>KeywordPhrase=Dog%20Food HTTPRequest>http://mysite.com/cgi-bin/script/script.cgi/?keywo...
Sign up to our newsletter for free automation tips, tricks & discounts