Jump to content


Photo

Extras folder


  • Please log in to reply
12 replies to this topic

#1 JoeSchmoe

JoeSchmoe
  • Members
  • 304 posts

Posted 17 November 2010 - 01:58 AM

I just tried to use Auto-Syntax Tidy on one of my scripts and it failed on the following line:
PathSyntaxFiles = %AHKPath%\Extras\Editors\Syntax
The failure arose due to the absence of an Extras folder in my recent clean installation of AHK_L.

Can the Extras folder be brought back into the _L installations now that they are the official successor? If not, could it be noted in the script compatibility page? My concern is that if people try out classic scripts like Auto-Syntax Tidy and they fail under _L but not under Basic, _L might get an undeserved reputation for bugginess.

#2 AndyS01

AndyS01
  • Members
  • 14 posts

Posted 25 May 2011 - 01:31 AM

Where did the Extras folder go? I just installed a clean verson of AHK and there's no %AHKPath%\Extras folder.

(The file I downloaded and executed was AutoHotkey110000_Install.exe)

#3 SoLong&Thx4AllTheFish

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts

Posted 25 May 2011 - 07:40 AM

as far as I know it is removed because the info/scripts in those folders haven't been updated in a long time so they are outdated.

#4 AndyS01

AndyS01
  • Members
  • 14 posts

Posted 25 May 2011 - 12:59 PM

I need to get syntax hilighting going for .ahk files. Does anyone have a copy of the SciTE/Notepad++ syntax file for .ahk files? That's all I need from the Extras folder.

#5 SoLong&Thx4AllTheFish

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts

Posted 25 May 2011 - 01:42 PM

If you search the forum you will find various notepad++ threads which discuss various types of syntax highlighting (but you can still download the AutoHotkey basic zip file and extract the files you need from there, see the download page for the link)

#6 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 26 May 2011 - 12:49 PM

Who said there outdated? Sure they may not have been updated in a while, but does that mean it shouldn't or can't be used anymore? Would lots of people not find the helpful?

I think it's a great shame when things are removed, just because they haven't been updated in the last few years. If you ask me, if something hasn't been updated it can mean 1 of 2 things:
[*:1zztrgaa]The author has lost interest/funding and/or can no longer be bothered to develop it.[*:1zztrgaa]It's good enough as it is and doesn't need any further updates.
I think number 2 is true for a lot of things around here that people seem to just 'assume' is outdated.

David

#7 SoLong&Thx4AllTheFish

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts

Posted 26 May 2011 - 01:20 PM

Just curious, have you looked at the Extras folder?

Some parts ARE outdated, the syntax section and files for example does not include ahk_l additions, so for ahk_l scripts installing the syntax highlighting in an editor as available in the extras folder will not work correctly as it will not highlight the new functions.

Also the highlighting is for old(er) version of certain editors (editplus v2 while there is a v3 for quite a while, on the forum there is an updated version of emacs etc) the scripts is a very basic intellisense, again new(er) versions are on the forum.

I for one I'm glad it is removed, such info should/could be on the wiki* and/or on the forum where is easier to update and discuss, no good in keeping incomplete information in the most recent installer of a program.

* I'm toying with the idea of creating a syntax highlighting wiki page to act as a starting point to the various syntax highlighting threads in the forum as a guide.

anyway just my 2cts

#8 MacroMan!

MacroMan!
  • Members
  • 604 posts

Posted 26 May 2011 - 06:40 PM

while, on the forum.
again new(er) versions are on the forum.


Most of the old extra's originated in the forum, so why aren't updated versions or replacements included in the install. I mean these are things that hundreds, if not thousands, of people will find useful but don't know they exist.

It just makes no sense to me to remove the folder and leave all these users without becase they don't know of an extras existence buried deep in the forum.

David

#9 Lexikos

Lexikos
  • Administrators
  • 8843 posts

Posted 27 May 2011 - 02:17 AM

My feeling was that if I left them there, it would be my responsibility to maintain them. I only have so much free time, and this is something that almost anyone else could do.

#10 SoLong&Thx4AllTheFish

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts

Posted 27 May 2011 - 11:56 AM

@Lexikos: one thing that might be useful and that you might be able to automate would be to generate updated syntax files and include those:

Variables.txt
Keywords.txt
Keys.txt
Functions.txt
CommandNames.txt

That way other people can at least use these to add syntax highlighting to their editor and/or create scripts to generate config files or install.

#11 guest3456

guest3456
  • Members
  • 1328 posts

Posted 27 May 2011 - 07:06 PM

now thats a good idea

#12 Guests

  • Guests

Posted 11 September 2011 - 11:04 AM

@Lexikos: one thing that might be useful and that you might be able to automate would be to generate updated syntax files and include those

Is this something that is on the agenda or should we rely on the second best option which seems to be SciTE4AutoHotkey's ahk.keywords.properties <!-- m -->https://raw.github.c... ... properties<!-- m -->
by fincs :?:

#13 Guests

  • Guests

Posted 25 December 2011 - 05:30 PM

Bump:
See AutoHotkey Syntax Highlighting 4 Text Editors project + Wiki
<!-- m -->http://www.autohotke...topic80374.html<!-- m -->