Jump to content

Search the Community

Showing results for tags 'map one key to another'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 1 result

  1. Greetings, What I am trying to do is very simple: Map one key (such as "S") to another (such as "NUMPAD5")... however I cannot find a more simple way to achieve than this: If (_IsPressed('53', $dll)) Then Send ( "{NUMPAD5 DOWN}") EndIf If Not (_IsPressed('53', $dll)) Then Send ( "{NUMPAD5 UP}") EndIf This works but there has got to be a less redundant way to do this. HotKeySet seems to only work with functions, otherwise it would be amazingly simple! Anyway, any help would be appreciated. Thanks! Edit: It seems the send commands are being continually sent which is compromising the efficiency of the script. I could add a $Num5 = 'Down'/ 'Up' to only send when it it pressed or not, but again, is there a less redundant way of achieving this?
×
×
  • Create New...