RE: UI Scripting of Acrobat Pro
RE: UI Scripting of Acrobat Pro
- Subject: RE: UI Scripting of Acrobat Pro
- From: "Stockly, Ed" <email@hidden>
- Date: Thu, 19 Jul 2007 11:15:27 -0700
- Thread-topic: UI Scripting of Acrobat Pro
Rob, I've found that Adobe's dialog buttons and fields don't respond well
when told things from system events, so here is the routine I use for "save
as" and replace:
tell application "Adobe Acrobat 7.0 Professional"
activate
delay 1
keystroke "s" using {command down, shift down}
delay 1
--keystroke "name of new file"
delay 1
keystroke "s" using command down
delay 1
keystroke "r" using command down
end tell
end tell
HTH,
ES
( This works 7.0, good luck in 8, if you try it, let us know if it works. )
On 7/19/07 2:55 a.m, "email@hidden" wrote:
>
> tell window "Save As"
> click button "Save"
> end tell
>
> --works fine up to here, where I want to click the 'Replace" button
> to overwrite the old file
>
> tell window 1
> click button "Replace"
> end tell
>
>
> end tell
> end tell
>
_______________________________________________
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