public
Description:
Homepage:
Clone URL: git://github.com/jessegrosjean/quickcursor.git
commit  a0a942b668bfb10b356d7e298febe3f2b6b6f0b5
tree    3f2e8afb717d64a4b24c8d3e1c7c8453f6dca157
parent  e94354c40e8ac62291e296b9cf9d68676870ed33
name age message
file .gitignore Tue Aug 26 12:14:01 -0700 2008 first commit [jessegrosjean]
file CrashReporter.h Mon Oct 05 08:10:50 -0700 2009 added software update, crash reporting, fixed s... [jessegrosjean]
file CrashReporter.m Tue Oct 20 08:40:16 -0700 2009 fixed accented characters showing up on keyboar... [jessegrosjean]
directory English.lproj/ Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
file Markdown.pl Mon Oct 05 08:10:50 -0700 2009 added software update, crash reporting, fixed s... [jessegrosjean]
file NSAppleEventDescriptor-Extensions.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file NSAppleEventDescriptor-Extensions.m Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file ODBEditor.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file ODBEditor.m Mon Oct 12 09:01:55 -0700 2009 better temp file names [jessegrosjean]
file ODBEditorSuite.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTHotKey.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTHotKey.m Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTHotKeyCenter.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTHotKeyCenter.m Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTKeyCodeTranslator.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTKeyCodeTranslator.m Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTKeyCodes.plist Mon Oct 05 08:10:50 -0700 2009 added software update, crash reporting, fixed s... [jessegrosjean]
file PTKeyCombo.h Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file PTKeyCombo.m Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file QCAppDelegate.h Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
file QCAppDelegate.m Tue Oct 20 08:40:16 -0700 2009 fixed accented characters showing up on keyboar... [jessegrosjean]
file QCUIElement.h Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
file QCUIElement.m Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
file QuickCursor-Info.plist Mon Oct 12 09:01:55 -0700 2009 better temp file names [jessegrosjean]
file QuickCursor.icns Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
directory QuickCursor.xcodeproj/ Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
file QuickCursor_Prefix.pch Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file README.txt Thu Oct 01 15:15:30 -0700 2009 removed bit about not working with BBEdit, it d... [jessegrosjean]
directory Sparkle.framework/ Mon Oct 05 08:10:50 -0700 2009 added software update, crash reporting, fixed s... [jessegrosjean]
file StatusItemIcon.pdf Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file StatusItemIcon.png Mon Oct 12 07:01:31 -0700 2009 commit for 14 release [jessegrosjean]
file main.m Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file release_notes Tue Oct 20 08:40:16 -0700 2009 fixed accented characters showing up on keyboar... [jessegrosjean]
directory shortcutrecorder-read-only/ Thu Sep 03 13:26:23 -0700 2009 new version of quick cursor [jessegrosjean]
file sparkle_dsa_pub.pem Mon Oct 05 08:10:50 -0700 2009 added software update, crash reporting, fixed s... [jessegrosjean]
README.txt
About:

QuickCursor is menu item that allows you to edit text from any application in your favorite text editor*. Unlike custom 
“edit in” plugin solutions QuickCursor provides a standard open source solution that uses public API's and doesn’t requir
e input manager hacks to work.

QuickCursor works by reading a string value from the source application via the current AXUIElement. Next it sets up a 
ODBEditor session with the preferred editor. When the preferred editor modifies the string QuickCursor writes that value 
back into the source application via the AXUIElement.

Todo:

- Doesn't work with Mail.app. Mail.app's text area is a AXWebArea. It seems that the default kAXValueAttribute doesn't 
work for reading and writing AXWebArea's text. Need to find out how to read write text from AXWebArea and handle as a 
special case.
- String is written back into source application with [QCUIElement setValue:]. This generally works, but it seems to 
change the value behind the scenes... this can mess up undo stacks and such in the destination app. Needs to be some 
documentation that describes how the source app can be made aware of these changes and how to custom handle them.

Thanks,
Jesse Grosjean
jesse@hogbaysoftware.com