Floating window based actions

hello,

i just have some problem with floating window based actions.

what i like to do is:

  1. calling a plugin "Gain" from the AudioSuite menu in Pro Tools.
    (this causes a floating window to pop up on the screen)
  2. automatically hit the "render"button on the gain plugin window.
  3. close the floating window by hitting on the red circular button on upper lefthand corner,

i append a screenshot of my macro. this macro is not working constantly. i.e.. sometimes the window won't get closed and a mac-alert sound will be played. maybe due to the 2 click actions?

is there a smarter and more stable way to trigger buttons on floating windows?

thanks for your help.
johannes

Hi Johannes

Try to insert a pause before each mouse action.

\ Jimmy Hartington