Jump to content


Photo

Would anyone like this ?


  • Please log in to reply
10 replies to this topic

#1 Candle

Candle
  • Members
  • 326 posts

Posted 06 September 2004 - 12:35 AM

I was going to make it but not sure if anyone would like it or use it ? it would have all the commands in the dropdown list and would put it into the edit window and then just have to add the size width etc .
Then save it to a ahk file .
what it looks like now .
Posted Image
Should I go on with this ?

#2 Chris

Chris
  • Administrators
  • 10727 posts

Posted 06 September 2004 - 01:15 AM

Looks interesting, though your time might be better spent making a syntax file and/or clip library for a free editor such as Crimson Editor. A clip library is very similar to what you've designed here: select a command, then its framework gets inserted into the editor for you to work with.

Although others have created such configs for some popular editors, no config (that I'm aware of) has yet been made for a free editor.

#3 Candle

Candle
  • Members
  • 326 posts

Posted 06 September 2004 - 01:18 AM

Ok Chris i'll look into .

#4 Candle

Candle
  • Members
  • 326 posts

Posted 06 September 2004 - 05:59 AM

Well I found some code and going to play with it , but depends on if I can get help with it in the basic forums as I'm new to this basic .
I got some done as you can see in the screenshot but long way to go maybe.
Posted Image

#5 BoBo

BoBo
  • Guests

Posted 06 September 2004 - 06:25 AM

If someone has fought already to build an AHK syntax file for UltraEdit (or any other editor), what about a script which takes a plain text Input file (which contains all AHK commands) to output such an AHK syntax highlighter :?:

Maybe an advantage for the GUI geeks :!: The AHK - Highlighter :D
eg. Select a command eg. "Directives" from 1st DropDownlist and the colour option "Green" from a 2nd DropDownList to create a syntax highlighter setting which colours any #Directive in your editor to green ...

:idea: a 3rd DropDownList = Select Editor (to set/select the syntax highlighting editor specific format)

#6 Chris

Chris
  • Administrators
  • 10727 posts

Posted 06 September 2004 - 11:36 AM

Well I found some code and going to play with it , but depends on if I can get help with it in the basic forums as I'm new to this basic.

I hadn't realized you had designs on creating a full-blown layout editor! Since you can do a lot fancier GUI things in a programming language such as VB than you can with ahk/au3, this might turn out to be a very useful utility. Good luck.

what about a script which takes a plain text Input file (which contains all AHK commands) to output such an AHK syntax highlighter

A more basic version of what you've proposed is already on the to-do list. If anyone has the patience and interest of writing an ahk script to do this, I'd be grateful. Rajat has already done some of the work by creating a plain text file of all the commands (including their syntax). It's included with the installer at AutoHotkey\Extras\Editors\TextPad\AHKcommands.txt.

I don't think this syntax/cliplibrary builder script would need to have a GUI. I could simply run it to create the files for distribution in the Extras folder. On the other hand if it did have a GUI, that might allow the syntax file to be generated dynmically with different-than-default syntax coloring (and other options) chosen by the user at the time of generation.

#7 savage

savage
  • Members
  • 207 posts

Posted 07 September 2004 - 05:49 PM

I've got quite a bit of VB experience, bobheart. I might be able to help you out with any problems. It has been a while, though, been using C# for my hacking lately :).

#8 Candle

Candle
  • Members
  • 326 posts

Posted 07 September 2004 - 06:36 PM

the code is in basic so going to keep hacking on it and see if I can make it work ?
if you want to look at the code just give a yell and i can post it i
guess .

#9 Guests

  • Guests

Posted 09 September 2004 - 08:02 AM

Looks interesting, though your time might be better spent making a syntax file and/or clip library for a free editor such as Crimson Editor. A clip library is very similar to what you've designed here: select a command, then its framework gets inserted into the editor for you to work with.

Although others have created such configs for some popular editors, no config (that I'm aware of) has yet been made for a free editor.


http://www.crimsoneditor.com/ Crimson Rocks!

#10 BoBo

BoBo
  • Guests

Posted 09 September 2004 - 09:02 AM

To use a nick while posting rocks too :wink:

#11 webber

webber
  • Members
  • 129 posts

Posted 04 September 2005 - 09:41 PM

I was going to make it but not sure if anyone would like it or use it ?


I would vote YES! Looks like you're on the right track for the interface and how it should be working.

Forge on! Post some code and others will help.

This looks like a good enhancement/companion/improvement for AHK studio.
________
ROLLS-ROYCE PHANTOM V