Page 1 of 1

need help finding editing program

Posted: 17 Jun 2020, 08:37
by oliveboy123
I'm wondering if there is a program that allows for you to edit the code and then run it without going to the desktop icon

Re: need help finding editing program

Posted: 17 Jun 2020, 08:43
by Smile_
What kind of code? and what desktop icon?

Re: need help finding editing program

Posted: 17 Jun 2020, 08:44
by gregster
There are a number of editors which allow to run AHK scripts from the editor (some you might need to set up for it), and also debugging. Have a look here: https://www.autohotkey.com/boards/viewforum.php?f=60
CodeQuickTester by GeekDude is great for quickly testing AHK snippets, without having to worry about saving the code.

Re: need help finding editing program

Posted: 17 Jun 2020, 08:55
by mshafer1
I think what you're asking for is a script manager - I've seen a couple come across the forums, try doing a search.

One example:
https://autohotkey.com/board/topic/64156-script-manager/

Re: need help finding editing program

Posted: 17 Jun 2020, 09:00
by mshafer1
Otherwise, if you want to put hotkeys into your script to launch an editor and re-load the code, it might look something like this (untested)

Code: Select all

^RButton::
    ; run Notepad passing this script to edit
    Run, notepad %A_ScriptFullPath%
    Return

^+RButton::
   ; Tell Windows to run this script (causes a reload)
   Run, %A_ScriptFullPath%
   Return

Re: need help finding editing program

Posted: 17 Jun 2020, 09:17
by boiler
Smile_ wrote:
17 Jun 2020, 08:43
What kind of code? and what desktop icon?
AHK code. AHK script icon.

Re: need help finding editing program

Posted: 17 Jun 2020, 09:19
by boiler
mshafer1 wrote:
17 Jun 2020, 08:55
I think what you're asking for is a script manager
It would seem that gregster's interpretation of his request is correct.