09-26-2012, 07:07 AM
Which line ?
My macro is this (A FUNCTION) -
I have tried both triggers -
!a"metapad" "metapad"
and
Also this previous trigger - !a"new file - metapad" "metapad"
But both give the same error -
ERROR CODE - Error in Function5: expected 2 arguments, not 1.
I think this error would be easy to sort out as it must be a coomon error known to u.
My macro is this (A FUNCTION) -
Function auto_caps_lock
int hwnd=val(_command)
ifk-(K 1) key K
wait 0 -WA hwnd
ifk(K 1) key K
I have tried both triggers -
!a"metapad" "metapad"
and
Also this previous trigger - !a"new file - metapad" "metapad"
But both give the same error -
ERROR CODE - Error in Function5: expected 2 arguments, not 1.
I think this error would be easy to sort out as it must be a coomon error known to u.