Search found 6774 matches

by Marcus Tettmar
Tue Mar 31, 2020 11:24 am
Forum: Technical / Scripting
Topic: Using or in an easypattern
Replies: 2
Views: 22

Re: Using or in an easypattern

Try this:

Let>pattern=["ABC" OR "XYZ"][6digits]
by Marcus Tettmar
Mon Mar 30, 2020 8:42 am
Forum: Beginners
Topic: Resize Images
Replies: 11
Views: 99

Re: Resize Images

I think some quotes are needed:

RunProgram>"%IMPath%" convert "%TheFile%" -resize 100x100 "%TheFile%"
by Marcus Tettmar
Sat Mar 28, 2020 8:34 am
Forum: Technical / Scripting
Topic: Is there a way to have Webrecorder/IE library save a image that is on a page
Replies: 10
Views: 779

Re: Is there a way to have Webrecorder/IE library save a image that is on a page

Instead of doing that I would look at extracting the url from the source of the image and then retrieving it and saving to file with HTTPRequest. Should be able to do that with the IE/Edge/Chrome functions.
by Marcus Tettmar
Wed Mar 25, 2020 6:44 pm
Forum: Beginners
Topic: Press CTRL and Home keys
Replies: 2
Views: 37

Re: Press CTRL and Home keys

Something like:

Code: Select all

SetFocus>Microsoft Excel*
Press CTRL
Press Home
Release CTRL
Adjust window title accordingly.

Better would be to use XLSelectRange
by Marcus Tettmar
Tue Mar 24, 2020 3:14 pm
Forum: Beginners
Topic: Array Question
Replies: 2
Views: 36

Re: Array Question

An issue was fixed in 15.0.06 related to this. See:
https://help.mjtnet.com/article/222-version-history

We made sure everyone on v15 has access to this update. Latest is 15.0.09. Log into your account/subscription and download it.
by Marcus Tettmar
Tue Mar 24, 2020 8:20 am
Forum: General Discussion
Topic: Anyone else experiencing this...?
Replies: 3
Views: 71

Re: Anyone else experiencing this...?

In the editor menu click on the Debug menu and uncheck Save on Run/Debug.
by Marcus Tettmar
Mon Mar 23, 2020 8:58 pm
Forum: Enhancement Suggestions
Topic: Chrome Driver - Traverse Iframes & Insert HTML
Replies: 24
Views: 933

Re: Chrome Driver - Traverse Iframes & Insert HTML

Yes. It’s on the list already. The more these new functions get used the more ideas/requests/use cases emerge.
by Marcus Tettmar
Mon Mar 23, 2020 7:11 pm
Forum: Enhancement Suggestions
Topic: Chrome Driver - Traverse Iframes & Insert HTML
Replies: 24
Views: 933

Re: Chrome Driver - Traverse Iframes & Insert HTML

Grovkillen wrote:
Mon Mar 23, 2020 6:54 pm
I would love to have a execute JavaScript command. Together with a " to /" flag. It could then be used almost like the vbscript and python implementation is working now.
Not sure I follow. Can you explain?
by Marcus Tettmar
Mon Mar 23, 2020 1:45 pm
Forum: Technical / Scripting
Topic: ChromeSetElementValue, how to use?
Replies: 2
Views: 83

Re: ChromeSetElementValue, how to use?

Yeh SetElementValue sets the TEXT or VALUE. But you want to REPLACE the HTML. Different things. Hence augmenting it by injecting javascript.
by Marcus Tettmar
Mon Mar 23, 2020 1:42 pm
Forum: Enhancement Suggestions
Topic: Chrome Driver - Traverse Iframes & Insert HTML
Replies: 24
Views: 933

Re: Chrome Driver - Traverse Iframes & Insert HTML

Still struggling with this... CODE: SELECT ALL GoSub>ExecuteJS,session_id,document.body.innerHTML=\"<p>blah blah</p>\" Works almost as expected, although instead of replacing the entire page, it actually just replaces everything inside the page body tag. Correct. document.body.innerHTML = "set the ...
by Marcus Tettmar
Tue Mar 17, 2020 8:16 am
Forum: Technical / Scripting
Topic: When is a window not a window? When it won't CLOSE!
Replies: 2
Views: 105

Re: When is a window not a window? When it won't CLOSE!

This works great for me: SetFocus>Internet Explorer* Press CTRL Send>w Release CTRL Every time I run that the active tab closes, until IE quits altogether. This also works: SetFocus>Internet Explorer* Press ALT Send>fc Release ALT As does: CloseWindow>MSN UK: Latest news* (where MS UK: Latest News i...
by Marcus Tettmar
Mon Mar 16, 2020 2:18 pm
Forum: Technical / Scripting
Topic: OCR DONT WORK
Replies: 7
Views: 185

Re: OCR DONT WORK

I am seeing similar results when trying to get an area containing only one character. But when I use OCRWindow I get the text ok. Are you seeing the same thing?
by Marcus Tettmar
Mon Mar 16, 2020 1:58 pm
Forum: The Water Cooler
Topic: Working from home?
Replies: 7
Views: 5282

Re: Working from home?

Oh I didn't realise I'd lose the existing votes after editing it! Think there was only one anyway. So let's leave as is but please continue the discussion :-)
by Marcus Tettmar
Mon Mar 16, 2020 1:57 pm
Forum: The Water Cooler
Topic: Working from home?
Replies: 7
Views: 5282

Re: Working from home?

Ok, have added that option though to be fair the question was 'are you working from home *because* of the pandemic?' ;-)
by Marcus Tettmar
Mon Mar 16, 2020 1:54 pm
Forum: General Discussion
Topic: iBeacon, possible to get info?
Replies: 2
Views: 98

Re: iBeacon, possible to get info?

Not really sure what you are asking - what information are you trying to retrieve? What is this API for?
Sign up to our newsletter for free automation tips, tricks & discounts