GUI Creator (formerly Basic GUI Creator)
-
- Posts: 6
- Joined: 14 Nov 2015, 13:17
Re: GUI Creator (formerly Basic GUI Creator)
Thank you!
Re: GUI Creator (formerly Basic GUI Creator)
PumpkinShortie wrote:Thank you!
No problem

AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
Hi,
Windows 7 x64, AHK v1.1.23.00.
When I run the GUI Creator and right-click on the empty GUI I get this message:

What am I doing wrong? Any ideas welcome.
Thank you.
Windows 7 x64, AHK v1.1.23.00.
When I run the GUI Creator and right-click on the empty GUI I get this message:

What am I doing wrong? Any ideas welcome.
Thank you.
Re: GUI Creator (formerly Basic GUI Creator)
Anyone, please?
I am also open to suggestions for other GUI Creators.
I am also open to suggestions for other GUI Creators.
Re: GUI Creator (formerly Basic GUI Creator)
Hacker wrote:Anyone, please?
I am also open to suggestions for other GUI Creators.
Sorry that it is doing that, I'm deep in the middle of another project but I will try to see if I can figure out what is going on.
AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
For now use this version. http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk
AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
maestrith wrote:For now use this version. http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk
Thank you!
Re: GUI Creator (formerly Basic GUI Creator)
Hacker wrote:maestrith wrote:For now use this version. http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk
Thank you!
You are welcome

AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
I can't get it to work, what am I doing wrong?
Sorry, I am new to this.
I get this error: http://puu.sh/n4PKg/8c33b96eee.png
Sorry, I am new to this.
I get this error: http://puu.sh/n4PKg/8c33b96eee.png
Re: GUI Creator (formerly Basic GUI Creator)
ralgondo wrote:I can't get it to work, what am I doing wrong?
Sorry, I am new to this.
I get this error: http://puu.sh/n4PKg/8c33b96eee.png
What version of AHK are you running? X32 X64 or Ansii?
Try downloading AHK from https://autohotkey.com/download/ahk-install.exe and choose Unicode 32 as the default.
AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
I get the following error when trying to run (in ahk-x32 mode):
...\GUI-Creator 20160211.ahk (256) : ==> Target label does not exist.
EDIT: NEVER MIND, I had to update to the latest autohotkey-version. Now it works fine. Sorry.
...\GUI-Creator 20160211.ahk (256) : ==> Target label does not exist.
EDIT: NEVER MIND, I had to update to the latest autohotkey-version. Now it works fine. Sorry.
Re: GUI Creator (formerly Basic GUI Creator)
autocart wrote:I get the following error when trying to run (in ahk-x32 mode):
...\GUI-Creator 20160211.ahk (256) : ==> Target label does not exist.
EDIT: NEVER MIND, I had to update to the latest autohotkey-version. Now it works fine. Sorry.
No problem.

AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
Very useful and helpful!
Thank you very much!
Thank you very much!
Re: GUI Creator (formerly Basic GUI Creator)
lornfate wrote:Very useful and helpful!
Thank you very much!
No problem

AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
Fix #1:
In WinPos definition, add "Int" to the type since that's what the DLL puts in the rect object.
On my system, the default UPtr type for NumGet was giving me values in the 1e15 range for w
Fix #2:
Additional options are being concatenated directly against the previous code, causing errors.
Adjust CompileItem definition:
With those 2 fixes, the Export function could be modified to no longer quit early and actually run the GUI nicely.
Super handy tool!
In WinPos definition, add "Int" to the type since that's what the DLL puts in the rect object.
On my system, the default UPtr type for NumGet was giving me values in the 1e15 range for w
Code: [Select all] [Download] GeSHi © Codebox Plus
WinPos(x:="",y:=""){
ControlGetPos,xx,yy,ww,hh,,% hwnd([3])
VarSetCapacity(rect,16)
DllCall("GetClientRect",ptr,hwnd(3),ptr,&rect)
x-=xx+v.Border
y-=yy+v.Border+v.Caption
w:=NumGet(rect,8,"Int") ; Add "Int" parameter
h:=NumGet(rect,12,"Int") ; Add "Int" parameter
return {x:x,y:y,w:w,h:h}
}
Fix #2:
Additional options are being concatenated directly against the previous code, causing errors.
Adjust CompileItem definition:
Code: [Select all] [Download] GeSHi © Codebox Plus
CompileItem(node){
ea:=xml.ea(node),index:=0
item:="Gui,Add," ea.type ","
for a,b in StrSplit("x,y,w,h,g,v",",")
if(ea[b]!="")
item.=(index=0?"":" ") b ea[b],index++
if(ea.option)
item.=" " ea.option ; Add space before additional options
item.="," ea.value
return item
}
With those 2 fixes, the Export function could be modified to no longer quit early and actually run the GUI nicely.
Super handy tool!
Re: GUI Creator (formerly Basic GUI Creator)
sordidfellow wrote:Fix #1:
In WinPos definition, add "Int" to the type since that's what the DLL puts in the rect object.
On my system, the default UPtr type for NumGet was giving me values in the 1e15 range for w
...
With those 2 fixes, the Export function could be modified to no longer quit early and actually run the GUI nicely.
Super handy tool!
Thank you for that

I have also updated the code online for now to reflect these changes.
AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
In case the original download link (http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk)
should be broken (which is true in my case right now)
then this (new?) link right here: https://github.com/maestrith
should still provide the code.
The version "GUI_Creator" (with the underscore) works better in my experience.
(this one also seems to include a compiled version, which shows the version number and lets me do an update)
should be broken (which is true in my case right now)
then this (new?) link right here: https://github.com/maestrith

should still provide the code.
The version "GUI_Creator" (with the underscore) works better in my experience.
(this one also seems to include a compiled version, which shows the version number and lets me do an update)
Last edited by autocart on 03 Dec 2016, 09:01, edited 2 times in total.
Re: GUI Creator (formerly Basic GUI Creator)
autocart wrote:In case the original download link (http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk)
should be broken (which is true in my case right now)
then this (new?) link right here: https://github.com/maestrith
should still provide the code.
The version "GUI_Creator" (with the underscore) works better in my experience.
(this one also seems to include a compiled version, which shows the version number and lets me do an update)
My old webhost has closed sadly. I have uploaded my most recent version and fixed the main link.
AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
Updated to a newer version and also updated the links on the main post. and also here
AHK Studio OSD GUI Creator
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Donations
Discord
All code is done on a Windows 10 PC Running x64 and AutoHotkey x32
Re: GUI Creator (formerly Basic GUI Creator)
thx, maestrith,
when I compile it though and then hit the update program menu item i get the error message in the picture. afterwards, windos says that the exe cannot be executed on this computer when I try to start it again.
when I leave it uncompiled and I hit the update program button then the window flashes but no version information or similar is given (which seems to be missing anyway, especially since it has an update menu item).
besides, how can I specify the size of the gui window being designed, or other attributes of it?
EDIT: The website does not let me upload the picture but the error message says:
when I compile it though and then hit the update program menu item i get the error message in the picture. afterwards, windos says that the exe cannot be executed on this computer when I try to start it again.
when I leave it uncompiled and I hit the update program button then the window flashes but no version information or similar is given (which seems to be missing anyway, especially since it has an update menu item).
besides, how can I specify the size of the gui window being designed, or other attributes of it?
EDIT: The website does not let me upload the picture but the error message says:
Error: Failed attempt to launch program or document:
Action: <"C:\Users\UserName\Downloads\GUI_Creator.exe">
Params: </restart>
Specifically: Die Version von
Line#
---> 689: Reload
The current thread will exit.
Last edited by autocart on 03 Dec 2016, 13:04, edited 1 time in total.
Return to “Scripts and Functions”
Who is online
Users browsing this forum: Bon and 17 guests