Search found 1352 matches
- Tue Jul 28, 2020 12:40 pm
- Forum: Technical / Scripting
- Topic: Window focus based upon a notification sound
- Replies: 15
- Views: 13661
Re: Window focus based upon a notification sound
First of all, follow the instructions here . But use the attached files. You'll need to edit the paths of course. But this works, and will get you started. It's a custom trigger based on the file size changing. Trigger01 Create Ini will create an original an ini file containing the current file size...
- Tue Jul 28, 2020 11:32 am
- Forum: Technical / Scripting
- Topic: Image Recog. - Can't read the image
- Replies: 7
- Views: 11189
Re: Image Recog. - Can't read the image
Always happy to help. A lot of people miss that. Although it is in the helpfile it is quite easy to miss. To be honest, I missed it too when that feature was introduced.
- Tue Jul 28, 2020 11:30 am
- Forum: Technical / Scripting
- Topic: Window focus based upon a notification sound
- Replies: 15
- Views: 13661
Re: Window focus based upon a notification sound
That sounds like a good option. In the Trigger section I linked above, look for Custom Triggers. I see no reason why you can't make a custom trigger which monitors a file to see if it's updated.
- Tue Jul 28, 2020 10:13 am
- Forum: Technical / Scripting
- Topic: Window focus based upon a notification sound
- Replies: 15
- Views: 13661
Re: Window focus based upon a notification sound
Is the notification only a sound? Or is there some kind of popup or another kind of visual change in any way?
If it's a notification pop-up, then depending on the popup, maybe. Look at Triggers. The Window Event trigger may be what you need, if it is indeed a window event.
If it's a notification pop-up, then depending on the popup, maybe. Look at Triggers. The Window Event trigger may be what you need, if it is indeed a window event.
- Tue Jul 28, 2020 10:00 am
- Forum: Technical / Scripting
- Topic: Image Recog. - Can't read the image
- Replies: 7
- Views: 11189
Re: Image Recog. - Can't read the image
Yes, if you look at the help file for FindImagePos you'll see it says : " Each method has benefits and drawbacks. CCOEFF is more intelligent and more tolerant but is slower and will return only one match. EXACT is faster and can return multiple matches but is precise and therefore less portable and ...
- Mon Jul 27, 2020 10:32 am
- Forum: Technical / Scripting
- Topic: Image Recog. - Can't read the image
- Replies: 7
- Views: 11189
Re: Image Recog. - Can't read the image
I'm not experiencing any difficulties with Image Recognition using this image. Certainly incorporating the blue band in your needle image is a good idea, as I've found that sometimes a very subtle image can be a challege. Both of these were able to identify the (attached) image when I had the image ...
- Mon Jul 27, 2020 9:16 am
- Forum: Technical / Scripting
- Topic: Image Recog. - Can't read the image
- Replies: 7
- Views: 11189
Re: Image Recog. - Can't read the image
Is it possible the image is changing somehow? The image isn't attached to your post so I can't test. Can you point us to the web page?
- Sun Jul 26, 2020 3:24 pm
- Forum: Technical / Scripting
- Topic: Pasting to a range of cells in Excel
- Replies: 4
- Views: 4822
Re: Pasting to a range of cells in Excel
Of course for those who don't like using vba and XLRunCode, there's also the option to use XLGetCell and XLSetCell in a nested loop.
- Sun Jul 26, 2020 3:22 pm
- Forum: Technical / Scripting
- Topic: Let>RP_WAIT=1 work with CopyFolder>
- Replies: 4
- Views: 4945
Re: Let>RP_WAIT=1 work with CopyFolder>
I just experimented with this using 10000 files, and (as I expected) the next line does not seem to be executed until CopyFolder has completed. But just for good measure you could always wait for a second after moving, and then only delete the folder if CF_Result = True. You'll need to change the pa...
- Sun Jul 26, 2020 2:58 pm
- Forum: Technical / Scripting
- Topic: Best ways to deal with image detection in loop
- Replies: 1
- Views: 3491
Re: Best ways to deal with image detection in loop
hi, to answer the question about multiple instances, yes you can. This thread will help you.
Maybe also consider pixel color detection if a certain pixel changes to a certain color with an unwanted popup. You could do this with an OnEvent.
Maybe also consider pixel color detection if a certain pixel changes to a certain color with an unwanted popup. You could do this with an OnEvent.
- Sun Jul 26, 2020 1:38 pm
- Forum: Technical / Scripting
- Topic: Let>RP_WAIT=1 work with CopyFolder>
- Replies: 4
- Views: 4945
Re: Let>RP_WAIT=1 work with CopyFolder>
Hi, no RP_Wait is only for RunProgram.
- Sun Jul 26, 2020 1:37 pm
- Forum: Technical / Scripting
- Topic: Pasting to a range of cells in Excel
- Replies: 4
- Views: 4822
- Thu Jul 23, 2020 7:24 am
- Forum: Technical / Scripting
- Topic: If TimeOut
- Replies: 4
- Views: 5044
Re: If TimeOut
Hi, you're correct, those commands are just for IE.
- Wed Jul 22, 2020 4:18 pm
- Forum: Technical / Scripting
- Topic: If TimeOut
- Replies: 4
- Views: 5044
Re: If TimeOut
I like to use IEWaitForText to check that a page has loaded. IEWaitForText>IE[0],,{"Log in"},0,20,result If it times out, the result will be 0, so we can then refresh. Depending on your application, the following structure may not be the best one for you. This simply uses a Goto. But the command exa...
- Wed Jul 22, 2020 9:55 am
- Forum: Enhancement Suggestions
- Topic: Function for Fiscal Week Numbering
- Replies: 3
- Views: 13491
Re: Function for Fiscal Week Numbering
Something along these lines should be enough to get you started : //Get Today's date GetDate>today //Set the year start Let>YearStart=2020-04-23 //How many weeks have elapsed? Datediff>today,YearStart,W,WeekNumber MDL>Week Number %WeekNumber% //What day of the week was the year start. Credit : JRL. ...