AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: August 30th, 2011, 10:58 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
As I feel that any further discussion about the documentation of Gui names is probably a waste of my time, I'll only say (paraphrase) this once more: What was formerly a "Gui number" can now be non-numeric. That is more or less the extent of the "new behaviour."

Anonymous wrote:
...I think I prefer "Gui, New, SomeName, hwndVar" or "Gui, New, vSomeName hwndVar" more...
Then Gui SomeGuiName:New, SomeOtherName?, hwndVar would be possible, since that's how Gui works.
Quote:
But having "Gui, New" not change the default would be more annoying.
I will take it under consideration.
Quote:
...hrm, OK...is there anyway to "use Git" (or any VCS) without fully installing it?
Just click "Download" on github.
Quote:
(it apparently takes over Windows Explorer with alot of new menus),
AFAIK, it adds just two context menu items for folders. If that's too much for you, give up or get the portable version.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2011, 5:53 pm 
Lexikos wrote:
Yes. My previous answer to your question may have been inaccurate. The correct answer was that Gui names do not need to end in "Gui". It is added to the label name automatically, exactly the same way it was for Gui numbers. ("Two" and "2" should have the same behaviour; they're both names.)
Thanks for your answer, Lexicos. so will it be possible to change the text of the help file in the GUI topic under the Label point. May be you can change :
Help file wrote:
Sets custom names for this window's special labels. For example, Gui 2:+LabelMyGui would use the labels MyGuiClose and MyGuiSize (if they exist) instead of 2GuiClose and 2GuiSize.
by
Help file wrote:
Sets custom names for this window's special labels. For example, Gui 2:+LabelPoppins would use the labels PoppinsGuiClose and PoppinsGuiSize (if they exist) instead of 2GuiClose and 2GuiSize." to make the things more clear.
or something like that !!!
Thanks again for the good work.


Top
  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2011, 5:55 am 
Lexikos wrote:
Then Gui SomeGuiName:New, SomeOtherName?, hwndVar would be possible, since that's how Gui works.

...that's how Gui currently works, it doesn't have to be supported or documented like that in the future. Tacking a number (& now a name) on the front of a Gui command was likely a "quick hack" to make it work, we don't have to continue down that path. Design a syntax that looks good & makes sense, not one that handles all the old possible cases.

Lexikos wrote:
Just click "Download" on github.

...but OK, that gets me the files to edit, but then how do I "push" the changes back to you?

Did you look at how my Gui_New() behaves? I think I like the result of it.


Top
  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2011, 6:37 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Quote:
it doesn't have to be supported or documented like that in the future.
I see no good reason to change it.
Quote:
Tacking a number (& now a name) on the front of a Gui command was likely a "quick hack" to make it work,
I believe you are mistaken.
Quote:
...but OK, that gets me the files to edit, but then how do I "push" the changes back to you?
I'm sure you can think of something. I only need the files, or a diff/patch.
Quote:
Did you look at how my Gui_New() behaves?
No. Now I have. If I implement Gui New, it will likely use the same syntax as Gui Show.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2011, 7:47 am 
Lexikos wrote:
I see no good reason to change it.

...because it looks better/cleaner?

Lexikos wrote:
I believe you are mistaken.

...in what way?

Lexikos wrote:
I'm sure you can think of something. I only need the files, or a diff/patch.

...OK, that makes it easier...I thought you wanted a GitHub pull request.

Lexikos wrote:
If I implement Gui New, it will likely use the same syntax as Gui Show.

...the current syntax of my Gui_New() is mainly cuz it's a function...& I didn't wanna parse out vSomeName from the options. I'm quite happy with my function, but it would still be a good idea to create a built-in Gui, New so everyone else can start off making Gui's the right way. People are always confused creating Gui's...especially multiple Gui's. I can only help them, on the forum, after the fact, since I can't improve their default learning experience, by creating built-in commands/functions. I will, however, get started on the Docs tho.


Top
  
Reply with quote  
 Post subject:
PostPosted: August 31st, 2011, 9:11 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Your personal sense of what "looks good" is not sufficient justification to change the current syntax. It looks fine to me.
Anonymous wrote:
...in what way?
Quote:
mis·tak·en Adjective /məˈstākən/
1. Wrong in one's opinion or judgment.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 2nd, 2011, 4:04 am 
Offline

Joined: March 10th, 2011, 7:17 pm
Posts: 374
imo current Gui behavior is fine


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot 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