p)(d 0 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 Share this post Link to post Share on other sites
jvanegmond 306 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 Share this post Link to post Share on other sites
p)(d 0 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 Share this post Link to post Share on other sites
AzKay 0 Posted September 19, 2006 I dont understand what you mean by "Print", Define "Print". # MY LOVE FOR YOU... IS LIKE A TRUCK- # Share this post Link to post Share on other sites
p)(d 0 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 Share this post Link to post Share on other sites
powaking 0 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 Share this post Link to post Share on other sites
jvanegmond 306 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 Share this post Link to post Share on other sites