Search found 6998 matches

by Marcus Tettmar
Mon Apr 19, 2021 10:11 pm
Forum: Beginners
Topic: Outlook Processing new messages
Replies: 4
Views: 7275

Re: Outlook Processing new messages

You probably also need to set the PORT number. Maybe this will help:
https://help.mjtnet.com/article/4-sendi ... -gmail-ssl

However, you should consult your email provider's docs to find out what settings are required.
by Marcus Tettmar
Mon Apr 19, 2021 10:08 pm
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 16
Views: 11284

Re: Issue when pasting into MS Editor

I've not been able to replicate this. Does this happen every time? Only when copying from a web page?
by Marcus Tettmar
Mon Apr 19, 2021 10:05 pm
Forum: Technical / Scripting
Topic: Bug: All Scheduled Run times reset on system restart
Replies: 2
Views: 2152

Re: Bug: All Scheduled Run times reset on system restart

Hi,

For the highlighted script what was the original start time and repeat interval set to, and what was the stop/reset after time given?
by Marcus Tettmar
Mon Apr 19, 2021 10:02 pm
Forum: Technical / Scripting
Topic: Interface w/Chess Engine
Replies: 1
Views: 1585

Re: Interface w/Chess Engine

I'm afraid we have no experience of this. Not sure if anyone else does? It looks like this engine expects text to be entered into the console? In which case could you do that using simple SendText commands?
by Marcus Tettmar
Mon Apr 19, 2021 10:00 pm
Forum: Technical / Scripting
Topic: Capture from RegEx Match
Replies: 3
Views: 2863

Re: Capture from RegEx Match

This is a very commonly needed pattern so it is also documented here:
https://help.mjtnet.com/article/12-my-most-used-regex

However, will consider adding a link to this from the RegEx manual entry.
by Marcus Tettmar
Mon Apr 19, 2021 9:59 pm
Forum: Technical / Scripting
Topic: chromedriver.exe once and for all
Replies: 29
Views: 21896

Re: chromedriver.exe once and for all

The script is working fine for me.

I note also that the simple 3 line script is also failing. This would seem to suggest an issue with the Chrome setup. which version of Chrome are you running?
by Marcus Tettmar
Mon Apr 19, 2021 1:51 pm
Forum: Enhancement Suggestions
Topic: Get all attributes of an element (ChromeGetElementData>)
Replies: 2
Views: 9909

Re: Get all attributes of an element (ChromeGetElementData>)

You can specify any attribute name: https://www.mjtnet.com/manuals/v15/HTML/chromegetelementdata.html item_type can be one of: text - the inner text of the element value - the value of the element if it has one (e.g. for inputs) attribute/attribute_name - where attribute_name is a valid html attribu...
by Marcus Tettmar
Mon Apr 19, 2021 1:49 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 73784

Re: Run command, capture STDOUT

Hi,

I have added this to the wish list for investigation.
by Marcus Tettmar
Wed Apr 14, 2021 3:53 pm
Forum: Technical / Scripting
Topic: Python and PIP
Replies: 5
Views: 3061

Re: Python and PIP

I guess you could do that. I would just download the actual libraries and copy in manually. Into the Macro Scheduler python install. And just not use a package manager like PIP.
by Marcus Tettmar
Wed Apr 14, 2021 3:48 pm
Forum: Technical / Scripting
Topic: Browser automation: how to handle pop-up windows?
Replies: 1
Views: 1597

Re: Browser automation: how to handle pop-up windows?

Hi,

See this thread:
viewtopic.php?f=3&t=10716&hilit=switchwindow

You'll find an example with a GetWindowHandles and SwitchWindow subroutine which will allow you to get the window handle of the popup and then switch browsing context to it.
by Marcus Tettmar
Mon Apr 12, 2021 12:28 pm
Forum: Technical / Scripting
Topic: Solving a puzzle
Replies: 23
Views: 16353

Re: Solving a puzzle

Image recognition to find the slider, mouse down, move, mouse up ... ?
by Marcus Tettmar
Mon Apr 12, 2021 12:26 pm
Forum: Technical / Scripting
Topic: Python and PIP
Replies: 5
Views: 3061

Re: Python and PIP

Pip isn't going to install anything into the Macro Scheduler python install. You need to copy the library files/folders manually into the relevant folders in the Macro Scheduler folder.
by Marcus Tettmar
Mon Apr 12, 2021 12:25 pm
Forum: Technical / Scripting
Topic: Capture from RegEx Match
Replies: 3
Views: 2863

Re: Capture from RegEx Match

Hi,

You want to do this:

https://help.mjtnet.com/article/12-my-most-used-regex

I guess you might also need to escape the <, > characters with a \
by Marcus Tettmar
Thu Mar 18, 2021 12:21 pm
Forum: Enhancement Suggestions
Topic: Including Often Used Library Files
Replies: 4
Views: 11784

Re: Including Often Used Library Files

mightycpa wrote:
Wed Mar 17, 2021 1:45 pm
It would be nice to be able to customize the default script that loads in MS when you create a new one from the editor.
You can:
https://www.mjtnet.com/manuals/v15/HTML ... plate.html
https://www.mjtnet.com/blog/2017/01/25/ ... templates/
Sign up to our newsletter for free automation tips, tricks & discounts