Jump to content

Recommended Posts

Posted (edited)

Here's my code:

******************************

#include <AutoItConstants.au3>

Opt("MouseCoordMode", 0)
Opt("MouseClickDownDelay", 10000)

WinActivate ("FileMaker Pro Advanced - [Sanskrit]")

MouseClick($MOUSE_CLICK_RIGHT, 100, 300, 0)

******************************

I'm expecting a submenu to appear as it does when I actually 'right click' in Filemaker -but it doesn't.

I think I'm missing something.  Any suggestions?

Thanks

Edited by bcmillerway
Posted

Jos, thanks for your suggestion.

Turns out the following does what I need.


#include <AutoItConstants.au3>

Opt("MouseCoordMode", 0)
;Opt("MouseClickDownDelay", 10000)

WinActivate ("FileMaker Pro Advanced - [Sanskrit]")

MouseClick($MOUSE_CLICK_RIGHT, 300, 300, 1, 1)

Send("{DOWN 6}")

Send("{ENTER}")

 

The 'Opt("MouseClickDownDelay", 10000)' was making the submenu appear after a 10 second delay which was why it didn't appear to be happening.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...