Search found 31 matches

by Luciano
Tue Dec 06, 2005 9:54 am
Forum: Technical / Scripting
Topic: Default button declaration in a dialog.
Replies: 9
Views: 10843

Hi Dick,

After careful re-reading Marcus comment, I found a new work around. Just before the second modal dialog, I put a non modal dialog followed with a PUSHBUTTON command to the “Yesâ€Â
by Luciano
Mon Dec 05, 2005 10:59 pm
Forum: Technical / Scripting
Topic: Default button declaration in a dialog.
Replies: 9
Views: 10843

Thanks again Dick. Your work around works fine. I give it a try in the complete dialog, a little bit more complicated, but I’m sure it will works perfectly.
Also thanks to Marcus for his clarification. It’s so simple …..if you have enough background information.

Greetings.
Luciano
by Luciano
Mon Dec 05, 2005 6:04 pm
Forum: Technical / Scripting
Topic: Default button declaration in a dialog.
Replies: 9
Views: 10843

Thanks Dick for the research and the confirmation of the problem.
I have the same configuration. Win XP pro with SP2 and MS version 7.4.009

Greetings.
Luciano
by Luciano
Mon Dec 05, 2005 11:08 am
Forum: Technical / Scripting
Topic: Default button declaration in a dialog.
Replies: 9
Views: 10843

Default button declaration in a dialog.

Run the following script: Dialog>Dialog1 Caption=Dialog1 Width=445 Height=250 Top=24 Left=410 Edit=msEdit1,72,24,281,Message xyz Button=Yes,48,128,75,25,5 Button=No,288,128,75,25,6 Default=Yes EndDialog>Dialog1 Show>dialog1,r Wait>1 Show>dialog1,r message>%r% If one choose “Noâ€Â
by Luciano
Wed Oct 12, 2005 7:19 am
Forum: Beginners
Topic: Macro Scheduler Information: "Error - Label Not FOUND!&
Replies: 3
Views: 5891

HI,

Don' t forget. Labels are case sensitive !

Greetings

Luciano
by Luciano
Fri Sep 16, 2005 8:52 am
Forum: Beginners
Topic: WaitPixelColor problem
Replies: 31
Views: 44794

Take a look to the BLOCKINPUT statement. Touching the mouse while the script is running can move the mouse cursor between statements. Blocking the input is the only way to be sure that the LCLIK executes on the correct coordinate. Possible this does not solve your problem, but’s a good practi...
by Luciano
Thu Sep 01, 2005 8:58 am
Forum: Enhancement Suggestions
Topic: Open window hehind Dialog Designer
Replies: 0
Views: 5974

Open window hehind Dialog Designer

Support, Start the dialog designer and put a button (or image object) in the dialog window. Select the button and change the object properties of this button (F11). Select the browser button in the "TBitBtn Properties" window for selecting an image file. The open window appears not on top but behind...
by Luciano
Mon Aug 29, 2005 9:49 am
Forum: Technical / Scripting
Topic: DDERequest and Excel Tip
Replies: 8
Views: 12500

Bob, you have made me a happy man with jour DDERequest syntax struggling. Sometimes I have the impression that the software experts (like you) know everything, but this prove that there also have too learn the correct syntax, and this is not always so obvious. You are a lucky man, in this specific c...
by Luciano
Mon Jul 18, 2005 5:16 pm
Forum: Technical / Scripting
Topic: how can I detect,if a network driver is installed on my PC?
Replies: 5
Views: 8883

Hi,

If you want to test the existence of a file or directory on a network drive, use the following command.


IfFileExists>\\server_XYZ\dir_XYZ\file_XYZ,found,not_found
IfDirExists>\\server_XYZ\dir_XYZ,found,not_found


Note it can take several seconds to execute this commands.

Greetings
Luciano
by Luciano
Fri Jul 08, 2005 7:26 pm
Forum: Technical / Scripting
Topic: %%k%%
Replies: 4
Views: 6712

Try to use an array variable. Your example looks than as follow:

Let>name[1]=nameA
Let>name[2]=nameB
Let>name[3]=nameC

Let>k=0
Label>again
Let>k=k+1
Message>name[%k%]
wait>1
If>k=3,end,again

Label>end


Success

Luciano
by Luciano
Wed Jul 06, 2005 8:59 am
Forum: Technical / Scripting
Topic: waitWindowopen or close is not enough?
Replies: 3
Views: 6366

Hi, You can try the command WaitPixelColor>ColorCode,X,Y,Timeout. Observe carefully the Install window and look for changing colors in the window during install. Pick up the colorcode and coordinates and put them into the WaitPixelColor command. You can intercept dialog windows and give an answer to...
by Luciano
Tue Jul 05, 2005 7:06 am
Forum: Technical / Scripting
Topic: GetFileList> Does Not Return An Alphabetical Listing
Replies: 6
Views: 9675

Hi,

Sorry, I was a little bit dreaming. Forget preceding reply.

Luciano
by Luciano
Tue Jul 05, 2005 7:01 am
Forum: Technical / Scripting
Topic: GetFileList> Does Not Return An Alphabetical Listing
Replies: 6
Views: 9675

HI,

Check the syntax of the GETFILELIST.


GetFileList>.......\*.csv,file,%CRLF%. There is no result variable in your script!

GetFileList>filespec,result[,delimiter] . From help file

Hope this helps.

Luciano
by Luciano
Sun Jul 03, 2005 8:02 am
Forum: Technical / Scripting
Topic: "Rounding" numbers - not exactly normal rounding t
Replies: 2
Views: 4876

Hi,

Try this formula.

let>x=452764
let>result={int((%x%+625)/500)*500-375}
message>%result%


Greetings.

Luciano
by Luciano
Wed Jun 29, 2005 7:16 pm
Forum: Technical / Scripting
Topic: can MacroScheduler copy a shortcut to a folder?
Replies: 2
Views: 5094

Hi,

A shortcut for a txt file abc.txt has a hidden extention .lnk. So the real name for "shortcut for abc.txt" is "Shortcut for abc.txt.lnk"

Try

CopyFile>C:\shortcut for abc.txt.lnk, C:\bbb\

Greetings

Luciano
Sign up to our newsletter for free automation tips, tricks & discounts