In order to standardise numerous functions like 'Edit new file' or various cut/paste functions for many different applications, I tried to add key macros to Skrommels "ShiftOff" program which is automatically run at startup
This works fine for all programs EXCEPT MSWORD! In MSWORD 2000, no programed key macros work when following code is added to CAPXShft.ahk
_______________________________________________________
CODE:
Progchk:
WinGetActiveTitle, ActiveTitle
; MsgBox , 0, Warning, ActiveTitle is "%ActiveTitle%" /I_Editor=%I_Editor%, 5
IfInString, ActiveTitle, soft%A_Space%Word
Goto msWord
IfInString, ActiveTitle, PowerDesk
Goto PwDeskAct
IfNotInString, ActiveTitle, %I_Editor%
Return
_______________________________________________________
It works fine with powerdesk & EditPad Pro, but the macro section, when coded as a stand-alone exe also doesnt work in MSWord.
Is there some error in programming?
I have included a trimmed down version of CapXShft as a downloaded ZIP file
TWmailrec
TWmailrec@aol.com








Logged




Hi, TWmailrec!