Search found 1348 matches

by Dorian (MJT support)
Wed Jan 08, 2020 1:44 pm
Forum: Beginners
Topic: Chrome Extension
Replies: 5
Views: 4534

Re: Chrome Extension

Thank you. It was much easier once we received your video and were able to give specific advice relating to it.
by Dorian (MJT support)
Wed Jan 08, 2020 1:42 pm
Forum: Technical / Scripting
Topic: Sending Blocks of Text
Replies: 3
Views: 2295

Re: Sending Blocks of Text

I'm not a php programmer so am unfamiliar with that. Others here may be able to comment specifically. ReadFile will read an entire text file as one variable, which can then be parsed afterwards. But you can build strings in a number of ways. For example : Let>var1=cat Let>var2=dog Let>var3=fish Let>...
by Dorian (MJT support)
Tue Jan 07, 2020 10:27 am
Forum: Beginners
Topic: Chrome Extension
Replies: 5
Views: 4534

Re: Chrome Extension

Maybe nobody understands the question. Can you explain a little more please?
by Dorian (MJT support)
Tue Jan 07, 2020 10:26 am
Forum: Beginners
Topic: Chrome TAB
Replies: 7
Views: 4492

Re: Chrome TAB

Still the same error? What have you tried? Can you post a screenshot of the tab open in Chrome?

Have you tried identifying the window/tab by dragging the crosshair to it, as per this video?
by Dorian (MJT support)
Mon Jan 06, 2020 2:43 pm
Forum: Beginners
Topic: Chrome TAB
Replies: 7
Views: 4492

Re: Chrome TAB

This article might help, but in addition could it be a timing issue? In other words, is the script looking for the window slightly before it actually exists?

Tools/View System Windows will help you troubleshoot.
by Dorian (MJT support)
Mon Jan 06, 2020 2:37 pm
Forum: Beginners
Topic: Testing
Replies: 3
Views: 2850

Re: Testing

Using the debugger might help you get a good grasp of this.

In the editor you can use >Debug >Trace (ALT-DT) to run line-by-line, or F8 for Step mode.
by Dorian (MJT support)
Mon Jan 06, 2020 12:37 pm
Forum: General Discussion
Topic: Post Compile Error
Replies: 4
Views: 5537

Re: Post Compile Error

Hi Dick,

That's an odd one, and not one we've encountered before. Does it happen regardless of the file location?

I'll make sure Marcus sees this thread, as tbh I'm not sure what could be causing it.
by Dorian (MJT support)
Mon Jan 06, 2020 12:17 pm
Forum: Technical / Scripting
Topic: Click on background window
Replies: 1
Views: 1971

Re: Click on background window

I just answered a similar question here. Does that help?
by Dorian (MJT support)
Mon Jan 06, 2020 11:57 am
Forum: Technical / Scripting
Topic: [Doubt] Click window on background
Replies: 1
Views: 1711

Re: [Doubt] Click window on background

That depends. Let's look at some scenarios, using Audacity : Using the Find Object Wizard to generate this code, Macro Scheduler will find the button named "Record" in Audacity, even if Audacity is minimized or in the background : UIClick>{"Audacity"},{"Record"} However if we simply move the mouse a...
by Dorian (MJT support)
Mon Jan 06, 2020 11:39 am
Forum: Beginners
Topic: Close app
Replies: 1
Views: 1939

Re: Close app

Hi, yes we can do that. Use GetWindowList to generate a list of all open windows, then loop through them looking for "Google Chrome" in the title, and if it exists, close the window. GetWindowList>winlist Separate>winlist,CRLF,windows Let>k=1 Repeat>k Let>this=windows_%k% //Does the Window title con...
by Dorian (MJT support)
Mon Jan 06, 2020 11:34 am
Forum: Beginners
Topic: Chrome TAB
Replies: 7
Views: 4492

Re: Chrome TAB

Yes, depending on what you want to do, some of these options might help : SetFocus an existing tab : SetFocus>Google - Google Chrome SetFocus using a wildcard : SetFocus>Google* Open a new tab (use n instead of t to open a new window) : SetFocus>Google Chrome* press ctrl send>t release ctrl Or simpl...
by Dorian (MJT support)
Fri Jan 03, 2020 2:53 pm
Forum: Beginners
Topic: IF KEY IS PRESSED
Replies: 2
Views: 2358

Re: IF KEY IS PRESSED

It sounds like what you may need is OnEvent.

Depending on your scenario, also look at Ask, Input, WaitKeyDown , and If/Else
by Dorian (MJT support)
Fri Jan 03, 2020 11:01 am
Forum: The Water Cooler
Topic: Separate
Replies: 6
Views: 17487

Re: Separate

Hi Pepsi, I think you may find your answers to what's happening and to the v12/v14 issue in an old support ticket. To quote Marcus : Separate creates an array. It takes a string and creates an array. So if you set the result var the same as the input var you will be replacing the input string with a...
by Dorian (MJT support)
Thu Jan 02, 2020 1:28 pm
Forum: Technical / Scripting
Topic: ocr not enough storage is available to process this command
Replies: 0
Views: 7450

Re: ocr not enough storage is available to process this command

I just ran 50 cycles on a maximized Chrome window on a dual 4k monitor setup, and even with a tight loop I wasn't able to replicate this. Of course the resource usage was high when performing OCR each time - which is to be expected - but settled down as soon as it completed the 50th cycle. Oddly eno...
by Dorian (MJT support)
Fri Dec 20, 2019 10:52 am
Forum: Technical / Scripting
Topic: Complex Expression Length() issue?
Replies: 9
Views: 4601

Re: Complex Expression Length() issue?

There are some useful usage examples here.
Sign up to our newsletter for free automation tips, tricks & discounts