Jump to content

User defined shortcut keys do not work

Recommended Posts

I'm trying to add a user shortcut key to display the calltip for the word I'm on, but nothing works.

Here's what I did:

I added these lines:

# User defined key commands









to these files:



C:\Program Files\AutoIt3\SciTE\SciTEUser.properties

C:\Program Files\AutoIt3\SciTE\SciTEGlobal.properties

When I restart the editor and try again, the Alt+F1 doesn't do anything. I've tried other shortcut key combinations (Ctrl+B, etc.), but none of them worked.

I've searched this forum, and I Googled it, but none of the suggestions worked.

Is there something else I need to change?

Link to post
Share on other sites
  • Developers

You are missing a verticalbar.

This works for me when added to SciTEUser.properties:



Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Link to post
Share on other sites

Thanks. I fixed that, but it still didn't work.

I'm in the editor and the caret is on the "M" of

MsgBox(, $title, $str)
and I press Ctrl-B and nothing happens.

Perhaps you could set it up like I have it. I moved the "user.shortcuts" lines to the END of the 2 properties files, with a blank line following them. Also, I wasn't sure where to put the properties files, so I copied both files to both directories. Could this make a difference?

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.

  • Similar Content

    • By Colduction
      Hi AutoIt Programmers!, I just looking for a way to change entered keys in English to Russian keys and reverse, i must clear for you to understand. For example:
      I write keys on keyboard and i forgot to change input language and then the result will be: Dkflbvbh (Thing we write in fact) ====> Владимир (Thing we want)
      And reverse: Владимир  ====> Dkflbvbh

      Is there any solution without writing constant for each words? for example dlls or WinAPIs.
    • By sosimple
      Is this possible with autoit?
      What I want to do:
      Create a Desctop windows shortcut to run an executable application created with autoit, which shortcut would have some parameters which will send as a variable to the aplicagion .
      For example:
      Create an app : ExampleAppCreatedByAutoit.exe
      Run this with a shortcut which has:  "C:/ExampleAppCreatedByAutoit.exe" -option1
      What I want to do is the ExampleAppCreatedByAutoit.exe take the option1 and do something like this: Shellexecute("c:\myfolder\option1.exe")
      Can I do that?
    • By ternal
      The FAQ proposed as a solution to keys getting stuck  to do this command
      ControlSend("", "", "", "text", 0) However this sends "text" to the last active control if I am not mistaken.I have tried this with
      controlsend("", "", "", "{altup}{shiftup}{ctrlup}", 0) This is already a lot better but still fails 1/10
      I cannot allow the script to send "text" to the last active control, and its a bit silly to let it send to somewhere where its harmless no?
      Are there any other methods of unstucking keys?
    • By nacerbaaziz
      hi dears, i have an question please if you can help me.
      i maked an program to do some functions
      and this program works with the global hot keys
      i added an option to the users to change the hot keys
      when i searched about how to do that i found this UDF
      but the problem here that this UDF cant be detect the win key.
      can you help me to add it, or if there are any others UDFSS wich do that work please give me some.
      i hope that my question is clear for you.
      thanks in advance
    • By Gaffgarion
      i found this script by melba23 and its exactly what i wanted > link
      #include <Misc.au3> #include <MsgBoxConstants.au3> Local $hDLL = DllOpen("user32.dll") HotKeySet("{q}","_Start") ; Fire HotKey on q key HotKeySet("{ESC}", "_Exit") While 1 Sleep(10) WEnd Func _Start () ; Look for w key If _IsPressed("57", $hDLL) Then ; Only action if BOTH pressed MsgBox($MB_SYSTEMMODAL, "", "Got it") EndIf EndFunc Func _Exit() DllClose($hDLL) Exit EndFunc  
      if im not wrong, if i hold q key first and then press w key, then the output will be messagebox that says "got it"
      but when i tested it, it doesnt do anything.
      but if i reverse the order, hold w key first, and then press q key, it works.
      now i dont know why is this happen, or is this how this script supposed to do? or there's something wrong?
      thank you.
  • Create New...