• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UI Scripting of Acrobat Pro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI Scripting of Acrobat Pro


  • Subject: Re: UI Scripting of Acrobat Pro
  • From: KOENIG Yvan <email@hidden>
  • Date: Thu, 19 Jul 2007 14:10:31 +0200


Le 19 juil. 07 à 11:41:20, Rob Stott a écrit :


tell application "System Events" tell process "Adobe Acrobat Professional" … tell window 1 click button "Replace" end tell end tell end tell


...any suggestions and help much appreciated!

Thanks
Rob

Hello

Every times I meet a "click button" instruction which doesn't execute its duty, I use the free osax
XTools 2.0 available at:
<http://lestang.org/osax/XTool/XTool-2.0.dmg.tgz>


It's  really simple
In the tell System Events block I put:

set pSearch to get position of ¬
(get properties of UI element XYZ of window WWW)
my clickAt(pSearch)

The handler pSearch is:


-- ==================

on clickAt(p)
(* uses the free osax XTools 2.0 *)
click mouse p
end clickAt

-- ==================

And every times, it works.

Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Indesign CS2 Export Script (From: "Gahlla, Sunny" <email@hidden>)
 >UI Scripting of Acrobat Pro (From: Rob Stott <email@hidden>)

  • Prev by Date: Re: UI Scripting of Acrobat Pro
  • Next by Date: Re: Getting the URL
  • Previous by thread: Re: UI Scripting of Acrobat Pro
  • Next by thread: Re: Indesign CS2 Export Script
  • Index(es):
    • Date
    • Thread