AutoHotkey Community

It is currently May 27th, 2012, 12:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 189 posts ]  Go to page 1, 2, 3, 4, 5 ... 13  Next
Author Message
 Post subject: Basic GUI creator.
PostPosted: May 17th, 2011, 4:45 am 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
I have been working on a Script Writer for a while now and I wanted to make a plugin for it that would give the user a development environment for making static GUI's. I know that Rajat has an amazing GUI creator but I was looking to make something a bit more simplistic. I have tested it as much as I can for bugs but if you can find some in it please message me. Any and all feedback is welcome.

Un-compiled version requires Autohotkey_L. Please download the compiled version if you are using any other versions.

Features:

  • Added duplicate control. Thank you shajul for your input.
  • Added remove control.
  • Added rectangular selection for selecting multiple controls.
  • Added space evenly with auto alignment.
  • Drag and select multiple controls and move, align, or space them evenly
  • Added move, align, and space into one function.
  • Multiple controls window has a checkbox for alignment.
  • When you create a control on a tab it will remember which tab the control is on.
  • Move multiple controls and retian there spacing.
  • Support for all types of controls (let me know if I have forgotten something)
  • Window numbering. Easily change the gui number when saving the script.
  • Change the font of individual controls
  • Easily edit control options
  • G-Labels added to controls are automatically added to your scripts
  • Undo
  • Resize and move multiple selected controls all at once
  • Use Shift and Control to add and change selections


Image

If you want to download the files easily just right click and select "save as" that way you do not have to copy and paste the code.

Compiled version can be downloaded here


The latest version can be downloaded here:



Version notes can be viewed here:


Thank you for taking the time to try out my script.

This script was developed using Script Writer

_________________________
Composed/Posted with [url=/]WYSIWYG BBCode Editor[/url]


Last edited by maestrith on May 17th, 2012, 11:20 pm, edited 34 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 17th, 2011, 5:54 am 
Offline

Joined: March 10th, 2011, 7:17 pm
Posts: 374
cool, simple, i like it :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 17th, 2011, 11:42 am 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
this is very nice..
maybe you can add an option to duplicate a control also someday!

_________________
If i've seen further it is by standing on the shoulders of giants

my site | ~shajul | WYSIWYG BBCode Editor


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 17th, 2011, 2:57 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
Simple-- Useful;
Could be expanded some without losing simplicity.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 17th, 2011, 4:14 pm 
Offline

Joined: February 3rd, 2010, 12:47 pm
Posts: 38
Location: Zagreb, Croatia
nice, but I suggest a grid background for easier alignment


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2011, 12:19 pm 
Offline

Joined: July 31st, 2008, 10:27 pm
Posts: 336
I am getting a duplicate function definition error. rcm(x="") is defined on lines 109, and 487.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2011, 1:39 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
Morpheus wrote:
I am getting a duplicate function definition error. rcm(x="") is defined on lines 109, and 487.

Yea....sorry about that. Somehow I got some of the code twice.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2011, 4:15 pm 
Offline

Joined: July 31st, 2008, 10:27 pm
Posts: 336
I have it working now. Preliminary results are looking good. Thanks for the script. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2011, 6:33 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
You are welcome Morpheus. I have a link at the top of the post where I will be publishing updates. Not all of them will make it to the forum right away so check there.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2011, 2:44 pm 
Offline

Joined: July 14th, 2004, 6:21 am
Posts: 20
Very nice, Thanks.

_________________
SJKeegs


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2011, 5:32 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
You are welcome sjkeegs. I hope you get some use out of it. I did add a few more options and also Text controls...I can not believe I forgot them.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2011, 7:45 pm 
Offline

Joined: November 24th, 2008, 7:22 pm
Posts: 73
hummm,

I just tried it and got a blank parameter error at line 255. I put "" in to see if that would let it load and got a too many parameters error at line 417.

Also, your url for the file has a redundancy at the beginning.

Relayer


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2011, 8:14 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
Relayer: same.
solution: use AHKL.

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2011, 8:32 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
Thank you Relayer for reporting that to me. I went through the code and found that I was using features that AHK Basic does not use. Thank you to tidbit as well for helping out. I have fixed the script and it should now work with basic as well. The sad thing is that code wise I was doing an extra step that was not necessary.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 20th, 2011, 4:20 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
I like it :) feels a lot smoother then smartgui.

My suggestions:
1. have the align tools work on reverse. If you right-click on a control and then click the align buttons, it should align that control to the next control clicked.

2. edit the text/headers/labels/whatever of a control. Not sure if you can currently do it, like adding extra headers to a lv or change the text in a text control.
-2a. duplicate control seemed to screw up the headers in the duplicated lv control. That was also the only control I test that on, might screw up other controls.

3. if you could somehow implement a grid, that'd be pretty handy :)


Here's a screenshot of my (quite old) unfinished gui creator. Maybe it'll give you some ideas. It still needs a lot of work. No grid, snapping, aligning, saving, loading and pretty flickery.. But it does have control edge detection, do you can resize the control when your mouse is at the edge of a control.

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 189 posts ]  Go to page 1, 2, 3, 4, 5 ... 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: fincs and 8 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group