I\'m trying to figure out the ObjC code needed to detect whether a user in OSX is inputing text into a text field/area or not.I\'d like to provide special keybindings and text expansion if they are. I
I’d like to know how can I do a simple assembly program for Mac OS X that shows a window on the screen and put some coloured text on that window. The code may call some Carbon or Cocoa APIs. I need s
In my application, I need to map a shortcut to the key to the left of the \"1\" key on the keyboard. On a standard US keyboard, this would be the backtick character (\" ` \"), which is key code number
I have the following code: FSRef FileRef; OSStatus Error = ::FSFindFolder(kUserDomain, kApplicationSupportFolderType, kCreateFolder, &FileRef);
I\'ve pored through most of the posts regarding the creation of Global Hotkeys using Carbon. Is it possible in the hot key handler function to return eventNotHandledErr and have the event passed on to
I would like to add a new item to the Finder sidebar. I found out that the Finder keeps the list of \"places\" in `~/Library/Preferences/com.a开发者_高级运维pple.sidebarlists.plist. I was able to read
How can I compare two CFUUIDRefs from the CoreFoundation Carbon framework in Mac OS X? Is there an easier way to check if two CFUUIDs are equal other than converting them to string开发者_C百科s and th
I hope someone will be able to help me since this issue is killing my productivity.. One week on this even if I am quite new to Mac development.
I\'ve successfully got a demo app intercepting keyboard events.开发者_如何学Go Here\'s the handler for them.
I\'m currently working on a Backup Application, and I have received a lot of requests for features to be added recently, and the top one of them is adding a checkbox like \"Back Up when on Battery Pow