Search found 81 matches

by robchoc
03 Dec 2018 17:32
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 2437

Re: Regex expression

Perfect I went for the if with {}

Many thanks
by robchoc
03 Dec 2018 16:51
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 2437

Re: Regex expression

I have another issue and that is when my screen does not show the captcha. The screen with the captcha pops up occasionally and I only want my script to run when it does otherwise it throws up an error invalid index 0. I have the following in my script: ** ** ** text=getTextInActiveWindow(); sleep (...
by robchoc
03 Dec 2018 16:02
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 2437

Re: Regex expression

Got it working, many thanks.
by robchoc
03 Dec 2018 12:31
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 2437

Re: Regex expression

What I'm trying to do is get the first number into Variable1 and the second number into Variable 2 Possible combinations of numbers are: press ?, ? press ?, ?? press ??, ? press ??, ?? I need the regex expression to get the numbers. Or maybe there is another way. This is an example of the debug stri...
by robchoc
03 Dec 2018 11:02
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 2437

Regex expression

I'm trying to write a script that will automate this number captcha but I'm stuck with the Regex expression that I need to use. I need to get the first number into my first variable and the second number into my second variable. Debug dialog show this: press 24, 32 (can also be single numbers like 3...
by robchoc
27 Nov 2018 18:59
Forum: User Help / Bug Reports
Topic: Game ideas for the holidays
Replies: 1
Views: 1217

Game ideas for the holidays

I have started reading the help guide and have realised that there is so much more to Automagic. I have barely scratched the surface with my flows. I have come up with 3 game ideas for the kids. The first one is a stealth game where I set the device to listen out to sensitive sounds and when it goes...
by robchoc
13 Nov 2018 18:05
Forum: User Help / Bug Reports
Topic: Detect when an app has finished playing an advert.
Replies: 3
Views: 1517

Detect when an app has finished playing an advert.

Is it possible to detect when an app has finished playing an advert so that I can then exit it, using an automation script?

If I exit it too early I will lose points and too late and I'm wasting precious time.

Thanks
by robchoc
10 Nov 2018 15:53
Forum: User Help / Bug Reports
Topic: Control UI Questions
Replies: 9
Views: 3862

Re: Control UI Questions

But how does this prevent it from executing when block is showing on the screen.

If the screen shows block I do not want it to press next even if next is showing.

Can you alter your code for this scenario, please?
by robchoc
09 Nov 2018 19:38
Forum: User Help / Bug Reports
Topic: Control UI Questions
Replies: 9
Views: 3862

Re: Control UI Questions

The same question but now we have a scenario of not acting whilst a certain text is on the screen, for example: I need to press next when the screen has stopped showing block. All these questions are helping me understand how things work, apology if they seem a bit basic. Once again thanks for the h...