Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

274
Views
How do I click a dialog button in MS Word on MacOS via Apple's Javascript for Automation?

I'm looking to click dialog boxes that appear in MS Word by using Apple's JXA automation tooling.

I'd like to click on the following dialog boxes:

Word found unreadable content in Do you want to recover the contents of this document? If you trust the source, click Yes

Word detected and repaired the following errors. To view each repair...

I'd like to click Yes on the first one, and close on the second one.

For context, I'm looking to extend the docx2pdf library in order to automatically skip these dialogs when converting a file to PDF. Right now, there are some manual clicks required due to these dialogs that I would like to fully automate.

What is the JXA code that I would need to automate this task?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!