Jump to content

Trying to script a click in a Web Viewer or Web Page


This topic is 3062 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Filemaker 13 Pro Advanced. Mac Yosemite.

I'm pulling my hair out - maybe somebody can offer a suggestion before there is no more hair left.

I can't for the life of me figure out how to script a click in a web page or a web viewer. I have tried all of the following:

• Opening a web page outside of FM (in Safari) and trying to click in that window via:
     - AppleScript from w/i FM (get an Assistive Access error, even though I've allowed FM in Privacy & Security settings
     - Opening an Automator-created application via Send Event (can't choose the application)

• Opening the same page in a Web Viewer and trying to click via the same methods above. Same problems.

I've also searched the web for a couple days and haven't found anything that I can understand yet.

A few questions:
• Is there a standard, consistently-works method for scripting a click somewhere on the screen? (I can provide exact coordinates)
• Why do I keep getting Assistive Access problems even after I've allowed FM (and Automator) Assistive Access?
• There MUST be someway to launch an Automator application from FM - how do I get Send Event to work?

Thanks in advance for any help!!

Edited by owangolama
Link to comment
Share on other sites

This topic is 3062 days old. Please don't post here. Open a new topic instead.

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
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.