Beas: Can I emulate a keystroke?
AnsweredI have 8 scrips in my calculation schema.
When I create a pre-calculation I have to press the Calculate button 3 til 5 times before everything is calculated correctly.
Question: Can I call a (re)calculate routine from a script?
or
Can I emulate this click on the Calculate button?
Regards,
John
0
-
Official comment
You can do it with a small customizing script
(in this window: Crtl + N + UIn debug protocol you can see the commands

The button have 3 objects
calc_b, calc_p and calc_t
you must create a script for every objectExample
// all 3 objects call function calculate
windowevent click calc_b
calculate()
end event
windowevent click calc_p
calculate()
end event
windowevent click calc_t
calculate()
end event
// global function calculate execute the calculation via post (behind the first calculation)
global function calculate
post=manualcalculate
post=manualcalculate
post=manualcalculate
post=manualcalculate
end event
Please sign in to leave a comment.
Comments
1 comment