AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

:: SmartGUI Creator ::
Goto page Previous  1, 2, 3, ... 37, 38, 39  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Sep 07, 2004 12:44 am    Post subject: Reply with quote

Quote:
combobox has some problem, which Chris might be able to explain ... just minimize & maximize the main window
I thought about it but didn't come up with a ready explanation. Try doing a quick WinHide + WinShow (or some other fast operation) to get the entire window to redraw.
Back to top
View user's profile Send private message Send e-mail
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Tue Sep 07, 2004 4:57 am    Post subject: Reply with quote

Thanx Chris ...using your idea I saw that WinHide/WinShow fixed the problems with combobox/pic, but the window flashed (which i didn't like much) after every control add... then from your idea it occurred to me to just hide/show the control and bingo!
(though combobox still isn't clearly visible while moving/resizing)

Quote:
When inserting a picture or a combobox, they seem to dissapear when moving or resizing them.

-I don't exactly know what is the problem with combobox (i'm sure Chris will kill whatever it is at some time), but with the release 1.2 turn-off grid before adding/modifying a combobox and it shouldn't bother you.

Quote:
When resizing the groups, it takes part of the image behind it with it so you can't see whatat is behind the group when resizing it.

-same reason as pic. but that happens only while u give it the upper-left position... after that there's no unruly behaviour. I can fix it right away, but the way is to refresh control with every mouse move... i'll try to find a better way.

Quote:
If you resize the images to make them smaller they go back to full size when you run the script.

-In GUI ideas post i've already mentioned this to Chris and he said that he'll fix that soon.

Thanx for the feedback... let me know if there are other issues ... I'll try to better whatever I can....also its better that Chris gets to know now if something in GUI feature needs ironing out, instead of much later.
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Tue Sep 07, 2004 4:58 am    Post subject: Reply with quote

Release 1.2

Changes:
-Middle mouse button will open SmartGUI menu if its the active app. (thanx Jon)
-Fixes regarding newly created controls not showing properly. (thanx Chris and Jon)
-Fixed a bug which caused the hidden grid to return if a pic is added.
-Added option to Undo last deleted control !
-Made tooltip help Not always on top (yes you can do that!)
-Changed grid color (looks better?)
_________________
Back to top
View user's profile Send private message
Candle



Joined: 19 Aug 2004
Posts: 334

PostPosted: Tue Sep 07, 2004 5:03 am    Post subject: Reply with quote

what happens if no middle button?
Back to top
View user's profile Send private message
Mayhem



Joined: 21 Aug 2004
Posts: 104

PostPosted: Tue Sep 07, 2004 6:55 am    Post subject: Reply with quote

Once i have my GUI created, how to i implement it into my script?

All i get is :

Error at line 3 :

Gui, Add, Checkbox, x474 y558 w60 h160, Checkbox
Error : this line does not contain a reconized action.

This program will now close.
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Tue Sep 07, 2004 7:19 am    Post subject: Reply with quote

BobHeart, u always have the tray menu! ... is it that u need some other hotkey?

Mayhem, get latest download of ahk and read 1st page posts below my post.
_________________
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Tue Sep 07, 2004 7:21 am    Post subject: Reply with quote

I seem to remember that you've to drop the "GUI script" onto the Alpha-Test-AutoHotkey.exe (which contains the necessary code to interprete the new commands/features). So maybe you can use something like this inside an existing script:

Run, AutoHotkey.exe "C:\MyGUIScript.ahk"

TBH could be pure nonsense ... Embarassed
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Sep 07, 2004 11:15 am    Post subject: Reply with quote

Quote:
Real nice . no reason to do the form maker I was going to do
Ultimately, any layout editor written in a scripting language such as AutoHotkey might run up against certain limitations. For example, it might turn out to be difficult or impossible to do multi-select so that a group of controls can all be dragged to a new location. In light of this, crafting a layout editor in a real programming language might someday have its advantages.

I say this not because I expect anyone to write such an tool, but just in case they wanted to do so anyway and didn't want to get discouraged.
Back to top
View user's profile Send private message Send e-mail
beardboy



Joined: 02 Mar 2004
Posts: 444
Location: SLC, Utah

PostPosted: Tue Sep 07, 2004 2:29 pm    Post subject: Reply with quote

Download link appears to be down again.

thanks,
beardboy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Candle



Joined: 19 Aug 2004
Posts: 334

PostPosted: Tue Sep 07, 2004 7:32 pm    Post subject: Reply with quote

beardboy wrote:
Download link appears to be down again.

thanks,
beardboy

http://www.candles-weblog.us/simple_file/upload_directory/SmartGUI.zip
Works for me Smile
Back to top
View user's profile Send private message
beardboy



Joined: 02 Mar 2004
Posts: 444
Location: SLC, Utah

PostPosted: Wed Sep 08, 2004 4:29 am    Post subject: Reply with quote

I thought it was my firewall at work, but remoted onto my computer at home and ran into the same problem. But it is working now. Very good stuff. Great work as always Rajat, and to everyone who has made suggestions.

thanks,
beardboy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
beardboy



Joined: 02 Mar 2004
Posts: 444
Location: SLC, Utah

PostPosted: Wed Sep 08, 2004 5:26 am    Post subject: Reply with quote

Would it be possible to have the option to open a script created by SmartGUI? I made the GUI, exited and then decided I wanted to change some stuff, but had to do it manually (I'm lazy).

If you turn on "Ask Control Label" and create a couple of controls, and then modify any control it's label will be renamed to the last control created. But only when you save it. If you modify multiple controls, any control you modify gets renamed.

thanks,
beardboy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Wed Sep 08, 2004 9:52 am    Post subject: Reply with quote

Quote:
I seem to remember that you've to drop the "GUI script" onto the Alpha-Test-AutoHotkey.exe

get the latest ahk download... it has gui support.

Quote:
Would it be possible to have the option to open a script created by SmartGUI? I made the GUI, exited and then decided I wanted to change some stuff, but had to do it manually (I'm lazy).

right now the option available to u is to use my modded GuiAsst. though i've plans to add support for this right into SGUI... but i'm pondering over different ideas which'll help not break any existing function.

Quote:
If you turn on "Ask Control Label" and create a couple of controls, and then modify any control it's label will be renamed to the last control created. But only when you save it. If you modify multiple controls, any control you modify gets renamed.

thanx. i will try to fix it soon.
_________________


Last edited by Rajat on Wed Sep 08, 2004 10:28 am; edited 1 time in total
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Wed Sep 08, 2004 9:56 am    Post subject: Reply with quote

is it okay to add support to edit existing gui by the following way, or should i think of something else in case it sounds a bit crude:

if a file named gui2edit.ahk is found in the SmartGUI's folder then it goes into edit mode, otherwise normal mode.

btw if it helps ... i can include option for custom hotkeys in next release.
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Wed Sep 08, 2004 6:20 pm    Post subject: Reply with quote

Relase 1.3

Changes:
-Fixed the bug that caused a modified custom label control to set its label to other controls too. (thanx beardboy)
-Fixed a bug that caused a control to still be created by a default name if on the edit label input box cancel is pressed.
-Improved GUI updation of controls during manipulation. should really help pic control.
-Added 'Test GUI' feature. It'll generate the resultant GUI script and run it, while still keeping SmartGUI open, so that u can see how the resultant GUI will exactly look without finally exiting the program.
-Added 'Custom Hotkeys' feature. hotkey help shows correct custom hotkeys. edit SmartGUI.ini to customize hotkeys.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, ... 37, 38, 39  Next
Page 2 of 39

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group