Re: UI scripting: how to click 'OK' in Photo-Paint
Re: UI scripting: how to click 'OK' in Photo-Paint
- Subject: Re: UI scripting: how to click 'OK' in Photo-Paint
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 17 Jul 2005 09:44:21 -0400
on 2005-07-17 8:43 AM, Wim Melis at email@hidden wrote:
> 'm trying to get a script working that applies Adaptive Unsharpening in
> Corel Photo-Paint 10. There's no AS support, so I made my first attempt at
> UI scripting.
>
> Most of it works now: I can open a file, activate the Adaptive Unsharp
> window, enter values, save and close the file. Problem is: once the Unsharp
> window is on screen, I can't find a way to activate the "OK" button to apply
> it.
In addition to activating the target application, as someone else suggested,
try this targeted at the button -- it often makes a difference:
perform action "AXPress"
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden