Search found 438 matches

by adroege
Fri Apr 01, 2011 6:38 pm
Forum: Technical / Scripting
Topic: Can't ClickTag with WebRecorder
Replies: 8
Views: 8233

There are even too many instances when Excel is wrong to go that route.
WHAT ????????


My suggestions don't involve Excel. You merely need to "escape" the string before you send it to a web service.
by adroege
Fri Apr 01, 2011 6:05 pm
Forum: Technical / Scripting
Topic: Can't ClickTag with WebRecorder
Replies: 8
Views: 8233

Code: Select all


VBSTART
VBEND

Let>FieldValue={"3+1"} 
VBEval>escape("%FieldValue%"),FieldValue
by adroege
Fri Apr 01, 2011 3:27 pm
Forum: Technical / Scripting
Topic: GetTextInRect in Firefox 4
Replies: 11
Views: 11956

This way I would have to work in another algorithm to process the text from the clipboard. Usually this is as simple as: Let>Clipboardtext=Blah Blah Blah Blah Success! Blah Blah Blah Blah Let>StringToSearchFor=Success! Position>StringToSearchFor,Clipboardtext,1,result If>result>0 MessageModal>The r...
by adroege
Fri Apr 01, 2011 1:52 pm
Forum: Technical / Scripting
Topic: GetTextInRect in Firefox 4
Replies: 11
Views: 11956

Try giving the popup window the focus and then doing


Press Ctrl
Wait>0.1
Send>a
Wait>0.1
Release Ctrl

Wait>0.1
Press Ctrl
Wait>0.1
Send>c
Wait>0.1
Release>Ctrl
Wait>0.1

GetClipBoard>result
by adroege
Thu Mar 31, 2011 2:21 pm
Forum: Technical / Scripting
Topic: Unusual problem with SMTPSendMail to Amazon Kindles
Replies: 9
Views: 8338

Just to isolate Macro Scheduler.... Did you try sending
the email to the Kindle from another email client?

Try sending from Yahoo web mail, or Thunderbird, or GMail to see if those get through. If not, then at least we know it's probably not the fault of Macro Scheduler.
by adroege
Tue Mar 29, 2011 1:31 pm
Forum: Technical / Scripting
Topic: Apps that can't receive Send output?
Replies: 14
Views: 16146

I'm on 8.x Just a thought here... The browser is MUCH more than just one exe in the system..... it is made up of quite a few DLL's which are used ALL OVER the Operating System to do stuff. The TradeStation may also be using functions contained within those DLL's Before I gave up on this, If it were...
by adroege
Tue Mar 29, 2011 12:15 pm
Forum: Technical / Scripting
Topic: Apps that can't receive Send output?
Replies: 14
Views: 16146

Is TradeStation a compiled desktop application or does it run inside a browser? On the website for Trade Station they mention as system requirements that Microsoft Internet Explorer 7.x is ABSOLUTELY required. I'm thinking that most people by now have 8.x, so you might want to check that you have 7....
by adroege
Fri Mar 25, 2011 8:25 pm
Forum: Technical / Scripting
Topic: Problem with FTPPutFile
Replies: 2
Views: 3845

I have used this command with success many times in the past. What version of Macro Scheduler are you using? You may need to supply the server,username,password you are using in order for one of us to replicate your problems. Can you upload to this server using another FTP client (FileZilla) or simi...
by adroege
Mon Mar 21, 2011 3:31 pm
Forum: Technical / Scripting
Topic: Creating Delphi 7 DLL callable by LibFunc
Replies: 1
Views: 3552

Creating Delphi 7 DLL callable by LibFunc

I am needing to create a custom DLL in Delphi7 that can be called from within Macro Scheduler using the LibFunc> method. My first attempt causes LibFunc> to produce an access violation and lock up Macro Scheduler. Can someone who as done this post the Delphi source code for a very simple example to ...
by adroege
Mon Mar 14, 2011 9:20 pm
Forum: Technical / Scripting
Topic: Progress bar
Replies: 5
Views: 6568

Here is a simpler example for you. It starts as soon as the script starts. Normally you update a progress bar as code in your program executes. Here it is updated all in one loop. Change the increment amount, wait, etc to suit your situation. //Progress bar dialog Dialog>dlgProgress Caption=Progress...
by adroege
Fri Mar 11, 2011 4:29 pm
Forum: Beginners
Topic: OLD versions?
Replies: 2
Views: 5091

Have you tried adding this line to the top of your macro?

Let>WIN_SLEEP=1

WIN_SLEEP
Set to 1 to decrease CPU usage for (but slow down) WaitWindowOpen/Closed and OnEvent WINDOW_OPEN/NOTOPEN.
by adroege
Thu Mar 10, 2011 3:37 pm
Forum: Technical / Scripting
Topic: How to have parameters ByRef?
Replies: 8
Views: 8845

Marcus,

In trying to understand your example, I constructed this. Why
doesn't VBEval>z,r return 8 as I would expect?

Thanks.

Code: Select all

VBSTART
Function t(byref x, byref y, byref z)
 z = x + y
 t=1
End Function
VBEND

VBEval>y=1,r
VBEval>x=7,r
VBEval>z=0,r
VBEval>t(x,y,z),res
VBEval>z,r
by adroege
Wed Mar 09, 2011 3:53 pm
Forum: General Discussion
Topic: Problem with macro
Replies: 7
Views: 12760

Marcus,

Can you provide some explanation here? Is there a lesson to be learned?

I would have never guessed that when calling an EXE it would matter if I used ExecuteFile instead of RunProgram

?
?
?
?
by adroege
Mon Mar 07, 2011 11:58 am
Forum: Technical / Scripting
Topic: import binary exe
Replies: 2
Views: 4109

Quoted from the help file ExportData>Data_Label,Filename Exports binary data from the script to the specified file. Use this in conjunction with Tools/Import Binary File in the editor. This allows you to include binary files in your scripts and export them for use at run time. Abbreviation: EXP Exam...
by adroege
Thu Mar 03, 2011 3:23 pm
Forum: General Discussion
Topic: Problem with macro
Replies: 7
Views: 12760

Not sure if this is your problem, however It has been known to cause problems in the past so I'll mention it. Sometimes Macro Scheduler can send keystrokes faster than an application can process them. So for instance where you do this: Press Left * 14 Instead do this: Let>r=0 Repeat>r Add>r,1 Wait>0...
Sign up to our newsletter for free automation tips, tricks & discounts