I am looking for Cocoa/Carbon API to enable me to switch between different application?
Something like when Command + Tab is pressed.
I dont need NSWorkspace launch application. I know this will bring application in focus and I can switch between application. I want to do something which system does.
Thank you!
Try these methods in NSWorkspace:
Just pass the name or url (created from the path) which is obtained from the first method, to the second or third respectively.