GUI Creator (formerly Basic GUI Creator)

Post a reply


In an effort to prevent automatic submissions, we require that you type the text displayed into the field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: GUI Creator (formerly Basic GUI Creator)

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 03 Dec 2016, 13:31

autocart wrote:
maestrith wrote:as of right now unfortunately I do not have the ability to update the compiled version.

Please forgive my uneducated question, but could you not update the compiled version of the old GUI creator? I could do it from within the compiled version I downloaded before you updated the github downloads.

I am going to make it so that it will download the uncompiled version, then compile it on your computer then remove the file. I find that uploading compiled stuff to Github can be a pain.

Re: GUI Creator (formerly Basic GUI Creator)

Post by autocart » 03 Dec 2016, 13:27

maestrith wrote:as of right now unfortunately I do not have the ability to update the compiled version.

Please forgive my uneducated question, but could you not update the compiled version of the old GUI creator? I could do it from within the compiled version I downloaded before you updated the github downloads.

Re: GUI Creator (formerly Basic GUI Creator)

Post by autocart » 03 Dec 2016, 13:08

for one thing, I would like to specify the size of the window exactly by numerical values, but its not a biggy. I am sure that this can be done manually afterwards in the code.

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 03 Dec 2016, 13:04

autocart wrote: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?

as of right now unfortunately I do not have the ability to update the compiled version. I am re-writing a good portion of it right now but I have no idea what/when things will be updated. Size of the window currently "should" be the same as the size of the window in the Creator. If not let me know. If I have time, what sort of things do you want to edit about it?

Re: GUI Creator (formerly Basic GUI Creator)

Post by autocart » 03 Dec 2016, 12:53

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:
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.

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 03 Dec 2016, 12:37

Updated to a newer version and also updated the links on the main post. and also here

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 03 Dec 2016, 08:45

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.

Re: GUI Creator (formerly Basic GUI Creator)

Post by autocart » 03 Dec 2016, 07:35

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 :thumbup:
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)

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 23 Jun 2016, 09:05

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 will be re-visiting this project (hopefully soon) and I will add this to the new code.
I have also updated the code online for now to reflect these changes.

Re: GUI Creator (formerly Basic GUI Creator)

Post by sordidfellow » 22 Jun 2016, 21:12

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

Code: [Select all]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]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)

Post by maestrith » 16 May 2016, 07:10

lornfate wrote:Very useful and helpful!

Thank you very much!

No problem :) Sorry it took so long to reply but for some reason I didn't get an e-mail

Re: GUI Creator (formerly Basic GUI Creator)

Post by lornfate » 10 May 2016, 23:13

Very useful and helpful!

Thank you very much!

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 16 Mar 2016, 10:09

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. :) hope it works well for you.

Re: GUI Creator (formerly Basic GUI Creator)

Post by autocart » 16 Mar 2016, 02:34

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.

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 12 Feb 2016, 02:19

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.

Re: GUI Creator (formerly Basic GUI Creator)

Post by ralgondo » 11 Feb 2016, 23:48

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

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 11 Feb 2016, 16:51

Hacker wrote:
maestrith wrote:For now use this version. http://files.maestrith.com/GUI-Creator/GUI-Creator.ahk

Thank you!

You are welcome :)

Re: GUI Creator (formerly Basic GUI Creator)

Post by Hacker » 11 Feb 2016, 13:45

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)

Post by maestrith » 11 Feb 2016, 13:23

Re: GUI Creator (formerly Basic GUI Creator)

Post by maestrith » 11 Feb 2016, 13:18

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.

Top