objective c - Use a not active application (background) -
is there way work minimized or not active applications? can open application, open , use another, , press button activate program?
for example, open application, open safari, press button (f1 or other), program copies nsstring
, pastes text field using in safari. know how make program need (copy , paste message when button pressed) when it's active somehow has done in background.
yes. application should provide "service". accessible contextual menus, services submenu of application menu, , can have hot key assigned. designed (optionally) receive selected data app invokes , (optionally) return new data replace selection or inserted @ insertion point if there's no selection.
see description of services os x human interface guidelines.
Comments
Post a Comment