AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AutoHotkey TextPad Syntax File, by Rajat

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Apr 05, 2004 5:38 pm    Post subject: AutoHotkey TextPad Syntax File, by Rajat Reply with quote

The following is a proposed change log entry for the next release:

Added Rajat's TextPad syntax file and clip library to the Extras folder (which is accessible via the Start Menu). Also included is a script to install these features. When installed, TextPad will recognize and colorize the AutoHotkey language. In addition, the clip library allows command syntax to be pasted into the editor very quickly. Hopefully, similar add-ons for other editors will be developed in the coming months. Volunteers are welcome.

I've put a copy of Rajat's excellent work here. If any of you use TextPad, please give this a try if you get time, and let us know if spot any areas that should be improved:
http://www.autohotkey.com/download/extras/editors/TextPad.zip
Back to top
View user's profile Send private message Send e-mail
ribbet.1



Joined: 20 Feb 2007
Posts: 36
Location: D.C.

PostPosted: Fri Feb 22, 2008 6:24 pm    Post subject: Reply with quote

Hi, thought I'd rather this than add a new thread. The syntax file for Textpad doesn't appear to work for Textpad 5.1. I'm not saying it's the fault of the script however; I've tried manually associating the syntax file in 5.1 also, and I still haven't gotten the colors. And Rajat's script is not successfully installing the clips either, which I did manage to associate manually. And the optional macros to run script, use intellisense, etc. are not installing either.

Only done this once. It it's just an anomaly, sorry bout that. I have reverted to 4.73 at least for now, which was very nice anyway.
Back to top
View user's profile Send private message
Another Chris
Guest





PostPosted: Mon Feb 25, 2008 9:06 pm    Post subject: This script worked for me with some modification Reply with quote

Rajat script worked fine for me with Textpad 5.1. You just need to go through it and replace Texpad 4 with Textpad 5. The issue is that Textpad 5 installs into a different directory than Textpad 4.
Back to top
Da Rossa



Joined: 06 Dec 2007
Posts: 174

PostPosted: Tue Jun 03, 2008 7:15 pm    Post subject: Reply with quote

Hi gentlemen.
I downloaded the .syn file from Rajat, but I can't get it to work anyhow. What do I do? I put the syn files in the correct folder inside the Textpad directory, then executed the script to install it... went through the three prompted steps and nothing. The syntax in here is ugly. I go to options-document classes in Textpad, in there I see the .AHK colours right as I set them, but in the application it stays grey, very difficult to read.

What can I do?

p.s. my TXPad version is 5.03.
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Alzpa



Joined: 25 Feb 2008
Posts: 2

PostPosted: Wed Jun 04, 2008 1:22 am    Post subject: Reply with quote

Da Rossa,
Here are detailed instructions that should get it working:
1. Download http://www.autohotkey.com/download/extras/editors/TextPad.zip
2. Unzip it and open the created folder
3. Edit "Run this to install syntax and clip library files for TextPad.ahk" in notepad or textpad
4. Do a find/replace of "TextPad 4" with "TextPad 5"
5. Save and Close the file.
6. Double click on "Run this to install syntax and clip library files for TextPad.ahk"
7. You should be good to go now.
_________________
Autohotkey is the worlds greatest digital Ducktape.
Back to top
View user's profile Send private message
Da Rossa



Joined: 06 Dec 2007
Posts: 174

PostPosted: Wed Jun 04, 2008 2:13 am    Post subject: Reply with quote

Thanks sir!! It worked! Very Happy Very smart!
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Alzpa



Joined: 25 Feb 2008
Posts: 2

PostPosted: Wed Jun 04, 2008 5:17 pm    Post subject: Reply with quote

No problem I'm glad it worked.
_________________
Autohotkey is the worlds greatest digital Ducktape.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group