Jump to content

LSBT

Level 1
  • Posts

    9
  • Joined

  • Last visited

Posts posted by LSBT

  1. I needed a quick way to change text color inside a note using autohotkey. This works for me: changing text to red:

    #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.

    ; Use   alt-cntrl-R

    ^+R::
    Send ^{d}
    Sleep 500
    Send  !{c}
    Send {r}
    Sleep 500
    Send {Enter}
    return

     

    • Like 1
  2. I'm new to autohotkey.  Why does this send a D instead of a  control - D inside a note?   Thanks

    #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.

    ^+R::
    Send, {Ctrl}D
    return

     

×
×
  • Create New...