Search found 70 matches

by zabros2020
Mon Mar 01, 2010 12:30 am
Forum: Technical / Scripting
Topic: minimising memory usage (especially dialogs)
Replies: 9
Views: 7134

hey guys, thanks very much for the feedback. I searched the forum for "tight loops" took me a while but i think I understood how to minimise CPU usage. I changed my waits from 0.3 (what i had them at) to 0.01 and 1.5 to see the difference, but non of them had an effect on the CPU usage, so i'm not s...
by zabros2020
Fri Feb 26, 2010 5:44 am
Forum: Technical / Scripting
Topic: minimising memory usage (especially dialogs)
Replies: 9
Views: 7134

Ok i just read the following on the help file The Dialog block creates the dialog. Once a dialog is created it will exist until the script terminates. Therefore a dialog block should not be repeated or duplicated with the same dialog name. Use Show to make the dialog visible. Does this mean i could ...
by zabros2020
Fri Feb 26, 2010 5:31 am
Forum: Technical / Scripting
Topic: minimising memory usage (especially dialogs)
Replies: 9
Views: 7134

minimising memory usage (especially dialogs)

Hey guys, Wow, its been a while since i posted here, back from holiday and raring to go. I was told once that when you declare a dialog, memory gets reserved in windows for it for the duration of the script. My latest automation has many dialogs and it seems to be slowing the PC down, given that som...
by zabros2020
Fri Nov 06, 2009 6:07 am
Forum: Technical / Scripting
Topic: Dialog pre-populate bizarre occurance
Replies: 1
Views: 2747

Dialog pre-populate bizarre occurance

Hi Guys, More from me about dialogs, the help in this forum has been so good in terms of achieving so much with dialogs. I am now trying to prepopulate en edit box with a variable Let>number=123456789. However this is affecting my combo box. It is quite bizzare. Here is my code. Run it, see how the ...
by zabros2020
Fri Nov 06, 2009 6:04 am
Forum: Technical / Scripting
Topic: How to set Dialog title and Editbox at runtime
Replies: 7
Views: 7015

Thanks so much, makes more sense. I think now we will just disable the X button and go on from there.

JRL, thank you for all your help.
by zabros2020
Mon Nov 02, 2009 7:23 am
Forum: Technical / Scripting
Topic: How to set Dialog title and Editbox at runtime
Replies: 7
Views: 7015

Thanks JRL great work. I don't quite grasp how ms deals with these things, but i finally have my code working thanks to you On another note. If you use Kiet's code but omit the lines: Max=0 Min=0 Close=0 Resize=0 And allow the user to click X, then it never enters the subroutine for close. Is there ...
by zabros2020
Mon Nov 02, 2009 1:48 am
Forum: Technical / Scripting
Topic: How to set Dialog title and Editbox at runtime
Replies: 7
Views: 7015

An interesting thing i noticed when running Kiet's code is that Length>%lfres_2%,length makes length=255 regardless of what you type in the edit box. Can anyone please explain? After fiddling around with this for a while i have another question/thought. How would one go about getting data from a com...
by zabros2020
Fri Oct 23, 2009 5:13 am
Forum: Technical / Scripting
Topic: Frame in Dialogs and other Dialog things
Replies: 1
Views: 3370

Frame in Dialogs and other Dialog things

Hi Guys, Firstly thank you so much for a very helpful forum. My previous two queries were answered brilliantly as well as promptly. Marcus even updated the blog page with what seemed to be a much discussed topic. Furthermore, my current issue has had at least 75% of it resolved through posts on this...
by zabros2020
Wed Oct 07, 2009 12:31 am
Forum: Technical / Scripting
Topic: Data and reporting
Replies: 20
Views: 14052

any takers? :cry:

please? :D
by zabros2020
Fri Oct 02, 2009 5:27 am
Forum: Technical / Scripting
Topic: Data and reporting
Replies: 20
Views: 14052

Are you running this in a virtual environment and possibly simultaneously in a remote desktop, or a VNC session? I am using RDC (remote desktop connection) to a virtual development enviroment. No VNC sessions. I have amended the code to: // COMPILE_OPTS|C:\userstop.exe||CONSOLE=0|INCLUDES=0| /NOSTO...
by zabros2020
Fri Oct 02, 2009 3:43 am
Forum: Technical / Scripting
Topic: csv files
Replies: 16
Views: 12939

BRILLIANT!!! Thank you so much guys. Honestly, your work has been invaluable, I had zero knowledge of databases before, and now its starting to make sense :) THANK YOU I have a few quick questions... if thats OK Looking at the database as a matrix with rows and columns, the code below allows me to a...
by zabros2020
Thu Oct 01, 2009 5:16 am
Forum: Technical / Scripting
Topic: Data and reporting
Replies: 20
Views: 14052

Sorry about ignoring the what sistem i am running. Both my virtual and production enviroments are Windows XP Professional Version 2002 Service Pack 2. I also agree with you about the message modals and malaware. i have run many other scripts and they all display their message modals. Finally i ran t...
by zabros2020
Thu Oct 01, 2009 4:53 am
Forum: Technical / Scripting
Topic: csv files
Replies: 16
Views: 12939

I also tried the above and it still didn't work. Then i did some more reading and looked at a website provided by Marcus (connectionstrings.com) and ended up with code like this //Let>ConStr=Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Khaled;Extended Properties='text;HDR=NO;FMT=Delimited' Let>Co...
by zabros2020
Wed Sep 30, 2009 6:13 am
Forum: Technical / Scripting
Topic: Data and reporting
Replies: 20
Views: 14052

OK i'm confused, and it has nothing to do with your help because you have been wonderful. I run the code you gave me on a DEV machine and the following things happen for the following scenarios: 1. Press shift escape->Dialog Box appears-> Choose other reason and type aaa into field, press OK->Messag...
by zabros2020
Wed Sep 30, 2009 5:00 am
Forum: Technical / Scripting
Topic: csv files
Replies: 16
Views: 12939

Are you running the automation one one machine?Or many machines and you want the reporting consolidated? The automation is currently being run on multiple machines by multiple users. The current log files that i have are in the format of USERNAME_DATE.txt, so one file per person per day How did you...
Sign up to our newsletter for free automation tips, tricks & discounts