AutoHotKey Question

  • Thread starter Thread starter News Reader
  • Start date Start date
N

News Reader

I currently have one macro saved and running automatically each time I
start Windows. I recently created another macro, which I'd like to
auto-start as well. From my experimentation, it appears I will have
two green H boxes in my system tray if I do this.

Is there a way to get both, and possibly more, macros to run from
within one .ahk file?

Thanks for any help.

email: delete the news
 
Is there a way to get both, and possibly more, macros to run from
within one .ahk file?

Yes, each script (.ahk file) can have any number of hotkeys and hot-strings; simply merge
the two scripts together into one file. Be aware that only the top section of the
script -- the part that occurs before the first hotkey, hot-string, or Return -- will be
automatically executed when the script starts. Any other parts of the script must be
launched explicitly, such as by pressing a hotkey or typing a hot-string abbreviation.

By the way, since I don't monitor the ACF newsgroup daily, you might get a faster response
in the future if you post at the forum at http://www.autohotkey.com/forum/

Chris
 
it appears I will have
two green H boxes in my system tray if I do this.

As a side note--
If you'd rather not have the icon at all, add the line "#NoTrayIcon"
to your script. The Help file explains in more detail.

AutoHotKey is an amazing program. It's great even for a non-programmer
like me.
For instance,

:*:""::??{left}

gives instant smart quotes, with the cursor positioned for whatever
goes inside them.

Cheers,

Michael
 
For instance,
:*:""::??{left}

gives instant smart quotes, with the cursor positioned for whatever
goes inside them.

Oops--I just saw that the smart quotes show up as quotation marks, at
least in my browser. In reality though, they're smart quotes. : )

Michael
 
Back
Top