Save as

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
HSEIVANE
Junior Coder
Posts: 27
Joined: Thu Jan 02, 2020 2:52 am

Save as

Post by HSEIVANE » Thu Jan 09, 2020 2:24 pm

I created a macro with image recognition, so I want to take advantage of part of the code in a new one. Copy and paste but this did not take the image and when I ran the macro gave error. Then I used the function Save as, and the same, this did not copy the images and when I ran it I got an error.

HSEIVANE
Junior Coder
Posts: 27
Joined: Thu Jan 02, 2020 2:52 am

Re: Save as

Post by HSEIVANE » Thu Jan 09, 2020 2:27 pm

Also Duplicate to a New Macro is not working with the images

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 540
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Save as

Post by Dorian (MJT support) » Fri Jan 10, 2020 12:37 pm

The images will be saved in a subfolder of your Macro Scheduler data folder, bearing the same name as your macro.

Hence :

If the Image Recognition Wizard is used in a macro named My2020Macro, it will create a subfolder named Macro Scheduler 14\My2020Macro. This will be where your images are stored.

You have three options :
1. Copy that folder and rename the new folder to match the name of your new macro.
or
2. Edit the new Macro to point to where you know the images are.
or
3. Put the images in an easily memorable location and point all future Image Recognition code there.
Yes, we have a Custom Scripting Service. Message me or go here

HSEIVANE
Junior Coder
Posts: 27
Joined: Thu Jan 02, 2020 2:52 am

Re: Save as

Post by HSEIVANE » Fri Jan 10, 2020 6:18 pm

It would be great if MacroScheduler when copying a macro, at the same time create the folder with the images.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 540
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Save as

Post by Dorian (MJT support) » Sat Jan 11, 2020 11:53 am

Please feel free to post that here : Enhancement Suggestions
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply