Re: UI Scripting of Acrobat Pro
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