Search found 6998 matches

by Marcus Tettmar
Sat Dec 10, 2005 10:48 am
Forum: General Discussion
Topic: Please Kill Trailing Space Warnings within Comment Blocks
Replies: 2
Views: 5034

Good point. Thanks for pointing that out.
by Marcus Tettmar
Fri Dec 09, 2005 8:33 pm
Forum: General Discussion
Topic: Detect Registry Keys and Values
Replies: 11
Views: 14008

I know. But read my post again. I said:

Regedit /e:a

/e:a outputs in ascii.
by Marcus Tettmar
Fri Dec 09, 2005 8:04 pm
Forum: General Discussion
Topic: Detect Registry Keys and Values
Replies: 11
Views: 14008

Um, if you want to read the file in as a text file you need to export it as an ascii text file: REGEDIT /E:A filename [regpath] /E:A exports to ascii text .... Or, even better, you can get a list of registry values using good old vbscript: VBSTART Const HKEY_CURRENT_USER = &H80000001 Const HKEY_LOCA...
by Marcus Tettmar
Fri Dec 09, 2005 7:37 pm
Forum: Technical / Scripting
Topic: finding a javascript button in a webpage?
Replies: 8
Views: 8162

No help. Need the URL and need to be able to access the page otherwise we can't analyse it. Need to see the source and be able to enumerate the objects within it using VBScript.
by Marcus Tettmar
Fri Dec 09, 2005 6:15 pm
Forum: Technical / Scripting
Topic: SQL 'update' syntax
Replies: 2
Views: 3880

Usually:

UPDATE table_name SET field1=value1, field2=value2, field3=value3 WHERE etc ....
by Marcus Tettmar
Fri Dec 09, 2005 2:11 pm
Forum: Technical / Scripting
Topic: Can't Focus on a window without title.Focus using ClassName?
Replies: 3
Views: 5025

Do this:


LibFunc>user32,FindWindowA,hWnd,FNWNS390,
Let>WIN_USEHANDLE=1
SetFocus>hWnd
Let>WIN_USEHANDLE=0
by Marcus Tettmar
Fri Dec 09, 2005 8:25 am
Forum: Technical / Scripting
Topic: variables in Run Program>
Replies: 1
Views: 3084

Try this:

Let>CmdLine=C:\qwerty.exe %id%.dump %id%.out
Run Program>CmdLine
by Marcus Tettmar
Fri Dec 09, 2005 7:52 am
Forum: Technical / Scripting
Topic: finding a javascript button in a webpage?
Replies: 8
Views: 8162

Any chance you can post the URL of the page? That way we might be able to provide some example code.
by Marcus Tettmar
Thu Dec 08, 2005 11:31 pm
Forum: Technical / Scripting
Topic: finding a javascript button in a webpage?
Replies: 8
Views: 8162

No, you don't have to edit the page. You can use VBScript within Macro Scheduler. Internet Explorer is an ActiveX component which you can utilise in Macro Scheduler via VBScript. You can create an IE object, navigate to a page and then access that page's underlying HTML objects via the Document Obje...
by Marcus Tettmar
Thu Dec 08, 2005 10:00 pm
Forum: Technical / Scripting
Topic: finding a javascript button in a webpage?
Replies: 8
Views: 8162

An easier way to find html objects is to access the Internet Explorer Documet Object Model directly via VBScript. Search for InternetExplorer.Application on this forum for examples.
by Marcus Tettmar
Thu Dec 08, 2005 8:45 pm
Forum: Technical / Scripting
Topic: Automate a batch file for software deployment using MS
Replies: 4
Views: 6251

You should be able to wait for the window with the finish button and then send the enter key to click it. Alternatively, as you suggest, wait 5 minutes and then shut down the PC: //wait 5 mins Let>wait_time=60*5 Wait>wait_time //Forced Reboot ShutDownWindows>4 If ShutDownWindows fails try this appro...
by Marcus Tettmar
Thu Dec 08, 2005 8:24 am
Forum: Enhancement Suggestions
Topic: Preserve Log files option
Replies: 5
Views: 9720

You could just write a script to archive log files if they are over a certain size: FileSize>Logfile,size If>size>max_size Year>yy Month>mm Day>dd MoveFile>Logfile,LogFile.%yy%%mm%%dd% Endif Our web server has a log rotate script running under a cron job which does the same kind of thing. You could ...
by Marcus Tettmar
Wed Dec 07, 2005 1:35 pm
Forum: Technical / Scripting
Topic: HTTP Request and page security
Replies: 8
Views: 9262

Please try downloading WebRecorder again. We uploaded a change to the download page and made a mistake with the filename! It is fixed now and you should be able to download ok. Your page has three forms. One with hidden fields, another which is just the username. The username is converted to upperca...
by Marcus Tettmar
Wed Dec 07, 2005 10:02 am
Forum: Technical / Scripting
Topic: HTTP Request and page security
Replies: 8
Views: 9262

Then the Javascript must be doing something to the password. In which case HTTPRequest won't handle it. ps. i realy would like to stick to Macro Scheduler Pro that i am using without having to use WebRecorder. WebRecorder doesn't stop you using Macro Scheduler Pro. WebRecorder Creates Macro Schedule...
by Marcus Tettmar
Wed Dec 07, 2005 8:41 am
Forum: Technical / Scripting
Topic: HTTP Request and page security
Replies: 8
Views: 9262

There's a fair bit of javascript stuff going on so it may not work but if you look at the form here: Then your post data would look like this: prog=user_login_nice&user_id=USERNAME&user_psw=PASSWORD Replace USERNAME and PASSWORD with your username and password. If it doesn't work, use WebRecorder to...
Sign up to our newsletter for free automation tips, tricks & discounts