Search found 42 matches

by Robbyn
Mon Nov 20, 2006 12:47 pm
Forum: Beginners
Topic: Let Problem
Replies: 3
Views: 5756

Let Problem

What is wrong with the following:

Day>the_day
Month>the_month
Year>the_year
let>date=the_day+"-"+the_month+"-"+the_year

"date" is not created.

it should contain

2006-10-12 or as the date maybe.
by Robbyn
Tue Nov 14, 2006 7:06 pm
Forum: Beginners
Topic: System file checker
Replies: 7
Views: 9474

The macro worked but not well. The program sent an ALT R to both windows, irrespective.
by Robbyn
Tue Nov 14, 2006 4:48 pm
Forum: Beginners
Topic: System file checker
Replies: 7
Views: 9474

I changed the default data directory to my documents:

F:\My Documents\MacroSchedulerMacros

When I look for the macro I created I can find it in Explorer but not in MSch. What should I do to find it in MSch
by Robbyn
Tue Nov 14, 2006 2:34 pm
Forum: Beginners
Topic: System file checker
Replies: 7
Views: 9474

System file checker

SFC has a problem in that it does not remember that the system cd is in the CD tray and keeps asking for it to be put there or Hit retry. Retry works until the next file it wants to confirm. This macro is intended to hit Retry every time the error window arises. label>start WaitWindowOpen>Windows fi...
by Robbyn
Mon Mar 20, 2006 11:25 am
Forum: Technical / Scripting
Topic: Blank Variable
Replies: 1
Views: 3331

Blank Variable

I have a variable that may contain spaces or text. The spaces are of an unknown length as is the text. I want to test if a variable has no text. How do I code for such a test an I see no trim or asci function?

Robin
by Robbyn
Sun Feb 19, 2006 7:56 pm
Forum: Technical / Scripting
Topic: Setting up a dll
Replies: 9
Views: 9487

What do you mean by "loading of the file into memory"? That is my way of saying sending the results to the scratchpad. As I am dealing with a file of over 2megs I thought I had better also try saving the output to a file. That has not worked and has caused MS to freeze. This is what I did for the f...
by Robbyn
Sun Feb 19, 2006 7:10 pm
Forum: Technical / Scripting
Topic: Setting up a dll
Replies: 9
Views: 9487

I have gone back the loading of the file into memory. I have just tried it and it did not work well. MS froze. Is this the correct setting?

LibFunc>lib,GetPDFText,r,pdffile,2,tempfile,0
by Robbyn
Sun Feb 19, 2006 6:56 pm
Forum: Technical / Scripting
Topic: Setting up a dll
Replies: 9
Views: 9487

What muddled me was the reference to opt: longInt. GetPDFText (FileName: PChar; opt: LongInt; target: PChar; xlspaces: LongInt): PChar I now think that the option is something to control the dll's output and that the error code goes into target. Assuming that is correct I can now understand why I ca...
by Robbyn
Sun Feb 19, 2006 5:33 pm
Forum: Technical / Scripting
Topic: Setting up a dll
Replies: 9
Views: 9487

That worked thanks.

I am trying to get the error code and thought I would find it in
the variable r. The content of r turned out to be a much bigger number = 43980788. Not what I expected at all. So I assume I have the wrong variable.

Can you adjust the libfunc> so as to give me the error code?
by Robbyn
Sun Feb 19, 2006 1:34 pm
Forum: Technical / Scripting
Topic: Setting up a dll
Replies: 9
Views: 9487

Setting up a dll

The dll that I am using has changed and I can not get it to work with MS. MS crashes at the libfunc> ========== Let>lib=I:\My Documents\pdftestjan\PDFtext.dll Let>pdffile=I:\My Documents\pdftestjan\NoAscii.pdf //Call GetPDFText, passing the pdffile and putting result on clipboard LibFunc>lib,GetPDFT...
by Robbyn
Mon Jan 09, 2006 10:03 pm
Forum: Technical / Scripting
Topic: Files and directory structure
Replies: 18
Views: 22292

Thanks. I will use a MS script to do it.
by Robbyn
Mon Jan 09, 2006 7:35 pm
Forum: Technical / Scripting
Topic: Files and directory structure
Replies: 18
Views: 22292

Run Program>%COMSPEC% /c dir i:\testms\*.pdf /s /b> I:

Is there a way of adding to this Dos command so that it filters out the file names with say "dogs" in them? What I mean is temp does not contain files with the word dog in them. I can see how it could be done using MS but can it be done with dos?
by Robbyn
Mon Jan 09, 2006 6:52 pm
Forum: Technical / Scripting
Topic: CPU 100% MS not responding
Replies: 5
Views: 6831

Thank you for your helpful reply. In this instance I have written direct to Marcus with the code. He will probably report back that I have made some error, we shall see.
by Robbyn
Sun Jan 08, 2006 10:52 pm
Forum: Technical / Scripting
Topic: CPU 100% MS not responding
Replies: 5
Views: 6831

CPU 100% MS not responding

First I put a .5 wait into the loop then 1. It is making no difference. For this script I am getting CPU 100% MS not responding. I have tested the same script on a small amount of data and it is not crashing. What should I do?
by Robbyn
Sun Jan 08, 2006 8:39 pm
Forum: Beginners
Topic: Saving a macro to a different name
Replies: 3
Views: 5654


Are you opening the existing macro using the editor, then selecting "save as?"
Yes
Sign up to our newsletter for free automation tips, tricks & discounts