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: Wim Melis <email@hidden>
- Date: Mon, 18 Jul 2005 02:43:04 +0200
Thanks for the replies, alas: no luck yet.
>> '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. Problem is: once the Unsharp window is on screen, I can't find
a way to activate the "OK" button to apply it.
> I don't own the app so I can't check but it may be useful to activate
> it before calling GUIscripting.
> tell application "corel photo-paint 10"
> activate
> end tell
Did that...
> try this targeted at the button -- it often makes a difference:
> perform action "AXPress"
And that too...
No luck in both cases.
I just did some quick first testing with 'extra suites', first results are
promising. I think it can generate a better-working click than UI scripting
can, but I'll need to do some more testing - it's an unelegant solution
though, such a simple thing shouldn't need another program to chip in.
Other more elegant ideas are extremely welcome!
Wim
--
email (home): email@hidden
email (office): email@hidden
http://www.noorderlicht.com * Noorderlicht photofestival
_______________________________________________
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