Search found 8 matches
- Sun Sep 18, 2016 6:44 am
- Forum: Technical / Scripting
- Topic: Custom error handling
- Replies: 7
- Views: 5581
Re: Custom error handling
Accidental Double post
- Sun Sep 18, 2016 6:42 am
- Forum: Technical / Scripting
- Topic: Custom error handling
- Replies: 7
- Views: 5581
Re: Custom error handling
Im still having the issue. I have multiple subroutines with different snipets of code, and all waitforimages time out and go to my failure label. I have tried having the error handling in a SRT and out of a subroutine. Is there a way to disable that warning prompt?
- Thu Sep 15, 2016 8:25 pm
- Forum: Technical / Scripting
- Topic: Custom error handling
- Replies: 7
- Views: 5581
Re: Custom error handling
Yes, I am actually. I think I know what you are saying now. Have the error check in each previous subroutine skip to a label, then have a GoSub underneath it. Like srt>1 thing that caused failure Skiplabel>itfailed end>1 srt>2 dsfas end>2 SRT>failure error handling end>failure label>itfailed GoSub>f...
- Thu Sep 15, 2016 8:15 pm
- Forum: Technical / Scripting
- Topic: Custom error handling
- Replies: 7
- Views: 5581
Re: Custom error handling
Thank you for your reply. SRT>failed FindImagePos>C:\Users\Chase\Documents\Macro Scheduler 14\TestCase\image_44.bmp,SCREEN,0.7,1,XArr,YArr,NumFound,CCOEFF If>NumFound>0 MouseMove>XArr_0,YArr_0 LClick Endif SkipLabel>letsrestart END>failed label>letsrestart GoTo>startover Thats what I have at the end...
- Thu Sep 15, 2016 12:10 am
- Forum: Technical / Scripting
- Topic: Custom error handling
- Replies: 7
- Views: 5581
Custom error handling
Hello, So I have been trying to make my own error handling based on a waitscreenimage timeout. Under each WaitScreenImage, I have if>WSI_TIMEDOUT=TRUE GoSub>failed Endif It will execute the "failed" subroutine, but then it will jump to the step where it last was prior to the timeout. I would like fo...
- Fri Sep 02, 2016 9:00 pm
- Forum: Beginners
- Topic: Relative Mouse Position Help
- Replies: 4
- Views: 9662
Re: Relative Mouse Position Help
JRL wrote: if you click both the left and right mouse buttons simultaneously, the mouse cursor coordinates will be placed in the clipboard. All you need do is paste them in behind MouseMoveRel>.
That is a time saver, thank you so much!
- Fri Sep 02, 2016 8:14 pm
- Forum: Beginners
- Topic: Relative Mouse Position Help
- Replies: 4
- Views: 9662
Re: Relative Mouse Position Help
MouseMoveRel> (mouse move relative) places the mouse cursor relative to the 0,0 coordinates of the currently focused window. Therefore, good practice would have you SetFocus> on the window you are moving relative to prior to moving the mouse. Thank you for your reply! If I am understanding you corr...
- Fri Sep 02, 2016 7:48 pm
- Forum: Beginners
- Topic: Relative Mouse Position Help
- Replies: 4
- Views: 9662
Relative Mouse Position Help
Started using this program yesterday and I love it so far. I was wondering if there was a way I can have a script use mouse positions inside the application itself. From what I have seen so far, the mouse location is based on monitor position, so I cant move the app at all. Is there some way to acco...