Search found 87 matches

by rblack
Thu Sep 17, 2015 2:05 pm
Forum: Technical / Scripting
Topic: Bug in MacroScheduler core? WIN_USEHANDLE cannot be changed.
Replies: 1
Views: 2276

Bug in MacroScheduler core? WIN_USEHANDLE cannot be changed.

Im changing the USEHANDLE in Subrutine. When im changing it first time - it works. When the subrutine is executing the second time to open te same windows i cannot change the USE_WINHANDLE parameter. Why is the WIN_USEHANDLE locked to change the value? :shock:

Image
by rblack
Tue Sep 08, 2015 1:19 pm
Forum: Technical / Scripting
Topic: force string or double interpretation
Replies: 10
Views: 9020

Re: force string or double interpretation

This somewhat solves the problem Let>DECIMAL_SEPARATOR=, But first all data needs to be parsed and unified. Where decimal separator is dot, it needs to be replaced to comma. I deal with all kinds of data input, and all combinations with numbers formats are encountered (decimal separator may be any o...
by rblack
Tue Sep 08, 2015 12:46 pm
Forum: Technical / Scripting
Topic: force string or double interpretation
Replies: 10
Views: 9020

Re: force string or double interpretation

Hi Marcus,

unfortunately this doesnt solve the problem, still I have many problems with wrong interpretation of variables to be strings instead of floats. Especially when processing large csv collumns and summing them up.
by rblack
Tue Aug 04, 2015 11:50 am
Forum: Technical / Scripting
Topic: force string or double interpretation
Replies: 10
Views: 9020

Re: force string or double interpretation

no, this doesn't work. When I add { and } to the calculations, the form is filled with empty variable.
by rblack
Thu Jul 30, 2015 2:46 pm
Forum: Technical / Scripting
Topic: force string or double interpretation
Replies: 10
Views: 9020

force string or double interpretation

Hello, I have the latest Macro Scheduler version (14.2.03) and still have the same problem as in earlier versions. With bigger and longer working scripts, there is a big problem with ms ducktyping interpreter (string/number automated recognition). I want to force a recognized text to be interpreted ...
by rblack
Fri Jul 17, 2015 2:39 pm
Forum: Technical / Scripting
Topic: how to reduce CPU load
Replies: 1
Views: 2784

Re: how to reduce CPU load

nvm it was causet by multi-threading problems with windows xp guest OS. The number of CPUs must be equivalent to physical CPUs numbers.

i.e. in quad core you see 8 CPUs but the number of sockets you need to provide to virtualmachine must be 2, otherwise there will be CPU overload problems.
by rblack
Fri Jul 17, 2015 11:41 am
Forum: Technical / Scripting
Topic: how to reduce CPU load
Replies: 1
Views: 2784

how to reduce CPU load

Hi all, i have upgraded my macro scheduler from 11 to the newest one (14.2.03) and now i have serious problems with cpu loads. even when the script is just waiting with a command wait>30 macro sheduller takes 50% of the CPU. What is happenning? also with image recognition there is such high CPU cons...
by rblack
Fri Oct 03, 2014 10:47 am
Forum: Technical / Scripting
Topic: How to sum up CSV column without excel
Replies: 17
Views: 21780

Re: How to sum up CSV column without excel

Regex is much faster and more stable. Here is a better solution with easypatterns: //RegEx to extract each CSV field from a single line to an array Let>pattern=[CSVField] RegEx>pattern,text,1,field,matchnumers,0 // and Regex to filter text to numbers from column 7 let>pattern=[not digit or comma] Re...
by rblack
Tue Apr 22, 2014 7:40 pm
Forum: Technical / Scripting
Topic: force string to number problem
Replies: 12
Views: 14100

hi, i had a problem and searching the Internet I have found my own reply with the solution ;) But the solution is only partial - it limits the float number to INT. Here is the code I Have problem with: let>amount=12,99 let>lesser=1 let>larger=100 //there is no greater or equal sign in my MS version ...
by rblack
Wed Nov 13, 2013 2:16 pm
Forum: Technical / Scripting
Topic: How to convert given text to small letters
Replies: 4
Views: 6013

it works :)

Impressive time! Thank you!
by rblack
Wed Nov 13, 2013 9:15 am
Forum: Technical / Scripting
Topic: How to convert given text to small letters
Replies: 4
Views: 6013

well, I do not have the LowerCase> function :/ I have Macro Scheduler 11.1.17
by rblack
Tue Nov 12, 2013 1:07 pm
Forum: Technical / Scripting
Topic: How to convert given text to small letters
Replies: 4
Views: 6013

How to convert given text to small letters

Hi All!

Is there any option to set the
Position> function to be not-case sensitive?

If not, then how can I convert text given text to small letters, ie:

Text:
Aoeio7RtwWzX¦Æ should convert to aoeio7rtwwzx¶æ

I suppose some Regex/Easy pattern should be implemented, but how to do that?
by rblack
Mon Nov 04, 2013 11:21 am
Forum: Technical / Scripting
Topic: How to sum up CSV column without excel
Replies: 17
Views: 21780

JRL it works like a charm! This is a really pretty code :)
by rblack
Sun Nov 03, 2013 1:32 pm
Forum: Technical / Scripting
Topic: How to sum up CSV column without excel
Replies: 17
Views: 21780

ah... I have Macro Scheduler 11, sorry - my mistake in spelling.
by rblack
Sun Nov 03, 2013 1:21 pm
Forum: Technical / Scripting
Topic: How to sum up CSV column without excel
Replies: 17
Views: 21780

Thank you JRL! Your answer was very fast. 20 seconds is also fast enough. I need to do that operation twice a day.

The problem is, that I do not have the function: CSVFileToArray in my Macro Scheduler 12... so maybe it can be done somehow with DBQuery function?
cron
Sign up to our newsletter for free automation tips, tricks & discounts