AutoHotkey Community

It is currently May 27th, 2012, 6:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: January 8th, 2006, 11:06 pm 
Offline

Joined: January 1st, 2005, 11:54 am
Posts: 75
I'm using the shareware file manager Total Commander (http://www.ghisler.com/), a two window Norton Commander clone (highly recommendable, by the way). It is able to show file contents in one of the windows. With (normally free) plug ins you can take quick looks at pictures, text-files, Microsoft Office files, PDFs an so on

Yesterday I found a useful free plug-in, Synplus (http://www.totalcmd.net/plugring/synplus.html). That's an editor that allows to view and edit highlighted sourcecode in the preview window. It comes in a stand alone version too. It can be startet from Total Commander using the F3-key.

I wrote a quick and dirty Syntax highlighting file:
http://www.autohotkey.net/~Boskoop/Synp ... x_File.zip
To install it copy the file Autohotkey.hgl into the directory "Highlighters". Add the line AHK=Autohotkey.hgl to the [EXTENSIONS] section of HGLs.ini

If you never used Total Commander before: Consult the help file on how to install plug-ins. It's rather easy.

Thats how it looks:

Image

Enjoy
Boskoop


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 9th, 2006, 2:17 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Boskoop wrote:
Does anybody know how I can add an image to a post? Using the [img]Picture[/img]-Tag doesn't work.
I think it didn't work merely because the link inside the tags was wrong. I've updated the top post with the corrected URLs provided by Serenity and another visitor.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 9th, 2006, 7:31 pm 
Offline

Joined: February 17th, 2005, 10:06 am
Posts: 280
Location: Hungary, Budapest
Yah, we actively promote AutoHotkey on the Total Commander forum!
Just search on the forum for AutoHotkey :-)

_________________
Is there another word for synonym?


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

Joined: July 30th, 2004, 11:30 pm
Posts: 74
Location: Deutschland (sorry for my english)
Thank you for the highlighter, Boskoop!

I was afraid i must do it myself :D
Have you updated the highlighter in the mean time please?


There is an second lister plugin called "syn" for Total Commander too.
http://sepa.spb.ru/?syn_eng

Image

---------

And on this web side there is an tool to collect your code snippets in an portable database witch use the same highlighter.
Good search, stand alone with ini, freeware.
SynTree - Tree-like code snippets organizer
http://sepa.spb.ru/?syn_eng

Image

_________________
Image Stefan

This post was created with the kindly help of http://dict.leo.org/ and remember: “Allways look on the bright side of Life”


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 27th, 2007, 1:24 am 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
I'd love to use this highlighter, but I followed the instructions and all I got was an error:
"unknown file format" when using "highlights.exe" in the highlighter folder.

Maybe the plugin needs to be updated?

Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 27th, 2007, 5:54 pm 
Offline

Joined: January 1st, 2005, 11:54 am
Posts: 75
I found Synplus when looking for an editor two years ago. I must admit, I never used it (too slow on my old computer). I settled with Notepad++. I never updated the syntax file. But it was easy as far as I remembember, using the command lists provided with AHK (Autohotkey\Extras\Editors\Syntax\).

I tried the newest version of Synplus, 2-7-3. It comes without the HGLs.ini-File. I copied the autohotkey.hgl-file into the Highlighters directory. Then I ran the run_hlsett.bat and got a GUI which made it possible to include Autohotkey and exclude other highlighters- which made synplus much faster too. It works fine with Total Commander 7.02a- and I think I will keep it this time :)

Thanks for reminding me of Synplus

Boskoop


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 27th, 2007, 10:07 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
I'd love to use:
SynTree - Tree-like code snippets organizer
http://sepa.spb.ru/?syn_eng

to collect bits of ahk, and have them done with syntax highlighting.

Probably the syntax highlighting will not happen anytime soon.

another option may be to create a project in PSpad and just add one file per 'code bit'. the problem is that you cannot keep then in a tree nor add icons like in SynTree.

Do you use any program to keep code bits?

Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 28th, 2007, 1:43 am 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
by the way here's a fantastic program that I'm using to collect code snippets:

total text container
http://sourceforge.net/projects/totaltext/

It does many other things (calendars, todos, contacts, spreadsheets)...

But why I think it'd be useful for ahk people is because it does like syntree but using synPlus, not syn. That way, one could use the syntax file on this thread.

I tried and didn't get it to work.
Posted in their forum.

If anybody succeeds, please post the solution here.

Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 28th, 2007, 4:03 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
Ok, I'm trying to fix the synplus syntax file on my own. I noticed that all other syntax files use <W>command<\W> instead of <word value ="command">.

I did a global replace and the syntax file still doesn't work. It's a mystery to me...


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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