Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restores the CapasLock key state
#8
The problem was solved  Smile
Release the S key
Add a delay

    key ESH
    _s.getsel
    _s.trim
    if !_s.beg("'") and !_s.beg("''")
        _s=F"'{_s}'"
        _s.setsel
        key- S
    else if _s.beg("'")
        _s.findreplace("'" "''")
        _s.setsel
        key- S
    else if _s.beg("''")
        _s.findreplace("''" "")
        _s.setsel
    0.2
    key S ;;CapsLock turn off


But the order of logical execution is reversed, Why?


Messages In This Thread
Restores the CapasLock key state - by Davider - 09-03-2022, 10:50 PM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 05:17 AM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 05:42 AM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 08:55 AM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 10:40 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)