Automate Region Checkpoints Regions.AddPicture
The syntax for addpicture is:
Regions.AddPicture(Picture, Name, Mouse, OutputDirectory)
The TC compiler will not let me add anything beyond the Picture parameter.
Regions.AddPicture(w1) works. I get a new image called Region_1 placed in the regions Store.
If I enter
Regions.AddPicture(w1, "myPict") I get the error in the gutter. And TC will not run.
Please see the attached screen shot.
I require a way to create more meaningful names for my images.
Re: Automate Region Checkpoints Regions.AddPicture
The cause of the problem is that you need to use the Call keyword if you need to call a routine with more than one parameter using parentheses in Microsoft VBScript. You need to use the following syntax:
<font class="small">Code:</font><hr /><pre>
Call Regions.AddPicture(Picture, Name, Mouse, OutputDirectory)
Re: Automate Region Checkpoints Regions.AddPictur