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 

Plug'n'Play GUI Settings Editor for your scripts (Version 6)
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jul 27, 2006 9:49 am    Post subject: Reply with quote

toralf wrote:
The only thing missing is an extra field for a default value other then the normal value. Do you think this is needed? I hope not, otherwise I have to redesign the GUI cause such a field would require more space. I guess it is so rare that I can expect the user to edit the ini file manually. (Remember this is only during creation of the ini file.)

what u said occurred to me briefly too... but this editor will be used by us guys to create an initial default file which will have only default values... so no point in having a separate field... the 'default' checkbox is a good idea. u already seem to have thought it all quite well.
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jul 27, 2006 7:36 pm    Post subject: Reply with quote

toralf, here's the version with the statusbar

moderator: removed out-dated code
_________________
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Thu Jul 27, 2006 8:26 pm    Post subject: Reply with quote

Rajat wrote:
toralf, here's the version with the statusbar
Thanks Rajat,
I have used your code and integrated it into my code. I updated my post on the first page.

@All:
I also put the first beta of the IniFileCreator there. Please test and give feedback Thanks
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jul 27, 2006 11:05 pm    Post subject: Reply with quote

i just edited (and enhanced) my first real-use .ini file for the function using your editor and it has worked beautifully!
it really is a lot easier to work in this editor instead of editing a file for this function in notepad.
very nice work there toralf... congrats and thanks!

also, i've been thinking that its no use to maintain 2 similar functions, the original and the mod, when the mod does everything that the original can... we can have a single function posted as joint work. please give me your thoughts on this.
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jul 27, 2006 11:21 pm    Post subject: Reply with quote

i've a suggestion for the editor. how about adding a 'Test' buton that will launch the currently edited file with our function and we can see how it finally looks, instead of saving it in the editor and launching with function manually.
_________________
Back to top
View user's profile Send private message
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Thu Jul 27, 2006 11:50 pm    Post subject: Fully Working Area implement Reply with quote

Hi - I've finally managed to get everything working with the area implement.

You simple add a hyphen between the area and section (as was suggested before [area - section])

To do multiple sections in the same area you would do
[area - section1]
[area - section2]

obviously don't have to do numbers, but just for illustration.

I would really appreciate if you guys would think about taking up this variation, it just adds functionality to the program and will work if other people don't want to use the area function

Here's a link to the script HERE

and a sample ini that fully works is HERE

The last script I took to modify was right after the default button was added.

Sincerely,
Kerry
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Fri Jul 28, 2006 2:46 am    Post subject: Reply with quote

i tried running your script but got this error:

---------------------------
test2.ahk
---------------------------
Error at line 83.

Line Text:
Þs%
Error: This parameter contains a variable name missing its ending percent sign.

The program will exit.
---------------------------
OK
---------------------------


probably your OS doesn't have english as default?
_________________
Back to top
View user's profile Send private message
Kerry



Joined: 20 Jul 2006
Posts: 146
Location: Los Angeles

PostPosted: Fri Jul 28, 2006 4:47 am    Post subject: Reply with quote

actually I only speak english Smile

there was some weird copy error when I tried to upload to autohotkey.net that added that in, so I added it to my own site

here's the script again, except without those things, sorry about that the first time

Click Here
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
jballi



Joined: 01 Oct 2005
Posts: 334
Location: Texas, USA

PostPosted: Sun Jul 30, 2006 2:24 am    Post subject: Reply with quote

Although I've downloaded some of the versions of the code as they were released, I am just now getting a chance to check it out and give it look-see. Excellent idea and excellent coding! I've learned a lot just looking through the code and I will definitely will be taking some of these ideas with me. When I need a Q&D configuration editor, I will definitely be using these functions. Thank you for sharing. Smile

I noticed a problem in version 1.2 of the editor. The description field is displaying something like 430336430408Des instead displaying of the correct description of the variables. As far as I can tell, the program is correctly interpreting all other values. The description field is displayed correctly in version 1.0 or 1.1 (not sure which).

Thought I would let you know. Thank you for your assistance.
Back to top
View user's profile Send private message
robiandi
Guest





PostPosted: Mon Jul 31, 2006 5:16 am    Post subject: Reply with quote

Quote:
I noticed a problem in version 1.2 of the editor. The description field is displaying something like 430336430408Des instead displaying of the correct description of the variables.
In line 293 you have to replace
Code:
            GuiControl, , Edit2, %PrntID%%CurrID%Des
by
Code:
            GuiControl, , Edit2, % %PrntID%%CurrID%Des
Back to top
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Jul 31, 2006 8:22 am    Post subject: Reply with quote

Thanks jballi and robiandi,
it will be fixed in the next release.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Jul 31, 2006 7:39 pm    Post subject: Reply with quote

Rajat wrote:
i've been thinking that its no use to maintain 2 similar functions, the original and the mod, when the mod does everything that the original can... we can have a single function posted as joint work. please give me your thoughts on this.
I agree. Updating two versions is redundant. Please go ahead and post it as joint work. Thanks for the great idea of a general ini editor.

It had the benefit for me that I had to dive into treeview which I still hadn't done before but always had on my list. :)
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Jul 31, 2006 8:05 pm    Post subject: Reply with quote

Updated the code in my post of the first page.

The function now has the bugfix (thanks jaballi and robiandi)
And the ini creator now uses the function to test the currently edited ini file.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Mon Jul 31, 2006 9:06 pm    Post subject: Reply with quote

I've updated the main post to compile mine and toralf's efforts on this at a central resource.

toralf, do let me know if you desire any changes here. thanks.
_________________
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Jul 31, 2006 9:17 pm    Post subject: Reply with quote

Thanks, it's fine.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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, 4, 5, 6, 7, 8, 9, 10  Next
Page 5 of 10

 
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