Re: GUI Creator (formerly Basic GUI Creator)
Posted: 29 Dec 2015, 13:52
Thank you!
Let's help each other out
https://www.autohotkey.com/boards/
No problemPumpkinShortie wrote:Thank you!
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.Hacker wrote:Anyone, please?
I am also open to suggestions for other GUI Creators.
Thank you!maestrith wrote:For now use this version. http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk
You are welcomeHacker wrote:Thank you!maestrith wrote:For now use this version. http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk
What version of AHK are you running? X32 X64 or Ansii?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
No problem. hope it works well for you.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 Sorry it took so long to reply but for some reason I didn't get an e-maillornfate wrote:Very useful and helpful!
Thank you very much!
Code: Select all
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}
}
Code: Select all
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
}
Thank you for that I will be re-visiting this project (hopefully soon) and I will add this to the new code.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!
My old webhost has closed sadly. I have uploaded my most recent version and fixed the main link.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)
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.