Re: How can i change a app position and size?
Re: How can i change a app position and size?
- Subject: Re: How can i change a app position and size?
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 26 Jul 2011 05:28:36 -0400
On Jul 26, 2011, at 1:02 AM, Jens Alfke wrote:
> On Jul 24, 2011, at 4:14 PM, Diego Alvarez Nogueira wrote:
>
>> How can i change a app position and size by Pid number?
>
> You mean resizing other apps’ windows? I think the only option is using UI Scripting, where you can send an app AppleEvents that generate fake user input events like clicks and drags. Look it up in the developer documentation.
Or use Apple's accessibility API directly. GUI Scripting is built on top of the accessibility API.
--
Bill Cheeseman - email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden