Search found 43 matches

by user5274
Fri Sep 11, 2020 5:16 pm
Forum: Enhancement Suggestions
Topic: WaitNotPixelColor
Replies: 0
Views: 41507

WaitNotPixelColor

A WaitNotPixelColor command would be helpful

Im currently looping until the pixel changes from a known color to an unknown color with GetPixelColor but figured MS could do this more efficiently. I only ask because every millisecond counts in my current project. Thank you.
by user5274
Wed Sep 09, 2020 8:48 am
Forum: Technical / Scripting
Topic: OCRDLL some Error
Replies: 4
Views: 5356

Re: OCRDLL some Error

Ok, ill try and run in on another machine since I dont know where to go from here. FYI all the ocr commands produce the same error. Even the OCR Wizard crashes MS15.
by user5274
Wed Sep 09, 2020 2:13 am
Forum: Technical / Scripting
Topic: OCRDLL some Error
Replies: 4
Views: 5356

Re: OCRDLL some Error

Isnt the input coordinates similar to X1,Y1,X2,Y2 or in the manual it says left,top,right,bottom

So the numbers above would make it a 500,500 square?


Ive also read up on Tesseract, they have 2 options available, 32 bit and 64 bit, i did fail to mention above im on Win7Pro 64 bit.
by user5274
Sun Sep 06, 2020 5:41 am
Forum: Technical / Scripting
Topic: OCRDLL some Error
Replies: 4
Views: 5356

OCRDLL some Error

when using an OCR command i get an error with ocr.dll
Screenshot_3.png
Windows 7 Pro
ocr.dll in same folder as msched as installed, along with tessdata folder as installed, no changes.
by user5274
Mon Aug 31, 2020 7:45 pm
Forum: Beginners
Topic: MS15 Inconsistent use of True TRUE False FALSE
Replies: 2
Views: 4171

Re: MS15 Inconsistent use of True TRUE False FALSE

Great thank you!

I personally know now which commands return what, I just had a partner that decided to "clean up" the code and changed all the "booleans" to uppercase and thats when IsConnected (and another command) broke, drove me crazy for the better part of the day. :)
by user5274
Mon Aug 31, 2020 7:32 pm
Forum: Beginners
Topic: Timer Max Number
Replies: 2
Views: 3992

Re: Timer Max Number

Thank you,

9223372036854775807 milliseconds
about 9223372036854776 seconds
about 153722867280913 minutes
about 2562047788015 hours
about 106751991167 days
about 15250284452 weeks
about 293274701 years

so not a worry
by user5274
Sat Aug 29, 2020 6:20 am
Forum: Beginners
Topic: MS15 Inconsistent use of True TRUE False FALSE
Replies: 2
Views: 4171

MS15 Inconsistent use of True TRUE False FALSE

Because not all MS15 commands return a consistent TRUE/True or FALSE/False, is it safe to use a catch-all {TRUE}/{FALSE} to test for returns to MS15 commands? For example, this command WaitPixelColor returns TRUE or FALSE while this command IsConnectedToInternet returns True or False So I don't have...
by user5274
Fri Aug 28, 2020 11:33 pm
Forum: Technical / Scripting
Topic: ChromeDriver --disable-notifications ?
Replies: 5
Views: 5994

Re: ChromeDriver --disable-notifications ?

Ah i never tried that route. Ill have to test that.

Ive been using httprequest with a custom Json to pass all my custom data. Then Jsonparsing the result to get the sessionID then using that ID with MS15. my current tests are to connect to already running Chrome through debugger port
by user5274
Fri Aug 28, 2020 11:21 pm
Forum: Beginners
Topic: Timer Max Number
Replies: 2
Views: 3992

Timer Max Number

Hi, I use the Timer to calculate average statistics in a macro that could potentially runs for days or weeks and certainly past midnight. I was wondering what the max number Timer could generate before it gets flipped back to zero? Thank you.
by user5274
Sat Aug 08, 2020 5:24 am
Forum: Technical / Scripting
Topic: ChromeDriver --disable-notifications ?
Replies: 5
Views: 5994

ChromeDriver --disable-notifications ?

Hi, is it possible to launch ChromeDriver with options? For example the 'chrome is being controlled by automated software' notification dropdown shadow is interfering with my image detections can we add options like --disable-notifications and possibly load-extension ? I can do the brute force way o...
by user5274
Tue Aug 04, 2020 3:07 pm
Forum: Technical / Scripting
Topic: OnEvent>KEY_UP
Replies: 4
Views: 5605

Re: OnEvent>KEY_UP

Ok great, i seem to understand, but I wasn't actually looking to turn it off in such a "High Level" language but I can appreciate the finite control offered. That being said, if I am watching for a single "keypress" then it would look something like this? OnEvent>KEY_DOWN,VK32,0,labelKEYDOWN SRT>lab...
by user5274
Tue Aug 04, 2020 1:01 pm
Forum: Technical / Scripting
Topic: OnEvent>KEY_UP
Replies: 4
Views: 5605

Re: OnEvent>KEY_UP

Technically its not wrong :D the KEY is UP, but now that means any key_up onevent will fire constantly forever. i just figured the KEY_UP event would fire once on the state change from down to up. 5.0.11 was installed over the top of the 5.0.10 trial
by user5274
Tue Aug 04, 2020 9:42 am
Forum: Technical / Scripting
Topic: OnEvent>KEY_UP
Replies: 4
Views: 5605

OnEvent>KEY_UP

Could someone please provide an example how to use this properly?
Because when I run the macro the event is already constantly firing
Thank you

Code: Select all

OnEvent>KEY_UP,`,0,REQUEST_EXIT

SRT>REQUEST_EXIT
  Let>EXCODE=1
END>REQUEST_EXIT
Sign up to our newsletter for free automation tips, tricks & discounts