DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: AutoIt instead of AHK for assignments OK?  (Read 5,989 times)

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
AutoIt instead of AHK for assignments OK?
« on: January 19, 2011, 01:27 AM »
Since I have way too much time on my hands I thought I might as well start learning something again.

What I'd like to know is can I do the AHK assignments in AutoIt instead?
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: AutoIt instead of AHK for assignments OK?
« Reply #1 on: January 19, 2011, 01:35 AM »
absolutely.  :up:

shmuel1

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 48
Re: AutoIt instead of AHK for assignments OK?
« Reply #2 on: May 28, 2012, 12:34 PM »
In AutoIt, you can use the HotKeySet function.
You can also use _IsPressed() together with #Include <Misc.au3>. This works a little differently.

See:
http://www.autoitscript.com/autoit3/docs/functions/HotKeySet.htm
http://www.autoitscript.com/autoit3/docs/libfunctions/_IsPressed.htm

Original address: https://www.donationcoder.com/forum/index.php?topic=25327.0