Sign in to follow this  
Followers 0
DarkAngelBGE

Problem with election program

4 posts in this topic

Hi guys, I made a simple election program..it has two tabs first one is for adding members to a list, the second one is to determine the winner.

However, now the client wants me to print vote sheets for each member entered. How can this be done in AutoIt? How can I print a specific text at a given pixel on a sheet?

Thanks in advance!

Share this post


Link to post
Share on other sites



Hi guys, I made a simple election program..it has two tabs first one is for adding members to a list, the second one is to determine the winner.

You don't work for Diebold, do you...? :)

However, now the client wants me to print vote sheets for each member entered. How can this be done in AutoIt? How can I print a specific text at a given pixel on a sheet?

You can put text at specific pixels on a GUI very easily with GuiCtrlCreateLabel() and GuiCtrlSetFont(), then use screen capture functions to get the bit map of the GUI text area.

Here's another idea: You might script use of MS Paint or something similar. AutoIt has UDFs for writing directly to pixels in a .bmp, for instance, but writing text as pixels is not part of those, as far as I know.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Thanks for the hindsight.

Can I also call the printer directly from AutoIt?

Cheers!

Share this post


Link to post
Share on other sites

Look in the helpfile for print :)


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0