Re: Noobie having trouble getting to first base..
Re: Noobie having trouble getting to first base..
- Subject: Re: Noobie having trouble getting to first base..
- From: David Hoerl <email@hidden>
- Date: Thu, 3 Jan 2008 11:58:25 -0500
Well, the whole issue of authentication was a big red herring.
Inserting TextEdit's PID obtained from running "ps -ael" from the
Terminal worked. So I looked again at my code to get the PID
(NSWorkspace based) and I was casting the NSNumber to a pid_t instead
of the integerValue of the NSNumber. Sigh. Real noobie behavior.
I would have thought AXUIElementCreateApplication() would return nil
or something with a bad process ID, bug obviously it doesn't - the
return value always has the appearance of something real.
Thanks so much for all the replies.
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden