Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 18, 2012, 01:09 AM   #1
mehdies
macrumors member
 
Join Date: Jun 2012
get focused window in desktop by kernel modules(kext)

Hi

Is there any way to get focused window in kexts? I mean,can i get active program's name in kernel space that user working with that in user space?

In user space we can use:

Code:
 [[NSWorkspace sharedWorkspace]activeApplication];
but i don't know in kernel space.

Thanks
mehdies is offline   0 Reply With Quote
Old Dec 18, 2012, 11:29 PM   #2
ytk
macrumors regular
 
Join Date: Jul 2010
I admit I know almost nothing about kernel programming, but my instincts tell me you're trying to do something very, very wrong here.
ytk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:58 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC