Skip to main content
Question

AutoHotKey Question

  • November 18, 2021
  • 2 replies
  • 887 views

Burak

Hello,
I’ve written a script to change Figma shortcuts.
But Ctrl+1 works, Ctrl+Space is triggered but not triggered by Figma.
Any idea why?
here is the script:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance,Force 
#Persistent ;keep this script runs all the time
SetTitleMatchMode, 2 ; This let's any window that partially matches the given name get activated

WinActivate, Figma
#IfWinActive, Figma

^1::
  Send +0 
  return

^space:: 
  Send ^/
  return

#IfWinActived

thank you

This topic has been closed for replies.

Stefan_Abrahamsen

No answer to the autohotkey problem, but it seems you want to rebind ctrl+/ to ctrl+space for use with quick actions. But you can use ctrl+P instead.
I assume you want to rebind because of a non-US keyboard. Hope this will do as a workaround.


  • December 26, 2021

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings