Found the issue... puf... the OCRArea function again.
Please, please, pretty please... but some kind of validation for it to fial gracefully when you send x2<x1
Thanks!
Search found 25 matches
- Fri Aug 03, 2018 5:23 pm
- Forum: Technical / Scripting
- Topic: Appcrash KernelBase.dll
- Replies: 5
- Views: 4679
- Thu Aug 02, 2018 9:50 pm
- Forum: Technical / Scripting
- Topic: Appcrash KernelBase.dll
- Replies: 5
- Views: 4679
Re: Appcrash KernelBase.dll
When I run it in the IDE it works just fine... when run as an exe it crashes. I just tried to execute the macro from a different place and using a different name. Problem signature: Problem Event Name: APPCRASH Application Name: psm.exe Application Version: 1.0.0.0 Application Timestamp: 5b51a394 Fa...
- Thu Aug 02, 2018 8:06 pm
- Forum: Technical / Scripting
- Topic: Appcrash KernelBase.dll
- Replies: 5
- Views: 4679
Re: Appcrash KernelBase.dll
When I run it manually, everything goes fine.
- Thu Aug 02, 2018 7:38 pm
- Forum: Technical / Scripting
- Topic: Appcrash KernelBase.dll
- Replies: 5
- Views: 4679
Appcrash KernelBase.dll
I don't know what to do, this macro is a clone of another 2 that work just fine.
But now this exe is failing and I don't really know what to tackle.
https://imgur.com/a/Ts7i5cn
But now this exe is failing and I don't really know what to tackle.
https://imgur.com/a/Ts7i5cn
- Thu Aug 02, 2018 8:02 am
- Forum: Technical / Scripting
- Topic: Changing script file encoding
- Replies: 2
- Views: 2257
Re: Changing script file encoding
Hi Anie,
UTF-8 is Unicode... please read this
https://stackoverflow.com/questions/643 ... nd-unicode
UTF-8 is Unicode... please read this
https://stackoverflow.com/questions/643 ... nd-unicode
- Sun Jul 29, 2018 1:06 am
- Forum: General Discussion
- Topic: New reason for crashing EOutOfResources.
- Replies: 0
- Views: 7488
New reason for crashing EOutOfResources.
I'm getting EOUTofResources
https://imgur.com/a/H8rplGD
This machine is fully dedicated to running the macros resources should be more than enough.
https://imgur.com/a/H8rplGD
This machine is fully dedicated to running the macros resources should be more than enough.
- Sat Jul 28, 2018 6:17 pm
- Forum: General Discussion
- Topic: Macro keeps crashing while compiled
- Replies: 3
- Views: 4063
Re: Macro keeps crashing while compiled
Yep... that was kind of the problem...
//------------------ Libs --------------------
Include>%VARIABLE%\ComputerVisionLib.scp
The macro included the lib but did not generated the dlls. Maybe a warning while compiling variables in includes is in order.
Thank you!
//------------------ Libs --------------------
Include>%VARIABLE%\ComputerVisionLib.scp
The macro included the lib but did not generated the dlls. Maybe a warning while compiling variables in includes is in order.
Thank you!
- Sat Jul 28, 2018 6:45 am
- Forum: General Discussion
- Topic: Macro keeps crashing while compiled
- Replies: 3
- Views: 4063
Re: Macro keeps crashing while compiled
The other macro I built is crashing as well I'm thinking it might be related to this call //Init text recognition GetTextInit Problem signature: Problem Event Name: APPCRASH Application Name: VpnMacro.exe Application Version: 1.0.0.0 Application Timestamp: 5ac63463 Fault Module Name: StackHash_afc1 ...
- Sat Jul 28, 2018 6:15 am
- Forum: Technical / Scripting
- Topic: GetTextAtPoint only working while on wizard
- Replies: 2
- Views: 2646
Re: GetTextAtPoint only working while on wizard
It worked like a charm. Thank you! //Subroutine to the text found in a given area ------------------------------------------ //Const: BASE_DIRECTORY .- Directory where the macro has its files. //Const: IMAGES_SUB_DIRECTORY .- Directory inside the BASE_DIRECTORY where the macro has the images to be s...
- Sat Jul 28, 2018 6:13 am
- Forum: Technical / Scripting
- Topic: OCR Not detecting numbers
- Replies: 3
- Views: 3221
Re: OCR Not detecting numbers
It didn't worked but only on some number, nevetheless your other advice for gettext worked after some tweaking.
Thank you!
Thank you!
- Sat Jul 28, 2018 6:09 am
- Forum: General Discussion
- Topic: Macro keeps crashing while compiled
- Replies: 3
- Views: 4063
Macro keeps crashing while compiled
My Macro keeps crashing while working as an EXE... it is executing just fine in the scheduler. https://imgur.com/a/jHJtowB Problem signature: Problem Event Name: APPCRASH Application Name: PapMacro.exe Application Version: 1.0.0.0 Application Timestamp: 5ac63463 Fault Module Name: StackHash_f03e Fau...
- Fri Jul 27, 2018 6:31 am
- Forum: Technical / Scripting
- Topic: db connection via odbc
- Replies: 4
- Views: 4180
Re: db connection via odbc
Maybe, you could try to change the Isolation level so your read goes "dirty" and therefore you avoid any clashes with other processes.
https://docs.microsoft.com/en-us/sql/t- ... erver-2017
https://docs.microsoft.com/en-us/sql/t- ... erver-2017
- Fri Jul 27, 2018 5:36 am
- Forum: Technical / Scripting
- Topic: GetTextAtPoint only working while on wizard
- Replies: 2
- Views: 2646
GetTextAtPoint only working while on wizard
The TextCaptureWizard is able to show me some text, but once the inserted code is executed by the macro... it is not working anymore... maybe there is something I'm missing that can make a difference This is the inserted code GetTextInit GetTextAtPoint>605,645,result,c MessageModal>result In the wiz...
- Fri Jul 27, 2018 3:07 am
- Forum: Technical / Scripting
- Topic: OCR Not detecting numbers
- Replies: 3
- Views: 3221
Re: OCR Not detecting numbers
Anybody can help? I tried a different approach... I'm creating little pieces of screen images ScreenCapture>X_CORD,Y_CORD,X2_CORD,Y2_CORD,%NEW_IMAGE_FILE_NAME% OCRImage>%NEW_IMAGE_FILE_NAME,STR_OCR_RESULT Even though the cut image looks perfect OCR is not finding any text Check this out... https://i...
- Tue Jul 24, 2018 2:10 pm
- Forum: Technical / Scripting
- Topic: Shared functions file
- Replies: 1
- Views: 1874
Shared functions file
I have developed 3 macros already and have a lot of code repeated between the 3 of them and I was wondering if there is a way for me to save my subroutines in a common file that is shared between all of my macros.
Thank you!
Thank you!