p)(d Posted September 19, 2006 Share Posted September 19, 2006 (edited) hi, i have a autoit gui with some labels. is it possible to print the gui with right klick menu? menu is no problem, but printing? Edited September 19, 2006 by p)(d SYS 64738 Link to comment Share on other sites More sharing options...
jvanegmond Posted September 19, 2006 Share Posted September 19, 2006 What do you mean 'print the gui'? If you manage to 'print a gui', it won't be interactive anymore github.com/jvanegmond Link to comment Share on other sites More sharing options...
p)(d Posted September 19, 2006 Author Share Posted September 19, 2006 the gui changes - various graphics / labels / ... now i want a function to print itself. $contextmenu = GUICtrlCreateContextMenu () $printitem = GUICtrlCreateMenuitem ("Print", $contextmenu) maybe i have to make a loop to read the color of each pixel and create a bitmap? SYS 64738 Link to comment Share on other sites More sharing options...
AzKay Posted September 19, 2006 Share Posted September 19, 2006 I dont understand what you mean by "Print", Define "Print". # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
p)(d Posted September 19, 2006 Author Share Posted September 19, 2006 i start my autoit gui then i push some buttons on it the gui creates some labels and graphics i want to get it now to a printer at this time i press "AltGr+Print" on my keyboard - then insert into paint.exe and send it to my printer. SYS 64738 Link to comment Share on other sites More sharing options...
powaking Posted September 19, 2006 Share Posted September 19, 2006 (edited) i start my autoit guithen i push some buttons on itthe gui creates some labels and graphicsi want to get it now to a printerat this time i press "AltGr+Print" on my keyboard - then insert into paint.exe and send it to my printer.Send("!{PRINTSCREEN}")That will do a print screen of the active window. Now just need to figure out how to send what is in the clipboard to the printer. Check out http://msdn.microsoft.com/library/default....ntspol_2ik4.aspAnd here http://www.autoitscript.com/forum/index.ph...mp;hl=printing# Edited September 19, 2006 by powaking Link to comment Share on other sites More sharing options...
jvanegmond Posted September 19, 2006 Share Posted September 19, 2006 Printing UDF's exist. They're in v3 Scripts and Scraps. Use the search form, I'm too lazy to do it for you. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now