[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: netbooks, keyboards, old-fashioned Xy4 DOS



Carl wrote:
> I've been using Autohotkey for about 8 years, and have nothing
> but praise for it. Free from autohotkey.com

How well does it coexist with XyWrite's KBD file? Within XyWrite,
which takes precedence for a given key, the Autohotkey assignment or
the XyWrite assignment?
I'm glad you asked, because I should have added that. I have it turn itself
off whenever Xy is the active Window. Here's the relevant portion of the
script:

SetTimer, WatchActiveWindow, 100 ; timing

WatchActiveWindow:
  If WinActive("XyWrite")
    Suspend On
  else if not GlobalSuspension
    Suspend Off
Return

Pause:: ; Set Pause button to toggle a suspension globally, not just in XyWrite
  Suspend Toggle
  GlobalSuspension:=not GlobalSuspension ; toggle the flag, too
Return
I actually use a longish disjunction in the IfWinActive line, to cover NotaBene and cmd.exe, but I omit that here for reading ease.


Harry Binswanger
hb@xxxxxxxx