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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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

 
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 08:36 AM.

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

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