|
Post by Rambo-X on Nov 23, 2020 2:21:37 GMT
Hi Steve, I sincerely wish if this was possible by translating the codes into Java and then like directly loading them into Selenium Web-driver. Because coding in MMM is like walking in heaven. Wish I can just walk more and to faraway territories. Any thoughts?
|
|
|
Post by Steve on Nov 23, 2020 8:58:43 GMT
Hi Rambo-XI like where your heads at. I know nothing about Selenium, as about as much as I know about Java. What would this look like? How would this work? What needs to happen to make this work?
|
|
|
Post by Rambo-X on Nov 23, 2020 9:19:20 GMT
Dear Steve you are a Coding genius, so if I sound seriously stupid please bare with me. I have like become addicted to MMM it is so easy convenient and helpful.
Selenium is a tool which can be coded via many languages. And web-driver helps to directly hit web browsers via Selenium. This helps to recognize the areas of a Web browser and directly hit those points without having to be live in that page. You did tell me in a previous post related to Python when I raised a question about resolution. You told me I can assign the coordinates of X and Ys to Python to get a resolution matter sorted. Which I HAVE NO CLUE How. That made me think wait, if Python helps to code Selenium Web-drivers and Steve told me to use the X and Y coordinates via mmmacros to sort the resolution issues...wait can't we transform those macro's to Python and then via that use selenium web-driver features to get a web automation?
If we can transform macros to python scripts, this will help to hit various tabs in a web browser simultaneously without having to be live on that tab using selenium web-driver.
Please do not be annoyed with me.
This was like a Penny's moment with Sheldon if you know Big Bang Theory. Where I am suggesting sheets to solve Quantum Physics. hahaha... And then going on like, "What, like took me one minute to think of that..."
So please pardon my ignorance.
|
|
|
Post by Steve on Nov 23, 2020 9:37:30 GMT
Rambo-X brilliant idea. Outside the box and I love it. It's not quite practical in this scenario though. If you could write something to convert mini mouse macro scripts to python...well then you wouldn't be using this tool. If you were that guy to convert MMM to python then you'd just use python for your scripting in the first instance. The screen resolution question you raised is best answered here minimousemacro.proboards.com/thread/340/coordinate-issue-screen-size-reconfigure. Oh and thanks for the comments. I'm a self taught programmer. Trust me, I'm no coding expert but I appreciate that shout out.
|
|
|
Post by Rambo-X on Nov 23, 2020 10:39:27 GMT
hahaha...Glad when a SMART person like you appreciate my input because I am a self taught person too.
Sorry I didn't give specifics on why I had to abandon Python for my work.
Despite Python/Java helps to record specific coding I wasn't exactly aware what was getting recorded and how to change them if necessary. Didn't have all the time in the World to go through that. On the other hand MMM helped me to get myself up and running immediately after spending a lot of time reading your manuals you did link before and most of it was very straight forward to learn or teach even for a very Newbie like me.
Top of that the biggest drawback I have with Python is that it will hinder and stop the process if the internet goes down. This for us here is a big No no. Because our connections are barely stable at all times.
This is where MMM shines, it will keep doing what it does and pick it up at a point if you give a refresh all tabs keyboard short cut in a long Macro because this runs over-night.
This was an idea and suggestion page.
I wanted to pass on the thought that MMM doesn't need Python or Java to shine. It has it's own merits and Oh God I love this application.
What I wanted to leave you with was, doing something similar with MMM altogether and we do not need even selenium. Just because selenium is available doesn't mean that's the only way.
How I see it is, we are mostly working with x and y coordinates and MMM doesn't necessarily know what is it doing with them. Because it's like a Knife. It can cut and chop whatever you put it front of it. What if we can tell it,
"Look here, can you open Chrome and go to this site, and then just hit this x and y coordinates without caring much? and can you do it simultaneously for all tabs with different sites without being live"
And that would be something, to code in MMM and we just click tabs and all tabs are doing a very specific set of jobs. So will be the birth of MMM-Web-driver.
And I pray and wish you able to take this to that next level. I sincerely do.
|
|