Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TS Menus not triggering
#13
Back to this question...
I tried recording some keystrokes and mouse clicks in notepad, but it didn't record the keystrokes right. I thought it might be because of unicode, so I turned unicode off. It should be,
abcdef
ghijkl
<click maximize/restore button>
in both cases. It maximizes the window, but doesn't type the letters I did. Here is what it recorded:
Macro My First Macro2
Trigger SF9     Help - how to add the trigger to the macro
Code:
Copy      Help
;---- Recorded 2/4/2013 10:28:32 PM ----
int w1=act(win("Untitled - Notepad" "Notepad"))
'(255)(194)(255)(194)(255)(194)Y  ;; (255) F15 (255) F15 (255) F15 Enter
'(255)(194)(255)(194)(255)(194)Y  ;; (255) F15 (255) F15 (255) F15 Enter
lef 834 9 w1 ;;push button 'Maximise'
;---------------------------------------
;;---- Recorded 2/4/2013 10:24:58 PM ----
;int w1=act(win("Untitled - Notepad" "Notepad"))
;'(255)(194)(255)(194)(255)(194)Y  ;; (255) F15 (255) F15 (255) F15 Enter
;'(255)(194)(255)(194)(255)(194)Y  ;; (255) F15 (255) F15 (255) F15 Enter
;lef 1133 17 w1 ;;push button 'Restore'
;;---------------------------------------


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)