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 

How can I use Extras/Editors?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Sat Mar 05, 2005 4:00 pm    Post subject: How can I use Extras/Editors? Reply with quote

I know there are 7 folders(possibly for editors Confused ) 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? Sad
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sat Mar 05, 2005 4:07 pm    Post subject: Reply with quote

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. Cool
Back to top
Guest (tpatel5)
Guest





PostPosted: Sat Mar 05, 2005 4:35 pm    Post subject: Well... Reply with quote

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) Confused . Plz help.
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Sat Mar 05, 2005 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Sat Mar 05, 2005 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Sat Mar 05, 2005 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Sun Mar 06, 2005 12:08 am    Post subject: Reply with quote

Never mind,

I will be happy with my Notepad and AHK editor 1.20.
They work just fine Smile
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Sun Mar 06, 2005 12:38 am    Post subject: Reply with quote

Whatever floats your boat. Wink

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
View user's profile Send private message
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Wed Mar 09, 2005 5:39 pm    Post subject: Reply with quote

How can I make PSpad my default editor for AHK Question
_________________
-Tru Cool
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Mar 09, 2005 5:48 pm    Post subject: Reply with quote

tpatel5 wrote:
How can I make PSpad my default editor for AHK Question
Code:
RegWrite, Reg_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Edit\Command, , notepad.exe "%1" %* ;(or the pathname of the file/editor).
Edit: Tested Cool
_________________

Back to top
View user's profile Send private message Visit poster's website
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Wed Mar 09, 2005 6:23 pm    Post subject: Reply with quote

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 Shocked Shocked Exclamation Exclamation Exclamation 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. Sad
_________________
-Tru Cool
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Mar 09, 2005 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tpatel5



Joined: 27 Oct 2004
Posts: 65
Location: GA

PostPosted: Wed Mar 09, 2005 6:57 pm    Post subject: Reply with quote

Thanks Titan Smile

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. Smile
_________________
-Tru Cool
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Mar 09, 2005 7:06 pm    Post subject: Reply with quote

Sorry, I'm always making silly mistakes Embarassed lol.
_________________

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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