AutoHotkey Community

It is currently May 27th, 2012, 8:53 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 146 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 10  Next
Author Message
 Post subject:
PostPosted: July 27th, 2006, 9:49 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 27th, 2006, 7:36 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
toralf, here's the version with the statusbar

moderator: removed out-dated code

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 27th, 2006, 8:26 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 27th, 2006, 11:05 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 27th, 2006, 11:21 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 27th, 2006, 11:50 pm 
Offline

Joined: July 20th, 2006, 6:41 pm
Posts: 144
Location: Los Angeles
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 28th, 2006, 2:46 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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?

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 28th, 2006, 4:47 am 
Offline

Joined: July 20th, 2006, 6:41 pm
Posts: 144
Location: Los Angeles
actually I only speak english :)

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 30th, 2006, 2:24 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
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. :)

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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2006, 5:16 am 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2006, 8:22 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Thanks jballi and robiandi,
it will be fixed in the next release.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2006, 7:39 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2006, 8:05 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2006, 9:06 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2006, 9:17 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Thanks, it's fine.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 146 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 10  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: IsNull, tomoe_uehara, Xx7 and 12 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