Search found 1347 matches

by Dorian (MJT support)
Wed Mar 24, 2021 5:56 pm
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 7288

Re: vbs silent

I'm not sure about this either. Will mark this thread for Marcus.
by Dorian (MJT support)
Wed Mar 24, 2021 1:26 pm
Forum: Technical / Scripting
Topic: Trying to execute onClick
Replies: 7
Views: 3474

Re: Trying to execute onClick

Those colours and XXs will help you understand xpath, and once you understand that you'll be using it all the time. I suggest creating a snippet (in the snippets tab) so you have the 4 line sample easily at hand.
by Dorian (MJT support)
Wed Mar 24, 2021 11:54 am
Forum: Technical / Scripting
Topic: Trying to execute onClick
Replies: 7
Views: 3474

Re: Trying to execute onClick

I tend to rely quite heavily on XPath because it's so versatile. ChromeFindElements>session_id,xpath,//input[@type='submit'],el ChromeElementAction>session_id,el_1,click This will help understand a little more : < input type =" submit" onclick="2KKM25268FGTR0IDC6FIL04KV4_form_submit();" value="Conti...
by Dorian (MJT support)
Mon Mar 22, 2021 4:28 pm
Forum: Technical / Scripting
Topic: Favorite browser for Web automation
Replies: 3
Views: 2026

Re: Favorite browser for Web automation

I've actually had some very recent success with Firefox. At first, it didn't seem to be the best choice, but I was having trouble with Edge, even just manually, and the Chrome functions weren't working for me either. So I was kind of forced into using Firefox, and it turned out pretty good. So far,...
by Dorian (MJT support)
Mon Mar 22, 2021 3:37 pm
Forum: Beginners
Topic: wait for image and loops
Replies: 1
Views: 5291

Re: wait for image and loops

My understanding is that you want to click the mouse at a given position until an image is visible. This will click at 1340,218, wait 1 seconds, then look for your r2 image. If that image is found it will exit the loop. If it is not found, it will mousemove, click, wait 1 second, and look again. Not...
by Dorian (MJT support)
Mon Mar 22, 2021 2:23 pm
Forum: Technical / Scripting
Topic: Favorite browser for Web automation
Replies: 3
Views: 2026

Re: Favorite browser for Web automation

I don't think there's a simple answer to this, as it depends on what you're automating. Macro Scheduler 15 has functions for Chrome, Edge, and IE. So that narrows the choice to those three. MS14 didn't have the Chrome and Edge functions. But it largely relies on the site in question, and what you wa...
by Dorian (MJT support)
Thu Mar 18, 2021 5:33 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8928

Re: Launching a script

mightycpa wrote:
Thu Mar 18, 2021 4:13 pm
Good. I would expect them to run.

On my system, they don't. I'm using Windows Server 2008. What OS are you running?
Windows 10 64 bit.
by Dorian (MJT support)
Thu Mar 18, 2021 4:06 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8928

Re: Launching a script

mightycpa wrote:
Thu Mar 18, 2021 3:45 pm
Marcus,

Please take a look at my second post, specifically item #3. I think I tried exactly as you suggested.
Both of these ran from within Macro Scheduler

Code: Select all

run>msched.exe "c:\MS15\TEST_1\middle.scp"
run>c:\Program Files (x86)\Macro Scheduler 15\msched.exe "c:\MS15\TEST_1\middle.scp"
by Dorian (MJT support)
Thu Mar 18, 2021 11:33 am
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8928

Re: Launching a script

Forgive me if I am missing a point somewhere, but why not use Macro for running an scp file, and Run for running an exe? I compiled middle.exe. Then these all ran "middle" successfully for me on 64 bit Win 10. macro>c:\MS15\TEST_1\middle.scp include>c:\MS15\TEST_1\middle.scp run>c:\MS15\TEST_1\middl...
by Dorian (MJT support)
Wed Mar 17, 2021 11:54 pm
Forum: Technical / Scripting
Topic: GFL_SORTTYPE
Replies: 35
Views: 23304

Re: GFL_SORTTYPE

Sometimes it takes me a while for the penny to drop too. It can be hard to see the wood for the trees. It was your comparison of v14 and v15 that actually gave me the eureka moment.
by Dorian (MJT support)
Wed Mar 17, 2021 2:57 pm
Forum: Technical / Scripting
Topic: GFL_SORTTYPE
Replies: 35
Views: 23304

Re: GFL_SORTTYPE

Bob Hansen wrote:
Tue Mar 16, 2021 8:52 pm
So, I ran GFL14, on Samples folder, and saw no sorting.
I ran GFL15, on Samples folder, and saw sorting.
https://help.mjtnet.com/article/222-version-history :

Version 14.3.12 10/06/2017
Fixed: GFL_ATTRIBS not working correctly for GetFileList
by Dorian (MJT support)
Wed Mar 17, 2021 2:52 pm
Forum: Enhancement Suggestions
Topic: Including Often Used Library Files
Replies: 4
Views: 11771

Re: Including Often Used Library Files

I have passed this on.
by Dorian (MJT support)
Tue Mar 16, 2021 5:19 pm
Forum: Technical / Scripting
Topic: Looping
Replies: 2
Views: 1493

Re: Looping

If all you want to do is loop your script indefinitely, a simply Label and Goto should suffice. These two articles will help you too. https://help.mjtnet.com/article/210-can-i-loop-or-repeat-my-macro https://help.mjtnet.com/article/144-how-to-loop-the-loop Label>Start ScreenCapture>1379,191,1509,856...
by Dorian (MJT support)
Tue Mar 16, 2021 12:14 pm
Forum: General Discussion
Topic: Generating actual text from OCR process.
Replies: 2
Views: 9707

Re: Generating actual text from OCR process.

I think you might be mixing up the Image Recognition Wizard with the Screen OCR Wizard. Image Recognition finds (or waits for) an image on-screen, potentially to interact with. The Screen OCR Wizard generates code to look at the screen and extract text. To access the Screen OCR Wizard, click on the ...
by Dorian (MJT support)
Mon Mar 15, 2021 6:29 pm
Forum: Enhancement Suggestions
Topic: Add URLEncode as a function :D
Replies: 5
Views: 11963

Re: Add SPACE encoding to HTMLEncode/HTMLDecode

That's what I do too.
Sign up to our newsletter for free automation tips, tricks & discounts