Search found 12 matches

by remco.remco
Tue Oct 04, 2016 11:47 am
Forum: Technical / Scripting
Topic: Creating an ini file
Replies: 1
Views: 2720

Creating an ini file

Hi, I want to make an ini.txt file because I discovered that sometimes I would like to change a setting/variable without the need for updating the code. I have for instance these variables: let>ReadActions=5 let>ErrorMax=3 let>NoLog=45 They are now in my code. I want to remove them there. And I want...
by remco.remco
Tue Oct 04, 2016 11:37 am
Forum: Technical / Scripting
Topic: Hick ups that deteriorate script performance
Replies: 4
Views: 4709

Re: Hick ups that deteriorate script performance

Hi,

Thanks, I will try that.

If writing to the log file or writing/reading to other files, sometimes take much longer than normal, could it be useful to place those files on a RAMdrive instead of a normal disk?

Kind regards,
Remco
by remco.remco
Sun Oct 02, 2016 9:39 pm
Forum: Technical / Scripting
Topic: Hick ups that deteriorate script performance
Replies: 4
Views: 4709

Hick ups that deteriorate script performance

Hi, I'm working on a script that requires high speed. I have one script running in a virtual machine, another one in Windows 10. They go both with around 20 loops per second and in those loops, quite some activity in being handled. Communication between the two environments goes via the shared folde...
by remco.remco
Sun Oct 02, 2016 9:36 pm
Forum: General Discussion
Topic: Hick ups that deteriorate script performance
Replies: 1
Views: 4663

Hick ups that deteriorate script performance

Hi, I'm working on a script that requires high speed. I have one script running in a virtual machine, another one in Windows 10. They go both with around 20 loops per second and in those loops, quite some activity in being handled. Communication between the two environments goes via the shared folde...
by remco.remco
Sun Oct 02, 2016 9:22 pm
Forum: Technical / Scripting
Topic: GetNewestFile: time resolution question
Replies: 3
Views: 4091

Re: GetNewestFile: time resolution question

Hi, Thanks for your answer. From a virtual machine, I get files in a shared folder. It saves them with max. 20 per second for a short time, then speed decreases. The total number of files in a session will be around 400 or so. So it's not generating files at 20/sec constantly. In windows 10 I read t...
by remco.remco
Thu Sep 29, 2016 12:29 pm
Forum: Technical / Scripting
Topic: GetNewestFile: time resolution question
Replies: 3
Views: 4091

GetNewestFile: time resolution question

Hi, I want to use the command GetNewestFile to get the file that was most recently written to a certain folder. The files are being written quite often, maybe 20x per second or so. My question is: when a file is written, what timestamp resolution is used. Seconds? If so, then how to distinguish betw...
by remco.remco
Mon Jul 25, 2016 9:40 pm
Forum: Technical / Scripting
Topic: TimeDiff command goes bananas?
Replies: 3
Views: 3771

Re: TimeDiff command goes bananas?

Hi,

Thanks, this works great indeed!

Kind regards,
Remco
by remco.remco
Thu Jul 21, 2016 10:08 pm
Forum: Technical / Scripting
Topic: TimeDiff command goes bananas?
Replies: 3
Views: 3771

TimeDiff command goes bananas?

Hi all, I use the TimeDiff command to determine the time difference in seconds between two times (obtained with GetTime). It works great, until it's twelve o clock and almost bed time. My script wents bananas every time it's twelve o'clock. Could it be possible that TimeDiff does not give the correc...
by remco.remco
Wed Jul 13, 2016 11:43 am
Forum: Technical / Scripting
Topic: GetWindowText slowness, GetWord+Windows10
Replies: 1
Views: 2987

GetWindowText slowness, GetWord+Windows10

Hi, Similar to GetTextAtPoint, I discovered today that sometimes the GetWindowText command gets slow. Usually it grabs text in ms or tens of ms. Sometimes however, it takes hundreds of ms for the same kind of text. Restarting MS usually solves the problem. I really wonder what causes this. In my scr...
by remco.remco
Tue Jul 12, 2016 1:12 am
Forum: Technical / Scripting
Topic: Gettextatpoint slowness when there is nothing to read
Replies: 3
Views: 4578

Re: Gettextatpoint slowness when there is nothing to read

Hi,

I now use image recognition in addition. Before I read, I check with image recognition if there is anything to read. If not, I do not read. If there is, I read. This works.

Kind retards,
Remco
by remco.remco
Tue Jul 12, 2016 1:10 am
Forum: Technical / Scripting
Topic: Gettextatpoint slowness when there is nothing to read
Replies: 3
Views: 4578

Re: Gettextatpoint slowness when there is nothing to read

Hi Marcus,

It is in a loop. And I tested it separately in a isolated loop. And every time it reads no text, it's slow.
It's looping with 0.1 sec wait time. When there is something to read, it's fast, when there's nothing, it's very slow.


Kind regards,
Remco
by remco.remco
Wed Jul 06, 2016 12:28 pm
Forum: Technical / Scripting
Topic: Gettextatpoint slowness when there is nothing to read
Replies: 3
Views: 4578

Gettextatpoint slowness when there is nothing to read

Hi, I am using GetTextAtPoint to read text from a window. This works perfectly and fast. Usually the text is grabbed within 10ms. However, I discovered that occasionally there is a huge slowness. I use the command to check if and what text is present at a certain pixel position. At any moment there ...
Sign up to our newsletter for free automation tips, tricks & discounts