Jump to content


Photo

v1.0.24 released: FormatTime, GUI drag-and-drop


  • Please log in to reply
17 replies to this topic

#1 Chris

Chris
  • Administrators
  • 10727 posts

Posted 09 December 2004 - 05:09 PM

Here are the changes for v1.0.24: http://www.autohotkey.com/changelog/

If you're waiting for a feature you think is important, and you haven't heard anything about it for a while, feel free to mention it.

#2 Rajat

Rajat
  • Members
  • 1886 posts

Posted 09 December 2004 - 06:46 PM

great! and congrats!

#3 Tekl

Tekl
  • Members
  • 814 posts

Posted 09 December 2004 - 11:28 PM

Hey,

that's a great idea with the command-lists in the extra directory.

Tekl

#4 Atomhrt

Atomhrt
  • Members
  • 124 posts

Posted 09 December 2004 - 11:54 PM

Wow! Lots of good stuff here in this release.

Thanks Chris!

#5 Tekl

Tekl
  • Members
  • 814 posts

Posted 10 December 2004 - 01:29 PM

Hi,

I don't know if some Editors may have problems with commandnames.txt. There are some commands with Parameters and I think most editor accept only one word:

If Var [not] in value1,value2,...

should be:

If
Else

Also I think, the directives could be in a separate file.

Tekl

#6 Chris

Chris
  • Administrators
  • 10727 posts

Posted 10 December 2004 - 01:47 PM

If Var [not] in value1,value2,...

should be:

If
Else

Rajat had some reasons for doing it that way. If he sees this, I'll let him explain it.

Also I think, the directives could be in a separate file.

You could check if the first character is # to detect whether it's a directive. That seems better than having to maintain a separate file.

Thanks.

#7 Tekl

Tekl
  • Members
  • 814 posts

Posted 10 December 2004 - 02:14 PM

Hi,

but if you have files, it's easier to create the colorgroups. So it could be done with only one array-loop. But it's no problem to use your way. Maybe all Syntax-files should be replaced with a script.

Tekl

#8 Rajat

Rajat
  • Members
  • 1886 posts

Posted 10 December 2004 - 05:36 PM

Rajat had some reasons for doing it that way. If he sees this, I'll let him explain it.

while doing the master files, my topmost consideration was to take care of all current and possibly future needs.

now, the 'if' cmd can be (as u see urself) used in many different ways... so if we just put an 'if' for every corresponding if-based cmd in commands.txt then it'd not be clear which does what in clip-library like uses.

And if the use requires essentially just one word cmd then its easy to do [StringGetPos + StringLeft] but on the other hand, its kind of difficult to get the different full cmds from just 'if'.

i hope its clear now.

#9 Chris

Chris
  • Administrators
  • 10727 posts

Posted 10 December 2004 - 09:25 PM

Maybe all Syntax-files should be replaced with a script.

That's an interesting idea. It would be nice some day to have a single GUI front-end that auto-detects the editors you have installed, sets the corresponding checkboxes for you (only by default -- you could uncheck them if you want), has some other checkboxes/radios/etc. to indicate your preferred background and syntax colors, and then reconfigures all the selected editors to support AutoHotkey syntax.

#10 Tekl

Tekl
  • Members
  • 814 posts

Posted 11 December 2004 - 08:16 PM

Hi Rajat,

I'm speaking about commandnames.txt. I thougt it should be used to build syntax-highlighting. All my Editors only want one single word for a command. For cliplibraries you're right, there should be all if-commands listed.

Hi Chris,

so someone should make a base-script with gui, where subroutines for every editor could be added or included, like plugins. For every editor there must be a detection-subroutine, so the gui displays only installed editors and a installation-routine for installing the syntax. The subroutines should set some global variables (if install successfull etc.) for the gui.

Tekl

#11 Chris

Chris
  • Administrators
  • 10727 posts

Posted 12 December 2004 - 02:26 AM

All my Editors only want one single word for a command.

Perhaps you could omit all lines containing spaces as you process the file? Something like:

IfInString, A_LoopReadLine, %A_Space%, Continue

so someone should make a base-script with gui, where subroutines for every editor could be added or included

Yes, that sounds good. It would probably be a lot of work to research all the different editors, their registry entries, and the differences among their version numbers (if any). But hopefully someday.

#12 BoBo

BoBo
  • Guests

Posted 12 December 2004 - 01:06 PM

Tekl wrote:
All my Editors only want one single word for a command.

Chris wrote:
Perhaps you could omit all lines containing spaces as you process the file? Something like:


@ Tekl
I've extracted AHK's commands by parsing the Command reference which is provided in the forum. I've done that to keep the original command (first colum of that table) but split its description (2nd column) to translate that to German.

I guess a plain list (a word per line) could be the source to be converted in whatever format.

Eh, but maybe I've lost you ... ?

#13 Chris

Chris
  • Administrators
  • 10727 posts

Posted 12 December 2004 - 01:56 PM

That sounds fine. If there's ever anything you can't find a way to do and you think there needs to be a change, please pass it on.

#14 Rajat

Rajat
  • Members
  • 1886 posts

Posted 13 December 2004 - 01:07 AM

guyz don't consider the master files as the final things... they're just building blocks... u can create whatever with them... leave something out if ur particular use finds it redundant... they're supposed to take care of most possible situations... if something isn't possible using these files then that calls for a change, not if something is extra in them!

#15 Rajat

Rajat
  • Members
  • 1886 posts

Posted 15 December 2004 - 04:23 AM

Chris, is it possible to add duplicate-removal support to sort cmd? ...with StringCaseSense affecting its behaviour too... this'll also help in generating scripts from master files, besides having other uses.