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 ... 10  Next
Author Message
 Post subject:
PostPosted: July 25th, 2006, 11:43 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
:P
your modded function has turned out great... i should be adding it to the main post on top.. u uploading it somewhere?

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 26th, 2006, 5:05 am 
Offline

Joined: July 20th, 2006, 6:41 pm
Posts: 144
Location: Los Angeles
Hey! god you guys have really taken off on this, it's great! I'm still using the first one that still came out in my script, but I'm going to upgrade it really soon

I had 2 requests that I would find very helpful if you could do them :)

  1. Preselected Key (if you want someone to go to a certain key first, or in my case, want to make sure someone realizes they should open the section)
  2. Have certain values that are acceptable. For example, in my script, I test whether someone puts in "Yes" or "No", I wouldn't want them putting in any other thing or else it can mess up the script. Maybe a dropdown menu with possible options


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

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Rajat wrote:
:P
your modded function has turned out great... i should be adding it to the main post on top.. u uploading it somewhere?
Thanks for th honor. I'll upload it soon. The post is getting too long now. But first I would like to enhance it a bit more.

Kerry wrote:
Preselected Key (if you want someone to go to a certain key first, or in my case, want to make sure someone realizes they should open the section)
I do not know how this could do be done. Any suggestions? Rajat?

Kerry wrote:
Have certain values that are acceptable. For example, in my script, I test whether someone puts in "Yes" or "No", I wouldn't want them putting in any other thing or else it can mess up the script. Maybe a dropdown menu with possible options
Hmmm, good idea, Have to think about it. Maybe a key type "DropDown" with a comma separated list following the type definition.

Thanks for the feedback.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 26th, 2006, 10:02 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
toralf wrote:
Kerry wrote:
Preselected Key (if you want someone to go to a certain key first, or in my case, want to make sure someone realizes they should open the section)
I do not know how this could do be done. Any suggestions? Rajat?

ahk doesn't have any direct way of selecting a treeview item AFAIK, so the only way i can think of is Sending Keys %DefaultSec%{Right}%DefaultKey%

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 26th, 2006, 10:19 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
I found a way to select the first key of the first section
Code:
TV_Modify(TV_GetChild(TV_GetNext()), "Select")
I also added a DropDown key type. Will update the script in the above post in a few minutes

_________________
Ciao
toralf
Image


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

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
I was wondering if you guys could come up with a better name for the function. "EditSettings" is a bit too simple and I'm not sure if the functionality behind it is clear by its name. What do you think?

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 26th, 2006, 11:25 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
toralf wrote:
What do you think?


SetConfig()
Configure()
ConfigEdit()

Regards( :D )

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 26th, 2006, 11:36 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Goyyah wrote:
SetConfig()
Configure()
ConfigEdit()
Thanks for the suggestions. I want to wait for rajat, before I make a decission.

PS: Just added custom date & time formats for the DateTime key type. And resozed some controls in the GUI. (The script above is NOT yet updated.) Anything else users wish for?

_________________
Ciao
toralf
Image


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

Joined: July 20th, 2006, 6:41 pm
Posts: 144
Location: Los Angeles
Quote:
PS: Just added custom date & time formats for the DateTime key type. And resozed some controls in the GUI. (The script above is NOT yet updated.) Anything else users wish for?


Not for me... I'm not currently using the full functionality of the script, but I'm sure I will, but I can't think of any other updates at the moment.

As far as names, I suggest having something with the name INI so that it shows that its editting an INI

ConfigINI
EditINISettings, something that says more specfically :)

-Kerry


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

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
I updated the code and redesigned my first post.

BTW: I changed the name of the function to "IniSettingsEditor". I hope you bear with me that I didn't start a poll on it.

_________________
Ciao
toralf
Image


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

Joined: July 20th, 2006, 6:41 pm
Posts: 144
Location: Los Angeles
yeah that's a good name, and not a problem, it's your and Goyyah's thing :).

I was thinking of something that could go along with this, and that is making a function that adds in the extra line of functionality

maybe make a similar IniWrite funciton except adds description and type? I don't know, this could be quite hard. The only reason I ask is because I create my .ini dynamically (on request of the user) and then launch this program

dunno if this is possible, but just an idea :)

-Kerry


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

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
hey toralf! Just come back from work and checked out your latest offering... Its nothing short of awesome!
I've updated my main post to add a link to your post just next to the d/l link to my script. This way whoever reads just the first post will not miss your script.

I'm sure this script of ours is all set to become THE settings editor for many ahk scripts! ;)

by the way it has occurred to me earlier too but forgot to mention it... How about removing the 'Type : xxxx' from showing in description? ... it looks more part-of-code-thing than descriptive. if needed we can always use the normal description to explain the reqmts of the particular setting.

and yeah... Thanks for all those improvements!

_________________
Image


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

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Hi Rajat,

Thanks for the link and the respect.

Rajat wrote:
How about removing the 'Type : xxxx' from showing in description? ... it looks more part-of-code-thing than descriptive. if needed we can always use the normal description to explain the reqmts of the particular setting.
Of cause it is possible, but I think it isn't bad to have it there, it adds some more information to the description. How do other feel about this?

I was thinking of maybe having a key default value similiar to the key type (e.g. ;somekey default: xxxx) And a button on the GUI to reset all values to their defaults. But I guess it not that often used.

I was also thinking of a max/min limit for Integer and Float numbers, but couldn't think of an elegant way to implement that. Maybe also a max length for text. But only if code size is small. I don't want to make the script more complex.

_________________
Ciao
toralf
Image


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

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
toralf wrote:
I was thinking of maybe having a key default value similiar to the key type (e.g. ;somekey default: xxxx) And a button on the GUI to reset all values to their defaults. But I guess it not that often used.

now that you mention it, I remember I had it on my mind initially to have a 'default' button that resets the currently selected value to its default value (though i hadn't planned for a set-all-to-default button). it should be easily do-able.

toralf wrote:
I was also thinking of a max/min limit for Integer and Float numbers, but couldn't think of an elegant way to implement that. Maybe also a max length for text. But only if code size is small. I don't want to make the script more complex.

this i think isn't worth the effort. Also for special needs, the host script can always check the updated setting in the .ini and MsgBox that this particular setting isn't correct and should be changed to whatever.

_________________
Image


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

Joined: July 20th, 2006, 6:41 pm
Posts: 144
Location: Los Angeles
Hey - another request that would be helpful :)

Making it able to pick up multiple ini's, this might be a big add on, and then it would just go down further in the tree

-Kerry

P.S. I think both of those defaults would be good - you guys rock


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 ... 10  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], IsNull, tomoe_uehara, Xx7 and 11 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