Search found 1381 matches

by support
Mon Dec 19, 2005 2:29 pm
Forum: Technical / Scripting
Topic: Updating macros.dat from a script
Replies: 2
Views: 4474

Not quite sure what you are doing here. Why not just use File/Import Macros?
by support
Mon Dec 19, 2005 2:28 pm
Forum: Technical / Scripting
Topic: Hidden label value in GUI
Replies: 1
Views: 3201

If it is not displayed in View System Windows then it probably doesn't even exist. It may have been destroyed or has not been created. If it is hidden you should still be able to see it under View System Windows and would be able to get text from it using GetControlText.
by support
Mon Nov 28, 2005 10:24 pm
Forum: Beginners
Topic: Where to install
Replies: 9
Views: 10145

Also, if you are recording the macro it will remember the window's position and size and reposition and resize the window in the recorded placement when playing back. But I would try to avoid mouse events as much as possible as keystrokes are not subject to window placement. However, if you are comp...
by support
Fri Nov 25, 2005 10:23 am
Forum: Technical / Scripting
Topic: Using Webfillform with document.forms[0].elements[0].value
Replies: 12
Views: 17761

No, WebRecorder does NO GUI work at all. It uses IE's document object model (DOM) but works at an even lower level than VBScript can and is therefore capable of more. With VBScript you will at some point run into site scripting security restrictions which prevent scripts from automating certain obje...
by support
Fri Nov 25, 2005 9:07 am
Forum: Technical / Scripting
Topic: Using Webfillform with document.forms[0].elements[0].value
Replies: 12
Views: 17761

Seems to be something to do with the IE interface not liking the values being transformed from MacroScript to VBScript in VBRun. VBEval is safer anyway because it evaluates straight VBScript code. But we'll look into it and see if there is anything obvious going on here. I added nul because VBEval e...
by support
Fri Nov 25, 2005 8:32 am
Forum: Technical / Scripting
Topic: Web form automation problem
Replies: 1
Views: 3635

Since you know the name of the form and the name of the form element you might want to try a more direct approach. See this post:
http://www.mjtnet.com/forum/viewtopic.php?p=9843#9843
by support
Fri Nov 25, 2005 8:22 am
Forum: Technical / Scripting
Topic: Using Webfillform with document.forms[0].elements[0].value
Replies: 12
Views: 17761

Hi, Not sure why but I get an error using a vb subroutine, but it works with a vb function. This works for me: VBSTART Dim IE Sub CreateIE Set IE = CreateObject("InternetExplorer.Application") IE.Visible=1 End Sub Sub Navigate(URL) IE.Navigate URL do while IE.Busy loop End Sub Sub KillIE IE.Quit Set...
by support
Fri Nov 25, 2005 8:05 am
Forum: Technical / Scripting
Topic: unexpected characters
Replies: 4
Views: 5406

Yes, sounds like Shift is pressed. In your example most of the characters that you said were being sent are what would be sent if you had shift down while sending the keys you wanted to (shift-7 = &, shift-V = v, shift-1 = !, shift-0 = )) - on a regular uk/us keyboard anyway. Earlier in your script ...
by support
Thu Nov 24, 2005 8:15 pm
Forum: Technical / Scripting
Topic: Using Webfillform with document.forms[0].elements[0].value
Replies: 12
Views: 17761

Pretty much in the same way: VBSTART Dim IE Sub CreateIE Set IE = CreateObject("InternetExplorer.Application") IE.Visible=1 End Sub Sub Navigate(URL) IE.Navigate URL do while IE.Busy loop End Sub Sub KillIE IE.Quit Set IE = nothing End Sub Sub DoIt IE.Document.forms(0).elements(0).value="hello dolly...
by support
Wed Nov 23, 2005 3:16 pm
Forum: Technical / Scripting
Topic: Minimise all windows
Replies: 5
Views: 6099

Oh yes, you're absolutely right! Many of the ize or ise endings are interchangeable and not necessarily English or American. In fact a lot of the American spellings which some British say are wrong, are in fact the original English spelling and it is us Brits that have changed them over the years :-)
by support
Wed Nov 23, 2005 11:04 am
Forum: Technical / Scripting
Topic: Minimise all windows
Replies: 5
Views: 6099

... Although we're in the UK we tend to spell stuff like that in American English as a) that's how it appears in Windows (even if you have UK English selected in Regional Options!) and b) the majority of our customers are in the USA after all ...
by support
Wed Nov 23, 2005 10:50 am
Forum: Technical / Scripting
Topic: Minimise all windows
Replies: 5
Views: 6099

You probably didn't find this when you tried searching the forums because it's written in American English:

http://www.mjtnet.com/forum/viewtopic.p ... ze+windows
by support
Wed Nov 23, 2005 8:07 am
Forum: Technical / Scripting
Topic: Running a script on a mac?
Replies: 1
Views: 3312

No.
by support
Wed Nov 23, 2005 8:05 am
Forum: Technical / Scripting
Topic: Running a script on all files in a Directory
Replies: 5
Views: 6327

Use GetFileList.
by support
Mon Nov 21, 2005 9:39 pm
Forum: Beginners
Topic: send> command prob.
Replies: 5
Views: 6182

You really need to run through this with the debugger to see what is happening. I would add a message box or timestamp command just after the Show command to display/log the value of the edit field. Then you can see at each iteration what the value is to be sure it's set in the dialog. If so then th...
Sign up to our newsletter for free automation tips, tricks & discounts