Search found 8 matches
- Tue May 30, 2006 9:48 am
- Forum: Technical / Scripting
- Topic: Bug with Until?
- Replies: 11
- Views: 18918
- 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...
- Sun May 28, 2006 11:24 pm
- Forum: Technical / Scripting
- Topic: Bug with Until?
- Replies: 11
- Views: 18918
- 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...
- 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...
- Fri May 26, 2006 5:35 pm
- Forum: Technical / Scripting
- Topic: Extracting Title Tag text from a variable
- Replies: 2
- Views: 3914
- 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,
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,
- 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...