Search found 6998 matches

by Marcus Tettmar
Tue Nov 29, 2005 10:48 pm
Forum: General Discussion
Topic: Forum Question
Replies: 2
Views: 3905

Because it fits the overall site layout and keeps the site together.
by Marcus Tettmar
Tue Nov 29, 2005 8:52 pm
Forum: Technical / Scripting
Topic: a Let> question
Replies: 5
Views: 5361

Yes, of course. Use a loop:

Let>k=1
Repeat>k
Let>ms%k%=yes
Let>k=k+1
Until>k=20
by Marcus Tettmar
Tue Nov 29, 2005 8:50 pm
Forum: Technical / Scripting
Topic: Using WebRecorder with a Remote Desktop
Replies: 4
Views: 5464

No, that won't work. All that is transferred from client to server in these situations is mouse events and keyboard events. You could use Macro Scheduler's macro recorder to record keyboard and mouse events but it will not be able to sense or focus windows within the remote desktop session because i...
by Marcus Tettmar
Tue Nov 29, 2005 6:35 pm
Forum: Technical / Scripting
Topic: SMTPSendMail Priority
Replies: 2
Views: 4373

Yes, should do. That's the right way to add headers. Another way to send email is detailed here:
http://www.mjtnet.com/forum/viewtopic.php?t=1663
by Marcus Tettmar
Tue Nov 29, 2005 8:28 am
Forum: Technical / Scripting
Topic: ADODB ACCESS MDB Problem
Replies: 2
Views: 3942

Hi, SIQ is a literal in your SQL string: MyDB.Execute = "Update SCHE Set SIQ = ('" & NewPROG & "')" I think you mean: MyDB.Execute = "Update SCHE Set " & SIQ & " = ('" & NewPROG & "')" However, I notice that you have embedded a CRLF (carriage return and line feed) character pair in the variable. Thi...
by Marcus Tettmar
Mon Nov 28, 2005 4:04 pm
Forum: Technical / Scripting
Topic: HTTPRequest quirk I'm experiencing: HTMLResponse Variable
Replies: 24
Views: 35605

Use the native Position command instead of the Complex Expression Pos command as it can cope with longer strings.
by Marcus Tettmar
Mon Nov 28, 2005 9:42 am
Forum: Technical / Scripting
Topic: HTTPRequest quirk I'm experiencing: HTMLResponse Variable
Replies: 24
Views: 35605

There's really no need to replace quotes with another character. Replacing quotes with double quotes is fine.
by Marcus Tettmar
Mon Nov 28, 2005 8:47 am
Forum: Technical / Scripting
Topic: ReadIniFile default directory ?
Replies: 5
Views: 5884

Me_again wrote:I'm trying to create a compiled program that will work in any directory, what am I doing wrong?
In that case use %SCRIPT_DIR% which is always set to the directory of the running script or executable:

ReadIniFile>%SCRIPT_DIR%\myini.ini,data,outfile,oufile
by Marcus Tettmar
Mon Nov 28, 2005 8:44 am
Forum: Technical / Scripting
Topic: HTTPRequest quirk I'm experiencing: HTMLResponse Variable
Replies: 24
Views: 35605

5.) My syntax/Error Parsing errors occur on the: Let>at={Pos("it.aspx",%HoldHTMLResponse%)} command I never reach the MessageModal>Got To Here. command Joel S. I expect the problem is that HoldHTMLResponse has quote marks (") in it. In Complex Expressions (and, in VBScript) these are string delimit...
by Marcus Tettmar
Mon Nov 28, 2005 8:33 am
Forum: Technical / Scripting
Topic: Schedule enabling issue
Replies: 3
Views: 3872

I'll check this out. When you save the macro from the editor/macro properties, everything pertaining to it is saved. Most other times macros.dat is not saved to disk until Macro Scheduler is exited. If you disable the macro it should save that change when Macro Scheduler is exited. It shouldn't matt...
by Marcus Tettmar
Sun Nov 27, 2005 10:29 pm
Forum: Technical / Scripting
Topic: VBScript Quit versus Exit
Replies: 5
Views: 8123

Ok, well I must be missing something here because surely you'd just use the following construction: If drivetray NOT open .. create the folder .. and do whatever you need to do Else .. clean up code if required EndIf Split the code up into manageable subroutines and functions if it helps but I reall...
by Marcus Tettmar
Sun Nov 27, 2005 7:36 pm
Forum: Technical / Scripting
Topic: VBScript Quit versus Exit
Replies: 5
Views: 8123

Surely instead of Exit you just need more organised logic .... ;-)

Can't you if/then/else/endif around what should/shouldn't happen according to certain conditions?
by Marcus Tettmar
Sun Nov 27, 2005 7:02 pm
Forum: Technical / Scripting
Topic: VBScript Quit versus Exit
Replies: 5
Views: 8123

You really want to put the code into a VBScript function. Then you can call it from outside the VBSTART/VBEND block and act accordingly. I might not have followed what your code is meant to do entirely but the general idea would be something like this: VBSTART Function IsReady 'whatever if (Drive.Is...
by Marcus Tettmar
Sun Nov 27, 2005 5:26 pm
Forum: Technical / Scripting
Topic: FTPPutFile>Displaying Password
Replies: 10
Views: 9308

I'm not sure I follow.
by Marcus Tettmar
Sun Nov 27, 2005 3:49 pm
Forum: Technical / Scripting
Topic: HTTPRequest quirk I'm experiencing: HTMLResponse Variable
Replies: 24
Views: 35605

It would help if we knew which line the error occured on. Please step through with the debugger to determine the exact line that is throwing the error. On guess is this line: If>{(%somevalue% >= 32) AND (%somevalue% <= 127)} Here you are using complex expressions and in this format it expects a nume...
cron
Sign up to our newsletter for free automation tips, tricks & discounts