Search found 1352 matches

by Dorian (MJT support)
Sat Feb 08, 2020 7:57 pm
Forum: Technical / Scripting
Topic: Excel Trouble
Replies: 12
Views: 8515

Re: Excel Trouble

Did you ever get to the bottom of this. I have a script that ussed to work fine, but is now giving an 'Invalid Variant Operation Error' on anXLOpen line Are you by any chance using an old version of Macro Scheduler, and have the filepath wrong? This error was caused in versions prior to Version 14....
by Dorian (MJT support)
Sat Feb 08, 2020 7:37 pm
Forum: Technical / Scripting
Topic: Problem with WaitWindowOpen
Replies: 3
Views: 2273

Re: Problem with WaitWindowOpen

Is this the entire script or do you have a WW_TIMEOUT set at some point before this?
by Dorian (MJT support)
Wed Feb 05, 2020 2:02 pm
Forum: General Discussion
Topic: Missing Code Builder Items
Replies: 2
Views: 5370

Re: Missing Code Builder Items

This has now been fixed in version 14.5.7.
https://help.mjtnet.com/article/222-version-history
by Dorian (MJT support)
Tue Feb 04, 2020 11:02 am
Forum: Technical / Scripting
Topic: Image recognition and different desktop resolutions
Replies: 5
Views: 3117

Re: Image recognition and different desktop resolutions

Yes, you usually have to resample the images when using Image Recognition on a different PC.
by Dorian (MJT support)
Tue Feb 04, 2020 10:22 am
Forum: Technical / Scripting
Topic: Win10 Keyboard has new key "fn" to activate Fn keys
Replies: 3
Views: 4095

Re: Win10 Keyboard has new key "fn" to activate Fn keys

Thank you for your information. I verified that my macros with Pressing function keys work normally. However, the suggestion for locking the fn key function for "Normal" operation [ fn-lock function: Fn + Shift (first press fn, then shift)] did not appear to work. Looking at your references, I trie...
by Dorian (MJT support)
Mon Feb 03, 2020 10:29 am
Forum: The Water Cooler
Topic: Happy 15th forum birthday to JRL
Replies: 8
Views: 19728

Re: Happy 15th forum birthday to JRL

JRL wrote:
Sun Feb 02, 2020 12:41 am
Thank you.
And a happy 17.25 forum years to you H2k.

Dick
H2K!! I can't fault your memory! 2020 will be my 22nd year using Macro Scheduler. Between you, Marcus and I, that's around 60 years combined experience. Crazy!
by Dorian (MJT support)
Fri Jan 31, 2020 12:47 pm
Forum: The Water Cooler
Topic: Happy 15th forum birthday to JRL
Replies: 8
Views: 19728

Happy 15th forum birthday to JRL

I just noticed that one of our gurus here has been on the forum for over 15 years, so thought that was worth a mention. I know, I missed his "forum birthday" slightly. It was Jan 10th. But how could I see that stat and not mention something. Thank you for all the help and advice you offer on the for...
by Dorian (MJT support)
Fri Jan 31, 2020 12:43 pm
Forum: Technical / Scripting
Topic: Upload file to OneDrive
Replies: 5
Views: 3031

Re: Upload file to OneDrive

Hi,

Would copying it to your OneDrive folder do the job? That's how I do it.

Code: Select all

CopyFile>c:\Location\MyFile.txt,C:\Users\UserName\OneDrive\Documents\MyFile.txt
You could similarly use MoveFile.
by Dorian (MJT support)
Thu Jan 30, 2020 7:17 pm
Forum: Enhancement Suggestions
Topic: Return image size in FindImagePos function
Replies: 6
Views: 12583

Re: Return image size in FindImagePos function

bossydog9 wrote:
Thu Jan 30, 2020 6:23 pm
Since the top-left position (return_offset=0) and the bottom-right position (return_offset=4) can be returned, it's an easy calculation of the return values of return_offset 4 minus the return values of return_offset 0.
That's a very good point!

I'll pass this on to Dev
by Dorian (MJT support)
Thu Jan 30, 2020 10:28 am
Forum: General Discussion
Topic: Missing Code Builder Items
Replies: 2
Views: 5370

Re: Missing Code Builder Items

Thank you. I have passed these on to Dev.
by Dorian (MJT support)
Wed Jan 29, 2020 9:11 pm
Forum: Technical / Scripting
Topic: Getting Specific Data From Excel
Replies: 14
Views: 10798

Re: Getting Specific Data From Excel

I've reported this to dev as it might be a bug. You're not doing anything wrong - we both experienced the same results.

In the mean time it's easy enough to work around - just set your loop limit one less than length, or add some checks and balances in.
by Dorian (MJT support)
Wed Jan 29, 2020 9:03 pm
Forum: The Water Cooler
Topic: DelArray / DelVariable
Replies: 6
Views: 18174

Re: DelArray / DelVariable

Amazing reply, JRL. It's very easy for everyone here to think everyone else knows more than them - that everyone else is an expert. We all do things differently. We all have experience in different areas. We all have weak points (mine are Dialogs, Regex, and probably a whole boatload of other things...
by Dorian (MJT support)
Wed Jan 29, 2020 12:21 pm
Forum: Technical / Scripting
Topic: search area determined by previous image location
Replies: 2
Views: 1990

Re: search area determined by previous image location

The FindObject Wizard under Window Objects may be useful. If it's a website then try the IE Element Wizard under WebRecorder Functions. What sort of application/website is it? I try to use image recognition as a last resort, there might be an easier way to achieve this, especially if it's a website...
by Dorian (MJT support)
Mon Jan 27, 2020 10:37 am
Forum: Technical / Scripting
Topic: Image bleed-through in editor tabs
Replies: 2
Views: 1789

Re: Image bleed-through in editor tabs

That is very odd, and I was able to replicate it. Thank you for reporting this, I will make sure Marcus is aware.
Sign up to our newsletter for free automation tips, tricks & discounts