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

Similar Threads
thread Thread Starter Forum Replies Last Post
Passing a string(in user mode) to kernel kext(kext have a dynamic buffer) mehdies Mac Programming 0 Apr 28, 2013 01:22 AM
Kext: Replace kernel functions Codeaholic Mac Programming 3 Feb 21, 2013 01:03 AM
Program window opens outside of the desktop Sylon Mac Basics and Help 2 Oct 20, 2012 12:58 AM
How To Move Window To Another Desktop macNewbie02 MacBook Pro 8 Jul 22, 2012 02:20 PM

Forum Jump

All times are GMT -5. The time now is 01:27 PM.

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

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