Embedding Bitmaps in compiled macro's

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
gtdalsanto
Pro Scripter
Posts: 51
Joined: Tue Oct 03, 2006 4:22 pm
Location: Akron, Ohio
Contact:

Embedding Bitmaps in compiled macro's

Post by gtdalsanto » Thu May 10, 2007 7:50 pm

I am trying to figure out how to embed bitmaps/graphics files into a compiled macro. If someone has some documentation on how to do this, I would appreciate that.

Thanks.
Gary T. DalSanto
Inventive Software Designs, LLC
[email protected]

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Thu May 10, 2007 8:17 pm

Tools, Import Bitmap Data maybe?

gtdalsanto
Pro Scripter
Posts: 51
Joined: Tue Oct 03, 2006 4:22 pm
Location: Akron, Ohio
Contact:

Post by gtdalsanto » Thu May 10, 2007 8:37 pm

I have tried that already, and it embeds the bitmap as ascii characters in my script tied to an identifier called [bitmap file name]_DATA:.

My question, is how do you tie this text/picture/graphic file to a button or a picture on a dialog box? Do I have to somehow write this ascii text back to the local drive at runtime (Export Text to Bitmap??), or do I access it by setting it to a variable, and calling it as %bitmap_DATA%.

Thanks.
Gary T. DalSanto
Inventive Software Designs, LLC
[email protected]

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Thu May 10, 2007 8:47 pm

I believe the answer is to be found in this thread.

gtdalsanto
Pro Scripter
Posts: 51
Joined: Tue Oct 03, 2006 4:22 pm
Location: Akron, Ohio
Contact:

Post by gtdalsanto » Thu May 10, 2007 8:51 pm

thats what I was looking for. Thanks.
Gary T. DalSanto
Inventive Software Designs, LLC
[email protected]

newuser
Pro Scripter
Posts: 64
Joined: Tue Jun 11, 2013 4:53 pm

Post by newuser » Fri Jan 17, 2014 8:02 pm

So, this means the first code below works
WaitScreenImage>D:\testone.bmp,0.7,CCOEFF

but not this code below? Correct? :?:
WaitScreenImage>TESTONE.BMP_DATA,0.7,CCOEFF

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts