Image File not in exe

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Boxxxed
Junior Coder
Posts: 26
Joined: Fri Mar 19, 2010 7:20 pm

Image File not in exe

Post by Boxxxed » Sat Mar 20, 2010 8:13 am

I used the waitforimage command and it works fine until I rename or delete the original image file. This means I can't send the exe to other computers. How can I include the bmp in the exe file?

User avatar
Marcus Tettmar
Site Admin
Posts: 7391
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sat Mar 20, 2010 8:42 am

In the editor go to Tools/Import Binary Data. Then at runtime use the ExportData command to export it to a BMP file which you can refer to with WaitScreenImage.

Or, just distribute the BMP with the EXE. Put them in a self extracting zip file, or use an installer.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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