Jump to content

Problem with election program


Recommended Posts

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!

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...