title: Clicking on an unknown UI element
body: <p>I have located an UI element which actually is a button, but shows up as AXUnknown.</p>
  
  <p>The window is show in the following link:
  <a href="http://s8.postimage.org/p7123rw85/screen.png" rel="nofollow">http://s8.postimage.org/p7123rw85/screen.png</a></p>
  
  <p>Using the command click doesn't work, so I thought I'd try something different.</p>
  
  <p><strong>What I have tried:</strong></p>
  
  <p>From this element I can get the position of the element by doing a:   <code>get value of attribute "AXPosition"</code></p>
  
  <p>And then I could use the coordinates that I get from this to click on the unknown UI element by using the <code>click at</code>command.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I have now also tried using the <code>perform action "AXPress" of</code> command also.</p>
  
  <pre><code>tell application "System Events"
  
      tell process "SomeProcess"
  
          if (exists window "SomeWindow") then
  
              perform action "AXPress" of UI element 3 of UI element 6 of window "SomeWindow"
  
          end if
      end tell
  end tell
  </code></pre>
  
  <p>This does nothing and Im running out of ideas. Does anyone have any experience with this issue or know if this simply isn't possible to accomplish? </p>