| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon Nov 01, 2004 1:38 am Post subject: |
|
|
| Chris wrote: | | beardboy was kind enough to make a syntax file and clip library for it (available in the AutoHotkey\Extras folder). |
Where can I find this exactly? |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Mon Nov 01, 2004 2:42 am Post subject: |
|
|
| Chris wrote: | | I don't think there's any way to change the color of individual words in a plain Edit control (maybe in a RichEdit control, which isn't yet an option). |
Thanks for telling me before I started looking into it lol. Until RichEdit comes out I guess my editor is going to be like how it is I guess.
I've looked at PSPad and Notepad2, looks interesting. |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
|
| Back to top |
|
 |
exhueydriver
Joined: 12 Jul 2004 Posts: 51 Location: Fife,Wa
|
Posted: Mon Nov 01, 2004 5:16 am Post subject: |
|
|
OK, I needed a NotePad replacement, so I got PSpad, since beardboy
went to the trouble of writing the *.ini & *.def files (Thanks, BB), but I
can't get PSpad to add AHK to its' list of Syntax's. I copied both files
from the Extras folder(BTW, why do I have *2* of those, one regular,
one with a (2) after it?), into the PSpad "Context" and "Syntax" folders,
(I just looked for other files in those folders that had the same extension),
and even after a re-start, it doesn't show up. Is there something I'm missing?
Any help, as always, will be greatly appreciated.
Don |
|
| Back to top |
|
 |
Atomhrt
Joined: 02 Sep 2004 Posts: 128 Location: Sunnyvale
|
Posted: Mon Nov 01, 2004 5:29 am Post subject: |
|
|
I have used Jedit a lot. It has quite a few handy plugins and themes that allow you to change the look. Plus, a quick-launch feature. _________________ I am he of whom he speaks! |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Nov 01, 2004 12:51 pm Post subject: |
|
|
| Quote: | | Where can I find this exactly? | There's a shortcut to it in the Start Menu -> AutoHotkey\Extras
| Quote: | | but I can't get PSpad to add AHK to its' list of Syntax's. I copied both files from the Extras folder(BTW, why do I have *2* of those, one regular, one with a (2) after it?), into the PSpad "Context" and "Syntax" folders, (I just looked for other files in those folders that had the same extension), and even after a re-start, it doesn't show up. Is there something I'm missing? | I'm not sure if these are the best steps, but it's what I did:
Put the .def file into PSPad\Context
Put the .ini file into PSPad\Syntax
In menu: Settings >> Highlighter Settings: Select the General item near the bottom on the left. Now the user highlighters list near the right side should become enabled and you can select AutoHotkey.
I think the open file must have a .ahk extension for the highlighting to kick in. In addition, to use the clip library, press Ctrl-Space while editing. |
|
| Back to top |
|
 |
exhueydriver
Joined: 12 Jul 2004 Posts: 51 Location: Fife,Wa
|
Posted: Mon Nov 01, 2004 5:06 pm Post subject: |
|
|
"In menu: Settings >> Highlighter Settings: Select the General item near the bottom on the left. Now the user highlighters list near the right side should become enabled and you can select AutoHotkey. "
This worked, then you have to click on the "PAS\BAS button in the toolbar,
and AHK is now there.
Thanks,
Don |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Tue Nov 02, 2004 2:00 pm Post subject: |
|
|
though got late, but i tried it and its nice.... richedit, whenever available, will make it a lot better. _________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Fri Nov 05, 2004 3:48 pm Post subject: |
|
|
Anybody want to look at my editor and give feedback?
Alternate download link
Last edited by Titan on Sat Nov 06, 2004 2:30 am; edited 1 time in total |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Fri Nov 05, 2004 5:37 pm Post subject: |
|
|
nice job Titan
when i click on install syntax the help file loads
so i'm thinking you forgot a return under that button  _________________ ^sleepy^ |
|
| Back to top |
|
 |
Wingfat
Joined: 23 Aug 2004 Posts: 193 Location: East Bay, California USA
|
Posted: Fri Nov 05, 2004 5:45 pm Post subject: |
|
|
Titan,
Nice job, i like the feel of it.
Can the links open a new browser and not take over my last open one?
Are there any color enhancements that you are going to add?
ex:
Send Commands would be in Red
Hot Keys listed in orange
that type of thing? i know there are other editors out there like that, but one designed just for AHK would be awesome. _________________ ----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
----------------------------- |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Nov 05, 2004 11:57 pm Post subject: |
|
|
| Quote: | | Anybody want to look at my editor and give feedback? | Great improvements, such as the sample scripts and the "Run Script" button. I wish AutoHotkey had more to offer you in terms of features. As it stands now, your hands are pretty well tied to using a plain edit control, which prevents syntax highlighting and such. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Sat Nov 06, 2004 12:58 am Post subject: |
|
|
| sleepyy35 wrote: | | when i click on install syntax the help file loads |
No, for now this is meant to happen so users can refer to the help file for the syntaxes and such lol
| Wingfat wrote: | Are there any color enhancements that you are going to add?
Can the links open a new browser and not take over my last open one? |
I would like to do this but as Chris told me, this isn't possible because there isn't a Richedit on AHK. So for now Syntax colouring can't be done soz.
This has been talked about before (a syntax for a new browser or something like that) but it doesn't seem that there is a roundabout soloution. Internet Explorer isn't in the %SystemRoot% so I couldn't even do a:
Run, IE.exe
Run, http:// ...
| Chris wrote: | | As it stands now, your hands are pretty well tied to using a plain edit control, which prevents syntax highlighting and such. |
I suppose so, come to think of it syntax colouring and tooltips would be really hard and a long project. But I might have a bash when the oppertunety comes along anyway thanks.
Erm, I done an update to include an option to clean temporary made files (which can sometimes be really big depending on what you're doing). Also fixed some typos, alot of typos lol. |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Fri Nov 12, 2004 3:31 am Post subject: |
|
|
i checked out both editors (yours and Titan's) ... very nice work! if developed more i'm sure they can sure beat some others.
there's one thing that every code editor should have, fixedys fonts... like maybe courier. _________________
 |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Fri Nov 12, 2004 10:44 am Post subject: |
|
|
thanx for the input Rajat  _________________ ^sleepy^ |
|
| Back to top |
|
 |
|