How make an graphical interface Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
songdg
Posts: 557
Joined: 04 Oct 2017, 20:04

How make an graphical interface

Post by songdg » 30 Jul 2021, 03:06

I want to make an graphical interface with some fixed texts , and can be print on an A4 size pater, is there some similar projects available.Image
User avatar
mikeyww
Posts: 26848
Joined: 09 Sep 2014, 18:38

Re: How make an graphical interface

Post by mikeyww » 30 Jul 2021, 07:36

To find similar projects, you can use the search feature in the top right-hand corner of the forum. Search for some keywords relating to your project. You could also similarly check the "Scripts and Functions" forum, and perhaps tutorials for creating a GUI. The AHK documentation also has many examples that you may be able to adapt.
songdg
Posts: 557
Joined: 04 Oct 2017, 20:04

Re: How make an graphical interface

Post by songdg » 03 Aug 2021, 04:19

mikeyww wrote:
30 Jul 2021, 07:36
To find similar projects, you can use the search feature in the top right-hand corner of the forum. Search for some keywords relating to your project. You could also similarly check the "Scripts and Functions" forum, and perhaps tutorials for creating a GUI. The AHK documentation also has many examples that you may be able to adapt.
Thanks, I have done some search, but so far no luck. :eh:
User avatar
mikeyww
Posts: 26848
Joined: 09 Sep 2014, 18:38

Re: How make an graphical interface

Post by mikeyww » 03 Aug 2021, 06:49

This is a challenging project. You would need to learn both GUI and PDF. Below are some pages to get you started.

https://www.autohotkey.com/docs/commands/Gui.htm#ExInputBox

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=89081
songdg
Posts: 557
Joined: 04 Oct 2017, 20:04

Re: How make an graphical interface

Post by songdg » 05 Aug 2021, 20:54

mikeyww wrote:
03 Aug 2021, 06:49
This is a challenging project. You would need to learn both GUI and PDF. Below are some pages to get you started.

https://www.autohotkey.com/docs/commands/Gui.htm#ExInputBox

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=89081
That would be a huge undertaking for me, I don't think I could ever finish it, but thanks anyway. :thumbup:
User avatar
Hellbent
Posts: 2109
Joined: 23 Sep 2017, 13:34

Re: How make an graphical interface  Topic is solved

Post by Hellbent » 05 Aug 2021, 21:21

I don't know anything about printers anymore ( been at least a decade since the last time I used one )

That said, if your printer can print a .png ( *** while ignoring fully transparent pixels *** ) you could:

1. Use GDI+ to Create a bitmap (The size you want)
2. Use GDI+ to draw your Text onto the bitmap
3. Use GDI+ to save your bitmap as a .png
4. Send the .png to your printer
songdg
Posts: 557
Joined: 04 Oct 2017, 20:04

Re: How make an graphical interface

Post by songdg » 12 Aug 2021, 01:24

Hellbent wrote:
05 Aug 2021, 21:21
I don't know anything about printers anymore ( been at least a decade since the last time I used one )

That said, if your printer can print a .png ( *** while ignoring fully transparent pixels *** ) you could:

1. Use GDI+ to Create a bitmap (The size you want)
2. Use GDI+ to draw your Text onto the bitmap
3. Use GDI+ to save your bitmap as a .png
4. Send the .png to your printer
Much appreciated for your help! :bravo:
Post Reply

Return to “Ask for Help (v1)”