| View previous topic :: View next topic |
| Author |
Message |
Mayhem
Joined: 21 Aug 2004 Posts: 104
|
Posted: Wed Sep 08, 2004 7:51 pm Post subject: |
|
|
I really don't mean to be a pest but ...
| Quote: | | Mayhem, get latest download of ahk and read 1st page posts below my post. |
I've read these 2 pages over and over and i see nothing pertaining to how to impliment the GUI to our AHK scripts.
I am using the latest version 1.0.18.
Could someone point out the post he's talking about? (I apologize in advance for being blind)
Thanks! |
|
| Back to top |
|
 |
Atomhrt
Joined: 02 Sep 2004 Posts: 128 Location: Sunnyvale
|
Posted: Wed Sep 08, 2004 7:56 pm Post subject: |
|
|
| Mayhem wrote: | I really don't mean to be a pest but ...
| Quote: | | Mayhem, get latest download of ahk and read 1st page posts below my post. |
I've read these 2 pages over and over and i see nothing pertaining to how to impliment the GUI to our AHK scripts.
I am using the latest version 1.0.18.
Could someone point out the post he's talking about? (I apologize in advance for being blind)
Thanks! |
http://www.autohotkey.com/forum/viewtopic.php?t=748 _________________ I am he of whom he speaks! |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Wed Sep 08, 2004 9:48 pm Post subject: |
|
|
Sweeeeeeeeeeeeet! _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Thu Sep 09, 2004 6:33 am Post subject: |
|
|
Download updated. Due to addition of the custom hotkey feature, a li'l bug crept in that prevented basic form resize... now fixed. _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Thu Sep 09, 2004 6:35 am Post subject: |
|
|
| Quote: | | I've read these 2 pages over and over and i see nothing pertaining to how to impliment the GUI to our AHK scripts. |
mayhem, if u need help on gui functions then u'll have to see the 2 scripts Chris added in the gui version of ahk's .zip file. _________________
 |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Fri Sep 10, 2004 8:31 am Post subject: |
|
|
I'm sure you are already working on it, but is there going to be a new version to go along with the latest gui changes?
thanks,
beardboy |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Fri Sep 10, 2004 8:33 am Post subject: |
|
|
there'll be. soon. and a BIG one!  _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Fri Sep 10, 2004 3:00 pm Post subject: |
|
|
Release 2.0 - Guyz This one is BIG!
( i skipped a few releases because the last release candidate broke due to recent changes in GUI feature, and with all these major changes it virtually became a new application ...winamp 5.0 logic? ; )
Changes:
-The biggie 'Edit existing GUI scripts' is here!!!! yes now its possible!!! (my earlier plan and beardboy's suggestion too)
-And the awesome 'Move Group'!!... select a group of controls and move all of them together!... try it! its even sexy to look at!!
-MicroEditing. This stops controls from snapping to 10 pixel gaps and allows controls to be moved one pixel at a time.
-Constant Target Control and SmartGUI Window statistics display.
-Very stable control placement fix. the earlier version placed all controls about 2-3 pixels up (not a mojor difference...but its fixed now).
To move group of controls:
just select 'Move Group' from menu and drag mouse left button to completely cover all the controls that you want to be included in the group, and then move them to your hearts content using the control panel !
I remember Chris mentioned more than once that creating a GUI maker in some programming language is better than doing it in AHK, as maybe there one can select group of controls, while here it can't be done. so its basically his idea.
-well who says there are limits?! : )
Things to take care of while editing existing GUI scripts:
-No same line comments on 'Gui, add' statements
-For now, Font and Color are not supported.
-For now, it'll not work with GUIs having relative placing. The placing must be absolute (x30 y40 w130 h20)
you can understand it like this:
If you create a GUI using SmartGUI, u can edit it with SmartGUI... if you create one yourself (using auto-sizing etc.), u have to edit it yourself!
known issues:
combobox (and dropdownlist which is also combobox) is still a bit troublesome. apart from flashing, i'd to do a fix for the combobox control (i don't like control-specific fixes as that ain't elegant coding). and sometimes dropdownlist doesn't stick to its upper left corner (atleast on my PC) when mouse is clicked. the errors are not due to some problem with SmartGUI (afaik) but something else, which i'd like to track down.
do let me know if and what u like / dislike, bug reports and any feature requests... your constant interest will keep the project going. _________________
 |
|
| Back to top |
|
 |
Candle
Joined: 19 Aug 2004 Posts: 334
|
Posted: Fri Sep 10, 2004 3:34 pm Post subject: |
|
|
Just gave the new one a try and did a combo box and when it was done and tried to run it got this error .
---------------------------
Generated.ahk
---------------------------
Error: Parameter #2 is not a valid GUI control type.
Specifically: ComboBox
Line#
---> 003: Gui,Add,ComboBox,x27 y31 w220 h30 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Sep 10, 2004 4:13 pm Post subject: |
|
|
The latest SG looks grrreat! I have only one tiny suggestion. Instead of generating this:
WinWaitClose, Generated using SmartGUI
I think it would be nicer (since scripts are now auto-persistent and because it gets people in the right habit) to generate: | Code: | return
GuiClose:
ExitApp |
Thanks. |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Fri Sep 10, 2004 6:40 pm Post subject: |
|
|
Chris,
it was easily done so did it right away. _________________
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Sep 10, 2004 6:46 pm Post subject: |
|
|
| Thanks! |
|
| Back to top |
|
 |
Candle
Joined: 19 Aug 2004 Posts: 334
|
Posted: Sat Sep 11, 2004 12:24 am Post subject: |
|
|
| I'm going to some upgrades on the server in a few min's so the smartgui will be off line for about maybe 1/2 hour . I will post back when it is on line . |
|
| Back to top |
|
 |
Candle
Joined: 19 Aug 2004 Posts: 334
|
Posted: Sat Sep 11, 2004 12:43 am Post subject: |
|
|
| Should be back on line now . |
|
| Back to top |
|
 |
|