Search found 438 matches

by adroege
Tue Feb 22, 2011 12:35 pm
Forum: Technical / Scripting
Topic: Search for text on a website
Replies: 2
Views: 3400

Here is a simple example to get you started which uses the HTTPRequest> command and simple parsing techniques. // Show the results of a parsed webpage inside a Dialog Dialog>Dialog1 Caption=Dialog1 Width=403 Height=301 Top=150 Left=31 Edit=msEdit1,80,40,81, Label=ZipCode,24,40,true Button=Go,232,40,...
by adroege
Fri Feb 18, 2011 9:17 pm
Forum: Beginners
Topic: Enter a text at a constant speed
Replies: 3
Views: 6694

Even Easier!

Code: Select all

Let>SK_DELAY=350

Send>Hello
by adroege
Fri Feb 18, 2011 4:45 pm
Forum: Technical / Scripting
Topic: HTTPRequest with graphs
Replies: 2
Views: 3518

but the resulting file doesn’t include bar graphs Are you opening the resulting file in a browser? Maybe there is javascript code which needs to execute in the browser - and just looking at the file in a text editor is not showing what you expect. I would need to be able to hit your URL to debug ...
by adroege
Thu Feb 17, 2011 6:45 pm
Forum: Beginners
Topic: httpRequest on google
Replies: 10
Views: 13500

I use FireFox browser. Install the Add-on called "Web Developer" I installed the latest version "Web Developer 1.1.9 Then when you have a web page showing on screen, there are many things the "Web Developer Add-on" can do for you. What I did is select an option which dynamically changes form methods...
by adroege
Thu Feb 17, 2011 6:38 pm
Forum: Technical / Scripting
Topic: Access Violation using Tray Icons
Replies: 10
Views: 10906

Something similar to this might work for you. Windows which are minimized to the task bar usually will show a few characters of their caption. By updating the caption to show your percentage complete, this should be visible while you are actively clicking buttons in a foreground application. I only ...
by adroege
Thu Feb 17, 2011 12:36 pm
Forum: Beginners
Topic: httpRequest on google
Replies: 10
Views: 13500

This works for me. It translates from English to French To not have to view the results in a browser (like I did here) you would have to parse the answer out of the HTML and view just the result. Let>txt=hello Let>url=http://babelfish.yahoo.com/translate_txt?ei=UTF-8&doit=done&fr=bf-res&intl=1&tt=ur...
by adroege
Wed Feb 16, 2011 7:24 pm
Forum: Beginners
Topic: httpRequest on google
Replies: 10
Views: 13500

This may help you - it's an example I built a long time ago. -------------------- Here is a simple example built with version 10 of Macro Scheduler. Version 12 has MUCH greater control over Dialogs and so you have many more creative options with that version. Version 12 should run this code also sin...
by adroege
Wed Feb 16, 2011 7:06 pm
Forum: Beginners
Topic: httpRequest on google
Replies: 10
Views: 13500

Well when I ran your code nothing appeared to happen because the message box popped up BEHIND the main window.

Changing this to a MessageModal> solved this problem.


Then I was able to see a great deal of HTML returned.


So can you clarify your problem?
by adroege
Tue Feb 15, 2011 9:21 pm
Forum: Technical / Scripting
Topic: trouble understanding CompareBitmaps
Replies: 3
Views: 3255

Let me know if adding this setting changes anything....

Code: Select all

Let>FIP_SCANPIXELS=ALL
by adroege
Tue Feb 15, 2011 6:30 pm
Forum: Technical / Scripting
Topic: Passing variables to VBScript
Replies: 2
Views: 5427

This should give you the right idea..... I couldn't test it but the syntax is mostly correct :) VBSTART Function GetIn(host) Dim WshShell, oExec, input Set WshShell = CreateObject("WScript.Shell") Set oExec = WshShell.Exec("sc.exe \\" + host + " query LIveUpdate") input = "" Do While True If Not oEx...
by adroege
Tue Feb 15, 2011 11:25 am
Forum: Beginners
Topic: Changing HTM file
Replies: 4
Views: 6937

Is there a way to use Scheduler to change the background colour on a local html file.
Sure. There are plenty of File I/O functions and String processing functions to perform this task. There are also RegEx (regular expressions) support to make this task easier.
by adroege
Tue Feb 15, 2011 4:15 am
Forum: Beginners
Topic: httpRequest on google
Replies: 10
Views: 13500

Try this. Be sure to read the section of Macro Scheduler on how to enable SSL support because this is using a URL of https let>txt=hello //Get your own Google_api_key here: //https://code.google.com/apis/console/ Let>Google_api_key=AIasdasdkULliuliNINIIIadasd2 HTTPRequest>https://www.googleapis.com/...
by adroege
Tue Feb 15, 2011 1:49 am
Forum: Technical / Scripting
Topic: Couple questions
Replies: 22
Views: 18225

This example should help you out. It will parse the HTML apart into individual string variables //Parse HTML Let>MSG_WIDTH=300 Let>MSG_HEIGHT=300 //Using WebRecorder or some other method //Enter the BRT number and submit the form //Then capture the resulting HTML response to //a file or a string var...
by adroege
Mon Feb 14, 2011 7:56 pm
Forum: Technical / Scripting
Topic: Couple questions
Replies: 22
Views: 18225

Yes, you are correct.

That is why the ability to parse apart the HTML using Regx (or some other method) is going to be the most helpful, I think.
Sign up to our newsletter for free automation tips, tricks & discounts