Re: Hello, List!
Re: Hello, List!
- Subject: Re: Hello, List!
- From: "Sean McBride" <email@hidden>
- Date: Tue, 27 Nov 2007 12:14:04 -0500
- Organization: Rogue Research
On 11/27/07 10:07 AM, ghe said:
>Is there a way to programmatically position the mouse cursor from a
>Cocoa class, or do I need to reach down to Quartz for this? And if I
>do, is there an easy way to translate between coordinate systems?
Pretty sure there is nothing in Cocoa.
>Is it better to launch things in the /Applications folder with an
>Applescript or to use the NSTask class (or is there a better way)?
Best way is to launch it using NSWorkspace's
launchAppWithBundleIdentifier:options
:additionalEventParamDescriptor:launchIdentifier:
That way you don't need to know where it is on disk, just it's bundle
identifier, which should never change.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden