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 

What's your favorite FREE text editor?
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
mobius



Joined: 08 Jun 2008
Posts: 15
Location: Dark Side of the Moon

PostPosted: Sat Jul 19, 2008 4:00 am    Post subject: Reply with quote

Deller,

I would highly recommend you use the F6 key to activate the NPP_EXEC
plugin, its alot easier to use and maintain, plus it supports the Console
plugin natively.

However if you Need the hotkey run ability of n++ to run the currently
active script, here's what you need to do:

Bring up the Run Dialog with F5, in the program name entry field put:
Code:
AutoHotkey.exe "$(FULL_CURRENT_PATH)"


Click on Save button and choose a title and hotkey combination, once
done click ok and click run! to test it.

The $() Token is part of a large list of internal functions and commands
found in n++. Easiest way to find out these is to bring up the console:

Plugins-NppExec-Show Console Dialog

Then simply type help into the console.

If you need to remove Run items, manually edit shortcuts.xml in n++ dir.
Cool
_________________

The Light That Burns Twice As Bright Lasts Half as Long.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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