Jump to content

Recommended Posts

hi i need a little help. i want to make the pause key to a different key like " q " but i don't know how to do it. i don't want to press the pause key cus its too far. and i wanted the scrip to pause when it first run.

this way it pause when i start the scrip but the pause is still the pause key

Global $Paused

HotKeySet("{PAUSE}", "TogglePause")

HotKeySet("{ESC}", "Terminate")

send("{PAUSE}")

i try it like this but it didn't work. it don't pause and it jsut keep running the scrip and '' q '' did nothing

Global $Paused

HotKeySet("(q)", "TogglePause")

HotKeySet("{ESC}", "Terminate")

send("{PAUSE}")

that don't work.

Edited by whoRu
Link to post
Share on other sites
  • Moderators

Look in the help file for a working example under HotKeySet()

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...