Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running count of macro triggering, cursor mileage, clicks
#4
I tried to do this with the following code:
str+ macro
str s
s.time("ddd',' MMM dd yyyy" "HH:mmConfuseds")
run "Z:\QM\Macro Log.txt" "" "" "" 16
act win("Macro Log - Notepad" "Notepad")
'C(VK_END)
outp macro
'T
outp s
'Y
'Af
's
'A{F4}


I intended to have the macro be assinged the macro that I wanted logged by placing a macr.getmacro function in the actual macro.
2 problems however:

First, I couldn't use the getmacro string to properly recognize the current macro (I think default "" populates the string with the macro open in the editor but notthe macro that is running.

Second, it kind of worked but kept on putting the same previous macro used over and over again in the log. Do I need a kind-of clear string phrase?

Thanks for your input!


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)