| View previous topic :: View next topic |
| Author |
Message |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Sat Mar 05, 2005 4:00 pm Post subject: How can I use Extras/Editors? |
|
|
I know there are 7 folders(possibly for editors ) in "extras/editors" folder of AutoHotkey, but how can I use them? How can I Install them? Or do I have to download the editors from somewhere else?  |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sat Mar 05, 2005 4:07 pm Post subject: |
|
|
This folder contains files which are usefull if you wanna configure your/whatever editor to work with AutoHotkey (AHK). It depends on the editor itself if SyntaxHighlighting and/or AutoReplace is offered.
Finally, yes you've to download one editor of your choice. Check them out. Within the Forum you'll find several postings about which editor is the best (and probaly why). Make your mind.  |
|
| Back to top |
|
 |
Guest (tpatel5) Guest
|
Posted: Sat Mar 05, 2005 4:35 pm Post subject: Well... |
|
|
Ok
When I search for the Xemacs to download, I found some websites with crazy packages to choose from and I don't understand which one to choose and will work with the autohotkey or my computer (XP home ed) . Plz help. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sat Mar 05, 2005 5:00 pm Post subject: |
|
|
Download this first. It's the NetInstaller for XEmacs.
Then, open this site in your browser. It's a tutorial with screenshots of the installer. If you get confused about anything during the setup process, simply refer to that tutorial or use the default settings.
P.S. If I were you, I'd go for Native over CygWin (Don't worry about understanding until you see the option in the installer). |
|
| Back to top |
|
 |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Sat Mar 05, 2005 5:22 pm Post subject: |
|
|
File in the extras/editors/xemacs folder of autohotkey says:
| Quote: |
;;Place this file somewhere in your load-path, byte-compile it and add the
;; following line to your ~/.xemacs/init.el:
;; (require 'ahk-mode)
|
What does that mean? and How do I do that? |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sat Mar 05, 2005 6:02 pm Post subject: |
|
|
| I'm honestly not sure. When I get around to it, I'll install XEmacs for myself and figure it out, but that might be never. If somone else has experience with XEmacs synfiles, would you mind giving tpatel a hand? |
|
| Back to top |
|
 |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Sun Mar 06, 2005 12:08 am Post subject: |
|
|
Never mind,
I will be happy with my Notepad and AHK editor 1.20.
They work just fine  |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sun Mar 06, 2005 12:38 am Post subject: |
|
|
Whatever floats your boat.
Personally, I prefer PSPad. It's easy as pie to set up, it's the preferred editor of the majority of AHKers, and here's the best part: it comes with an AHK syntax file built-in. It may be daunting if you've never worked with IDEs before, though. |
|
| Back to top |
|
 |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Wed Mar 09, 2005 5:39 pm Post subject: |
|
|
How can I make PSpad my default editor for AHK  _________________ -Tru  |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Wed Mar 09, 2005 5:48 pm Post subject: |
|
|
| tpatel5 wrote: | How can I make PSpad my default editor for AHK  |
| Code: | | RegWrite, Reg_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Edit\Command, , notepad.exe "%1" %* ;(or the pathname of the file/editor). | Edit: Tested  _________________
 |
|
| Back to top |
|
 |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Wed Mar 09, 2005 6:23 pm Post subject: |
|
|
This is what I did:
I created ahk sript with following line:
RegWrite, Reg_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Run\Command, , C:\Program Files\PSPad\PSPad.exe"%1" %* ;(or the pathname of the file/editor).
And then ran it.
It didn't work, and created another problem for me. Now, none of my ahk sripts works When I double clicked any script it just opened the PSpad (not even the script that I double clicked, just the default new txt file). But when I right clicked an ahk script and selceted edit it still opened up in the notepad.  _________________ -Tru  |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Wed Mar 09, 2005 6:34 pm Post subject: |
|
|
Click:
Start > Run > 'regedit', press enter > Expand 'HKEY_CLASSES_ROOT' > Expand 'AutoHotkeyScript' > Expand 'Shell' > Expand 'Run' >>>
Double click the (Default) REG_SZ value to edit it.
Make it "C:\Program Files\AutoHotkey\AutoHotkey.exe" "%1" %* (default ahk) or the respective filename/parameter of your editor.
This works, I've changed it a couple of times. If you're still getting problems which I highly doubt, uninstall/install AutoHotkey. _________________
 |
|
| Back to top |
|
 |
tpatel5
Joined: 27 Oct 2004 Posts: 65 Location: GA
|
Posted: Wed Mar 09, 2005 6:57 pm Post subject: |
|
|
Thanks Titan
Now everything is working fine.
| Quote: | Code:
RegWrite, Reg_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Run\Command, , notepad.exe "%1" %* ;(or the pathname of the file/editor). |
Also I figured it out that it was Edit and not Run, that I needed to choose for the deafult editor problem.  _________________ -Tru  |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Wed Mar 09, 2005 7:06 pm Post subject: |
|
|
Sorry, I'm always making silly mistakes lol. _________________
 |
|
| Back to top |
|
 |
|